I have created invoice generator addon for Jira cloud (https://helloclerk.io/) and I have faced with some Tempo API limitations.
For example, I need to import all company developers time for one month (say, we have 20 developers) and apply the hourly rate for developers to that time. So I need to make 20 paginated requests to /worklogs/user/{accountId} from my server. And my customer needs to sit and wait until time import will be finished for the invoice he is currently creating.
I think all improvements could be applied just to /worklogs endpoint, and should be really easy to implement:
Ability to filter worklogs by multiple Jira user IDs (like we can do for projects)
⚠️ Ability not to get error from the API if one of projects or users is not found by Tempo. Just ignore them. Like we can do with JQL issue search in Jira Cloud API (they have a flag not to validate the query). Because the user or project may be deleted, but the invoice with them still exists, and we may reimport time for that invoice some day. Example: currently, when I send an array of projects to /worklogs and one of that projects was deleted, Tempo returns error (I think it is 404, I don’t remember now) for the entire request, and I want that it will just ignore non-existent project and return worklogs for existing projects in the query.
Hope you could implement these improvements soon.
Thanks a lot! 🙏
Tempo Products | Tempo Timesheets |
Tempo Platform | Cloud |
was going to create a very similar idea!
I would also like to see the ability to add returnable fields like email.
Thanks, Hlynur!
Looking forward for good news! :)
Thanks for the feedback!
I'll run this by the team to see if this is feasible - until then I'm updating this idea to Future Consideration
Cheers,
Hlynur Johnsen
Product Manager - Tempo for Jira