Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,779
Community Members
 
Community Events
168
Community Groups

How to get Tempo Workload scheme via REST API?

Hi,

is it possible to get the workload scheme for an user?

 

Best regards

 

5 answers

And how does it work to get workloadscheme members?

rest/tempo-core/1/workloadscheme/{id}/members

does not work. 

baseurl/rest/tempo-core/1/workloadscheme/users/{schemeId}

Like Sam likes this

Thank you for mentioning this, @Michel Tremblay [Adaptavist] ! Do you know where I could find documentation on this?

Additionally, do you know if there's an API that would add a user to a workload scheme?

Yes, It is possible to get workload scheme through REST API:

1) get all schemes: Your-JiraInstance/rest/tempo-core/1/workloadscheme/

2) get particular schemes: Your-JiraInstance/rest/tempo-core/1/workloadscheme/{id}/

1) get all schemes: /rest/tempo-core/1/holidayscheme

2) get members for each schemes: /rest/tempo-core/1/holidayscheme/${scheme.id}/members

I need the same...

This is for getting the worklogs, not the workload scheme.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events