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

0 votes
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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 @Sunny Ape in this thread might help you:

Using OAuth to access Jira in my organization

Let us know if it helps.

-dave

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events