Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,163
Community Members
 
Community Events
185
Community Groups

Getting 404 Not Found for "/rest/tempo-timesheets/3/worklogs"

Hi,

I am getting a 404 Not Found message for below url
Not Working URL: https://******/rest/tempo-timesheets/3/worklogs?projectKey=DER&dateFrom=2018-06-11

when I am using basic authentication method of providing username and password

It works properly when I am fetching all the projects data, for e.g below url work properly if use the basic authentication method of providing username and password
Working URL: https://******/rest/api/2/project

Can you tell me what could be the issue, and how should I proceed to resolve this.

2 comments

Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jun 19, 2018

Hi Somo

Tempo changed their API, but the second one is still Atlassian.

See https://support.tempo.io/hc/en-us/articles/360001188087-Action-Required-for-APIs for details of what you need to change for the first call

Thank You for the suggestion Warren, it helped me resolve the issue.

The link isn't working anymore. Do you have some other resources I could check? I have the same issue

Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 20, 2019

Hi @Claudio Ferraro 

What authentication are you using? I see that the link above is no longer valid, but it was about authentication.

Has this worked for you previously but it's now stopped? Or is this the first time that you're trying to run this call?

Like Claudio Ferraro likes this

Thanks for your response!

I am using basic authentication, with username and password.

It has worked for me previously, but now it's stopped.

Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 20, 2019

@Claudio Ferraro 

Right, that's why it isn't working. The link above was a Tempo article describing what you needed to do to change to Bearer authentication. I'll try to tell you what you need to do from memory, hopefully it will work :

  • Go into Tempo, Settings and then API Integration (as shown below
  • Click on Generate New to get a token
  • Use this token instead of username / password, in the format 
"Authorization", "Bearer " & "yourToken"

 

Screenshot_4.jpg

Hi @Warren I think I'm experiencing this issue now. Where should I use the generated token?

Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 28, 2020

Hi @David_Revelo 

So instead of using a password, you use the token.

You will use the 64 bit encoded version of the Jira e-mail address and API token, the same way that you may have used a 64 bit encoded version of the username and password previously.

If you can't get it working, let me know more details about what you've tried and what error message you're getting.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events