Hello,
I am using a Forge app.
When trying to GET to /rest/api/3/search?jql=project=SLM"
Based on this documentation https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get
I get the error "OAuth 2.0 is not enabled for this method"
Hello @Janarthanan Ramesh ,
Welcome to the community!
Can you check from https://developer.atlassian.com/console/myapps/ if you have setup Oauth2.0.
You can read about this more from:https://developer.atlassian.com/cloud/jira/platform/scopes-for-oauth-2-3LO-and-forge-apps/
I am not very familiar with the Forge app,However, to avoid overlooking the syntax error can you try using this endpoint on the with changing the project details from terminal or Postman and check it works:
https://api.atlassian.com/ex/jira/${cloudId}/rest/api/3/search?jql='project={project}
As it problem can be with the syntax of the query as well.
Hope the shared information would help.
Hi @Himanshi ,
Thank you for the response,
I checked up with https://developer.atlassian.com/console/myapps/ , here cloudId can be generated for the OAuth 2.0 apps only, but in my case I'm using a forge app
Is there any documentation for OAuth 2.0 in forge app
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.