The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Tempo API - How to get ticket's label from tempo api?

Mykhailo Z.
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!
September 28, 2023

Hi there,

I need to get all worklogs and I need to set a time by 2 criterias as "billable" and "non-billable" which is metioned as an attribute 'Labels' in the ticket where the developer add the worklogs. 

Unfortunately, I cannot find in the API docs which request should I use to get it. 

Can you help me? 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Susan Wu
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 Champions.
September 28, 2023

Hi @Mykhailo Z. 

If you have setup work attribute with Tempo worklogs, you can this endpoint to get them.
https://www.tempo.io/server-api-documentation/timesheets#tag/Worklogs/operation/searchWorklogs 

 

If you have setup Jira custom fields, you have to use Jira issue API to get list of issues first, then get its worklogs. (For further info, please contact Atlassian Support.)

https://docs.atlassian.com/software/jira/docs/api/REST/9.8.1/#api/2/issue-getIssue

 

Best regards,

Susan Wu

Tempo Product Expert

TAGS
AUG Leaders

Atlassian Community Events