Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

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

Get Billable Hours via Tempo API

Lukas Eickhoff January 7, 2025

We want to transfer the billable times from Tempo via API into a scripted field with script runner. Which endpoint do I use to get these totalized for the respective task?

1 answer

1 accepted

1 vote
Answer accepted
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 7, 2025

Hi @Lukas Eickhoff ,

With https://api.tempo.io/4/worklogs/issue/{issueId} you can get all worklogs that belong to an issue. Within the response you can search for billableSeconds and sum them.

I hope this helps,

Rudy

Lukas Eickhoff January 7, 2025

Thank you! That was the information i was looking for

Like Rudy Holtkamp likes this

Suggest an answer

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

Atlassian Community Events