Hello, in my application i download issues and corresponding worklogs from Jira. It was slow but worked nicely till few weeks ago.
All issues are downloaded correctly but when i try to get the worklogs i get this:
{"self":"https://api.tempo.io/core/3/worklogs/issue/XX-123?offset=0&limit=50","metadata":{"count":0,"offset":0,"limit":50},"results":[]}
Checking the website i can clearly see worklogs on the issues but when i try to download them i get none.
I tried using different users or give the users more rights and also to regenerate the Tempo API Integration token.
Or to use the same jira user for the api who created the worklogs.
Only change i made was to replace the logic how i get access and refreshtoken from the response. I used regex (dont ask me why) and changed it to deserializing the json from the response into a object and using the properties.
Ideas and some help would be very welcome.
Edit:
This downloads some worklogs of some issues but not of the issues i want the worklogs.
worklogs?updatedFrom=2023-01-01&offset=0&limit=1000
Found the mistake.
The jira user who was used for the Tempo API Settings (Apps\Tempo\Settings\API Integration and OAuth 2.0) was removed from certain projects.
So as a consequence the worklogs of this projects where invisible to the API GET because permissions work as designed.
Really cool that you found the problem on your own, @Roland Eisenhuber 😎
And thank you for sharing the solution with the community!
Best,
-dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.