Tempo Timesheet API - Daily hours total

Hi All,

 

Currently im trying to make a small project to get 'Daily hours total' inputted by user on Tempo worksheet.

Need help API that could i use for it?

thanks.

1 answer

0 vote
Warren Levy Community Champion Jul 28, 2017

Hi

There is a Tempo API that you can use :

https://companyname.atlassian.net/rest/tempo-timesheets/3/worklogs?username={username}&dateFrom=2017-07-28&dateTo=2017-07-28

This will return al the logged time for a particular user for the dates specified (I've used the same start and end date which means for 1 day)

Thanks Waren, its really helpful

Will try using it

Hi Waren,

 

I got this error : "401 - Unauthorized"

i tested on https://apigee.com with basic auth username and my password

do you know how the best to use auth to whis api?

Warren Levy Community Champion Aug 08, 2017

Hi

Whichever user you're using in the authorisation, needs to have access to view other user's timesheets. This access can be granted by an Admin.

Hi,

I use my own user and want to see my own timesheet.

can we do it without admin permission?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,323 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot