incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Bug][DevLake Domain Model] issue_comments.issue_id does not match issues.id

Open allthecodes opened this issue 9 months ago • 1 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

What happened

As per the documentation for the data model, issue_comments.issue_id is a foreign key of issues.id, however the after transformation, the issues_comments.issue_id is not the fully qualified id, eg: jira:jiraIssue:1:10000, but just the raw issue id - e.g: 10000.

What do you expect to happen

issue_comments.issue_id should match issues.id for it to be a foreign key.

How to reproduce

v1.0.2-beta8 - a new normal pipeline will reproduce the issue.

Anything else

No response

Version

v1.0.2-beta8

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

allthecodes avatar May 31 '25 18:05 allthecodes

Upon further analysis, I can't reproduce this - however its worth noting that Comments aren't being pulled into the domain layer in the latest beta.

allthecodes avatar Jun 01 '25 01:06 allthecodes

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Aug 01 '25 00:08 github-actions[bot]

This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.

github-actions[bot] avatar Aug 09 '25 00:08 github-actions[bot]