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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

OAuth 2.0 is not enabled for this method.

I'm using the POST /rest/api/2/issue/{issueIdOrKey}/worklog endpoint with OAuth authentication. The docs also include a section including info on OAuth scope -> https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-worklogs/#api-rest-api-2-issue-issueidorkey-worklog-post

 

However it still returns a 403 error OAuth 2.0 is not enabled for this method. Is it possible to submit a feature request for this endpoint to be enabled for OAuth?

1 answer

0 votes
Dario B Atlassian Team Dec 02, 2020

Hello @Magnus Arbuthnott ,

According to the documentation the worklog endpoint should already support Oauth 2.0 3LO (the Oauth scope is documented for the endpoint).

If you are getting status code 403 in return, it can be the case that you are using "latest" in the endpoint instead of 2  or 3, as described in below bug ticket:

Can you kindly review above bug ticket and check if you are facing the same issue?

 

In case you are not facing the same issue, then please let us know:

  1. If this was working before and it suddenly stopped, or if it is the first time you attempt to call this endpoint using Oauth2
  2. If other endpoints are returning the same error
  3. Is it making any difference if you use the v3 of the endpoint? Does it work?
  4. Time date and timezone of the last time you tried to authenticate a rest api call against the worklog endpoint using Oauth2, so I can see if I find anything in the logs.

 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,104 views 8 28
Join discussion

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