The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

RequestCloudID But not recived via API Call

Mithila Lishan
May 14, 2024

I need to invoke jira API with OAuth 2.0 

i am following this documentation  - OAuth 2.0 (3LO) apps 

Now I am stuck in the stage of getting  "cloudid" for my site.

I invoke that Get-API and got 200 Response, but I did not received expected response as mention in the documentation, what I have missed ?

Jiraissue.png expected response according to the documentation 

[ { "id": "1324a887-45db-1bf4-1e99-ef0ff456d421", "name": "Site name", "url": "https://your-domain.atlassian.net", "scopes": [ "write:jira-work", "read:jira-user", "manage:jira-configuration" ], "avatarUrl": "https:\/\/site-admin-avatar-cdn.prod.public.atl-paas.net\/avatars\/240\/flag.png" } ]

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Deleted user
May 14, 2024

Hello @Mithila Lishan 

You probably haven't set the site scopes correctly. Refer to this prior thread when someone had the exact same problem.

0 votes
Dave Rosenlund _Trundl_
Community Champion
May 14, 2024

Hello, @Mithila Lishan 👋

I'm afraid I can't help you directly (I'm not a developer). However, I hope the answer by @[deleted] in this thread might help you:

Using OAuth to access Jira in my organization

Let us know if it helps.

-dave

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events