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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

685 views 6 13
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