You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.