How can i "get" planned items for all jira users easily?

Andrei Vala October 15, 2019

Hello, 

Im a bit new to the way tempo api's work. Im interested in calling all planned items for all users in Jira in a specified period. 

I have managed to pull data for multiple individuals, but i couldn't find a parameter for " assigneekey" where it would get planned items for ALL users.

I have managed this already for timesheets, however, not for planned items.


Thank you in advance

1 answer

0 votes
Susanne Götz _Tempo_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 16, 2019

Hi @Andrei Vala

There is currently no Tempo REST API that returns all plans made by all users in the system in a single call similar to the Get worklogs Servlet that can be used for worklogs.

The API http://{JIRA_BASE_URL}/rest/tempo-planning/1/allocation

can return the plans for all users that are in teams where you have the View team plans permission but you will need to add every user as parameter to the call ( http://{JIRA_BASE_URL}/rest/tempo-planning/1/allocation?assigneeKeys=john&assigneeKeys=jessie&...

Regards,
Susanne Götz
Tempo team

Andrei Vala October 22, 2019

Thank you @Susanne Götz _Tempo_  for the fast response :)

 

Kind regards

Suggest an answer

Log in or Sign up to answer