This page shows you how to configure OAuth 2.0 (3LO) (also known as "three-legged OAuth" or "authorization code grants") apps. OAuth 2.0 (3LO) allows external applications and services to access Atlassian product APIs on a user's behalf. OAuth 2.0 (3LO) apps are created and managed in the developer console.
This page only applies to OAuth 2.0 apps (integrations) created in the developer console.
OAuth 2.0 (3LO) involves three parties:
For example, a Jira or Confluence site (resource), an Atlassian user (resource owner), and Gmail (client). Underlying the authorization interactions between these three parties is an authorization server.
To the user, the authorization process looks like this:
Underlying this process are a number of interactions between the external service, the app, and the authorization server. The full process is described in more detail below.
Note, this process assumes that the external service has registered an app with Atlassian that can use OAuth 2.0 (3LO).
Consult the Jira Service Management Enabling OAuth 2.0 (3LO) documentation.
Consult the Jira Service Management Enabling OAuth 2.0 (3LO) documentation. Only constructing request URL is different than Jira Service Management.
Construct your request URL using the following structure:
https://api.atlassian.com/ex/jira/{cloudid}/jsm/ops/api/{api}
where:
{cloudid}
is the cloudid
for your site that you obtained in the previous step. For example,
11223344-a1b2-3b33-c444-def123456789
.{api}
is the base path and name of the API. For example:/v1/alerts
for the alert endpoint in the Jira Service Management operations REST API./v1/schedules
for the schedules endpoint in the Jira Service Management REST API.Your request URL should look something like this (using the example cloudid
and Jira API above):
https://api.atlassian.com/ex/jira/11223344-a1b2-3b33-c444-def123456789/jsm/ops/api/schedules
Note that if you are copying the examples in the API documentation, you will need to amend the example
URLs as they currently use https://api.atlassian.com/jsm/ops/api/{cloudId}/{api}
rather than the request URLs shown above.
Rate this page: