Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get approval status for worklogs using TEMPO Rest API?

I am trying to get approval status for worklogs using the parameter "addApprovalStatus=true" via TEMPO Rest API but nothing is returned by the API. Is there any level of permission required to view approval statuses for worklogs?. I do not have team administrator or manager permission. Is it possible to get approval status via API without these permissions?. Any help or suggestions would be appreciated!

3 answers

1 accepted

1 vote
Answer accepted

Are you wanting to pull the status of all timesheets (like who has submitted, pending approval and approved)?

Use this api     where companydomain is your company details and teamId will need to be set to the number for the team. It will only retrieve one week at a time if you are on weekly approvals, so you'll have to run it for each week. It returns the data in JSON format but you can use a free json to csv converter online to export to excel.

Thanks Jane. This would help me for now. Is there any way where i can get the approvals every month instead of week? 

Hi Jane, where is the most recent documentation for the above api? The above link works great in my environment but does not match the documentation I could find. The documentation also only includes the username parameter not teamId as above. I'm actually trying to make the username parameter work and I can't! 

@HSNAN - Tempo says it should return based on the period configurations you have set in Tempo Settings (Monthly, Weekly). But, I have not had success in pulling it for an entire month. I've only ever received one week at a time. 

@Jeffrey Schumacher - On this page you can then navigate to cloud or server. Then drill down into what you need. I haven't tried it with username but I "think" you would need to know the teamid the user is a member of.

0 votes
Warren Community Leader Jan 03, 2019

I'm not totally sure of the answer, but something I have read numerous times is that the permissions required via the API are exactly the same as it is within Jira. So ... if you are unable to do this in Jira itself, you will not be able to do it using the API.


Hope this helps a bit.

You cannot get the approval status of the worklogs directly by using the Tempo REST API, however it's possible with the Tempo Servlet API.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you