dosubot[bot] commented on issue #8198: URL: https://github.com/apache/incubator-devlake/issues/8198#issuecomment-2486272257
<!-- Answer --> I found a similar closed issue that might be related to your problem: [Bug][jira] Jira issue extractor produces records less than expected](https://github.com/apache/incubator-devlake/issues/4709). This issue was closed, but it might provide some insights into the behavior you're experiencing <sup>[[1]](https://github.com/apache/incubator-devlake/issues/4709)</sup>. Regarding your specific issue, it seems like the incremental data update process in Apache DevLake's Jira plugin might be affecting the records in the `issues` table. The process involves using a `StatefulApiExtractor` that, when in incremental mode, deletes existing records related to the issue in the `JiraIssueLabel` and `JiraIssueRelationship` tables before processing new data. This is intended to ensure that any changes to labels or relationships are accurately reflected in the database <sup>[[2]](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/jira/tasks/issue_extractor.go)</sup>. Given the discrepancy between the `_raw_jira_api_issues` and the other tables, it might be worth investigating whether the deletion process is affecting more records than intended. Additionally, consider checking if there are any specific configurations or settings that might be influencing this behavior. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- 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]
