I can call most rest api successfully, but when I call label rest api, I got 403
403 - {"errorMessages":["OAuth 2.0 is not enabled for this method."]}
The rest url is:
https://api.atlassian.com/ex/jira/{MY_CLIENT_ID}/rest/api/3/label
Hello @zhansheng
Welcome to Atlassian Community!
I must confess that the format of your REST API call looks a little bit different than what is described in our REST API documentation for Jira Cloud:
Get Labels - Jira Cloud Rest API
Can you please try the URL below and check if you keep getting the error? Just replace "yourdomain" by your site address:
https://yourdomain.atlassian.net/rest/api/3/label
Let us know if that worked for you.
I am using [Construct the request URL] in
https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/
I can call /rest/api/3/issue successfully.
But /rest/api/3/label got 403
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.