Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Getting the billing rate for worklog via REST-API

Vinzenz Mennicke October 10, 2016

Is there a recommended way to get the rate for a given worklog through the REST-API? Each account has projects which are worked on by teams which have roles and each user has an assigned role, which in turn has a billing rate attached to it. Unfortunately this information is spread out across multiple resources, so I'm not really sure how to make the connection from worklog to billing rate. Is this something someone has already done and might be able to help me out here?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Sigrún Arna Sigurðardóttir
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 11, 2016

Hi Vinzenz,

You can use either

/rest/tempo-timesheets/3/report/account/{accountId}/revenue

or

/rest/tempo-timesheets/3/report/account/{accountid}/timeandexpenses

this will return all worklogs with rate for account on a specific period, both of the REST API call use dateFrom and dateTo as query parameters 

I hope this helps.

 

Best regards,
Sigrún
Tempo 

Vinzenz Mennicke October 14, 2016

Hey Sigrún,

that helps very much, thank you!

Nik Friedman TeBockhorst February 20, 2017

This doesn't seem to work in the latest API. @Sigrún Arna Sigurðardóttir

TAGS
AUG Leaders

Atlassian Community Events