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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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!
Sep 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

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 Leaders.
Sep 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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events