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
David Bakkers
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
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 @David Bakkers 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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events