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
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,179 views 16 10
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