Update replies metrics to fit proper Zendesk definition #102
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Overview
This PR will address the following Issue/Feature: [#99]
This PR will result in the following new package version:
10.3. Not breaking; no field names are changed in the final end model, just the logic derived to compute the values of the field.
Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR: Fixed the
total_agent_replies
field inzendesk__ticket_metrics
so the value is derived from public agent comments logic, and also ignores ticket creation comments from an agent, matching the Zendesk definition.PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:
Before marking this PR as "ready for review" the following have been applied:
Detailed Validation
Please acknowledge that the following validation checks have been performed prior to marking this PR as "ready for review":
The original field we were pulling for replies was incorrect, so we modified the logic so that it accurately reflected the definition in Zendesk:
So there are two scenarios to account for:
Tracking several individual tickets in our internal data that followed either of these scenarios, then testing the entire end model as a whole that these two cases held, provided the necessary validation that our fix solved this issue.
The proper queries for validating these two scenarios are provided in Height.
Standard Updates
Please acknowledge that your PR contains the following standard updates:
dbt Docs
Please acknowledge that after the above were all completed the below were applied to your branch:
If you had to summarize this PR in an emoji, which would it be?
💬