Skip to content

Atlassian OAuth 2.0 Application

OAuth 2.0 allows external applications and services to access Atlassian product APIs on a user’s behalf.

In order to create and manage an application to do OAuth 2.0. you need to connect to the developer console.

→ https://developer.atlassian.com/console/myapps/

From the console, you need to Create a new OAuth 2.0 Integration.

Console you need create new oauth

Then define the name of your Application.

Then define name your application

From the navigation bar :

  1. Authorization

    Authorization

    Authorization

    Add the URL callback:

    https://credentials-[YOUR-INSTANCE-NAME].mindflow.dev/oauth2/callback
  2. then go to permissions :

  • You can set your application permissions for all of the following Atlassian products:

    You can set your application permissions

    For example, if I select Jira :

    You can set your application permissions

    Scopes can be selected:

    • Classic: general scopes on a resource
    • Granular scope: define read/write access for each feature
  1. Then Settings :
  • You can copy the Client ID/Secret to create the account in Mindflow

Now, in Mindflow, you can create a credential on a specific service or on the Atlassian portfolio so that your credential can be used on all Atlassian products. Then in Credential Type, you must select OAuth 2.0 Authorization Code

You can copy client id secret

To retrieve your tenant’s cloud ID**: https://[your-instance-name].atlassian.net/_edge/tenant_info**

Add the following url with the cloudId retrieved from the previous page to the Address field :

https://api.atlassian.com/ex/jira/[cloudId]

For the scopes, you need to copy all the selected classic scopes and then add offline_access as an additional scope.

When you click Authorize, an Atlassian window will open and you can define which organisation you want to authorize the application for from the list of organisations.

You can copy client id secret

then Accept.