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 votes
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 Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

157 views 0 6
Read article

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