-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] jira__daily_issue_field_history
incorrectly joins component fields to jira.field_option
instead of jira.components
#79
Comments
Thanks so much for opening this issue @agibralter and for working with @fivetran-jamie within the linked Slack thread to uncover the root issue you are experiencing. I do feel there is a bit more for us to scope out to understand if there are any other pieces within the |
Summarizing what we understand so far:
|
Hello @agibralter ! We have deployed a fix for this issue in our latest release of the branch! Can you test and see if this newest version of the package correctly joins the component fields from |
@agibralter One mistake by me: I forgot to add the above specified variables to |
@fivetran-avinash Hi! I was finally able to upgrade my packages and test this out. Am I supposed to see the names of the components now in the |
Hi @agibralter thanks for testing out the latest version of the package! Unfortunately when implementing this update we realized this was much more complex than we initially understood. The changes we rolled out ended up breaking other users implementations of the package. 😨 As such, we rolled back these changes and kept this issue open. We are planning to come back to this issue in our next sprint to take more time assessing the scope of the changes and ensure we are able to resolve the initial component bug while ensuring we do not interrupt existing users workflows. When the time comes that we have a working branch available, we would love if you would be willing to test and validate you are getting the expected results once it is available. We really appreciate your patience as we work through this issue. |
Ahh ok, no worries!! Please keep me posted. |
Hi @agibralter, we believe we've identified a solve for the components issue.This isn't live yet on main, but we do have the newest version of the Here's the code you need to paste into your packages.yml:
|
@fivetran-avinash ah thank you!! I set it up and it seems to be working in cases where an issue has a single component selected. However, this is a one-to-many relationship in Jira so an issue can have multiple components selected. When that happens, the ids of the components are left: |
Hi @agibralter , that is something we discovered near the end of our bug process and we've created an additional issue to address this (it seems to be impacting other fields with multiple values too), so we're hoping to have this fixed in a coming sprint. We'll keep you updated when this is deployed so you can test this as well! Just out of curiosity, how analytically valuable is it to have the component names? We're a bit wary of doing string aggregations so we want to be sure this would be useful to switch up. |
@agibralter This current fix is now live in our latest release of |
@fivetran-avinash the issue with the multiple values is still open and being addressed separately, correct? |
@agibralter correct Issue #101 dives into the multiple values component that was uncovered in this issue. |
Is there an existing issue for this?
Describe the issue
When you include
Components
(or other multi-select fields that do not store options injira.field_option
but rather in their own special tables likejira.component
),jira__daily_issue_field_history
incorrectly tries to expand the field values by joining onfield_option
for all fields.Relevant error log or model output
No response
Expected behavior
The models should handle the "special case" fields like
component
and join on the correct table.dbt Project configurations
Package versions
jira
0.8.0
What database are you using dbt with?
bigquery
dbt Version
1.0.0
Additional Context
https://getdbt.slack.com/archives/C01D1R2JLLA/p1670436806950859
Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: