REST API for Timesheets

David Wendland
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 24, 2024

I would like to access the data in timesheets using a REST api. How to do that? 

 

2 answers

0 votes
Vicknesh Shanmugam
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.
June 24, 2024

Hi,

The API in https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklogs/#api-rest-api-3-issue-issueidorkey-worklog-get could be helpful for you to retrieve the time logged under issues.

Regards,

Vicknesh [ServiceRocket]

0 votes
Geethanjali Katagani
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.
June 24, 2024

You can fetch  Jira tickets fields using the rest API below 

https://your-site.atlassian.net/rest/api/3/issue/{issueKey}


you can check if there is any field that's storing timesheets data, but if not most likely it might not  be possible , if it's a plugin they could be using some other storage means .

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events