Forums

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

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 Champion
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