usharerose opened a new issue, #6250:
URL: https://github.com/apache/incubator-devlake/issues/6250

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Here are two issues in Jira with issue key DEVLAKE-1 and DEVLAKE-2, for 
example. There is a relationship between them that DEVLAKE-1 split to DEVLAKE-2.
   
   Found that
   * in `_raw_jira_api_issues`'s `data` field, the `issuelinks` are completed 
for both two issues in `outwardIssues` or `inwardIssues`.
   * However, in `_tool_jira_issue_relationships`, for the record of inward 
issue DEVLAKE-1, the value of `outward_issue_id` and `outward_issue_key` are 0 
/ null, which expects to DEVLAKE-2 related.
   * And in `issue_relationships`, there is a record for DEVLAKE-2 to 
DEVLAKE-1, but no DEVLAKE-1 to DEVLAKE-2.
   
   plus,
   * found that there are two duplicated records for DEVLAKE-2 to DEVLAKE-1 in 
`issue_relationships`
   
   ### What do you expect to happen
   
   1. There should be a record for DEVLAKE-1 to DEVLAKE-2
   2. There should be only one record for DEVLAKE-2 to DEVLAKE-1
   
   ### How to reproduce
   
   collect data from Jira data source, and found a issue with relationships to 
other issues
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.19
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to