It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

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 Community Leader 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 Community Leader 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 Community Leader 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 Community Leader 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

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you