Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

OAuth 2.0 is not enabled for this method.

Magnus Arbuthnott
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 27, 2020

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
Atlassian Team members are employees working across the company in a wide variety of roles.
December 2, 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
AUG Leaders

Atlassian Community Events