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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Tempo API at JIRA Server

we are using a JIRA server (not a cloud version) we want to use the Tempo API to add accounts and to retrieve the logtime.


please explain, or send directly to documentation what is the correct way to do it.  

1 answer

0 votes

Start at - you'll need the Tempo Core, accounts and timesheet sections.



thank you for the quick repones.


if you can have a sample code for retrieving log work and a code for updates accounts per project? 


we have also a problem with authentication. 

Hi Nic,

for worklogs it something like:

curl --location --request POST 'http://yourJiraUrl/rest/tempo-timesheets/4/worklogs/search/?from=2020-06-10&to=2020-09-30' --header 'Content-Type: application/json' --header 'Authorization: Basic usernamepassbase64encoded' --data-raw '{"from":"2020-09-10","to":"2020-09-30"}'

and to create an Account:

curl --location --request POST 'http://yourJiraUrl/rest/tempo-accounts/1/account/' --header 'Content-Type: application/json' \--header 'Authorization: Basic usernamepassbase64encoded' --data-raw '{"customer": { "key": "100201" },"category": { "key":"320" },"lead": { "name":"john" },"name":"Test import from API","status":"OPEN","key":"1_w3453"}'


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events