[Bug][Jira] Worklogs are not always imported completely
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
It seems that Worklogs are not always imported completely. In many cases, I see only the first page of Worklogs collected (20 items). I think that the expectations of this logic may not be met when the Worklogs are extracted from the Issue:
https://github.com/apache/incubator-devlake/blob/main/backend/plugins/jira/tasks/worklog_collector.go#L72
Additionally, I see cases where Epics have no Worklogs. I suspect that this may be due to the order of Tasks where Worklogs are extracted before Epics are collected. This is just a guess however.
What do you expect to happen
All worklogs are imported from issues.
How to reproduce
- Attempt to import an Issue with more than 20 Worklogs.
Anything else
No response
Version
v0.21.0-beta5
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
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.
Sorry for the late reply, will look into it ASAP