Hi, everyone.
I created Oauth app and following documentation make request like this:
https://auth.atlassian.com/authorize? audience=api.atlassian.com& client_id=YOUR_CLIENT_ID& scope=REQUESTED_SCOPE_ONE%20REQUESTED_SCOPE_TWO& redirect_uri=https://YOUR_APP_CALLBACK_URL& state=YOUR_USER_BOUND_VALUE& response_type=code& prompt=consent
Then I receive this window
Like in documentation I make request to receive cloudId:
curl --request GET \ --url https://api.atlassian.com/oauth/token/accessible-resources \ --header 'Authorization: Bearer ACCESS_TOKEN' \ --header 'Accept: application/json'
And there receive array of all resources. How can I get selected resource?
Hi Oleg,
I understand that you appear to be creating an app or integration with Jira Cloud and are looking for some more details about how you can get a selected resource instead of the complete array of all resources available to that site.
I have not found a clear means to achieve this. But I have found another thread where a Confluence Cloud integration creator appears to have been asking the same question over in https://community.developer.atlassian.com/t/is-there-a-query-parameter-to-filter-which-product-the-accessible-resources-api-lists/43231
While that post does not have any responses at this point, I still feel that the Developer Community site is probably the better resource in this case.
Andy
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.