Atlassian credentials
The Atlassian OAuth2 API credential is a generic OAuth2 credential for Atlassian Cloud.
Prerequisites
An Atlassian Cloud site for the product you want to access, such as Jira or Confluence.
Access to the Atlassian Developer Console.
Supported authentication methods
OAuth2
Related resources
Refer to OAuth 2.0 (3LO) apps in Atlassian's documentation for more information about the service.
Using OAuth2
To configure this credential, you'll need an Atlassian Cloud site and access to the Atlassian Developer Console.
Then:
Open the Atlassian Developer Console and select Create > OAuth 2.0 integration.
Enter a Name for your app and agree to the terms, then select Create.
Select Authorization in the left sidebar.
Next to OAuth 2.0 (3LO), select Add.
In n8n, copy the OAuth Redirect URL.
Paste the URL into the Callback URL field in the Atlassian Developer Console.
Select Save changes.
Select Permissions in the left sidebar, then select Add next to the API of each product you want to access, such as Jira API or Confluence API.
Select Configure next to each API you added, then select Edit Scopes and enable the scopes you plan to request.
Select Settings in the left sidebar.
Copy the Client ID and paste it into n8n.
Copy the Secret and paste it as the Client Secret in n8n.
Enter the Scope as a space-separated list of scopes to request, for example
read:jira-work read:page:confluence offline_access.Select Connect my account and follow the prompts to complete the OAuth2 flow.
Enable every requested scope on your app
Atlassian rejects the authorization request if the credential requests a scope that isn't enabled on your OAuth app. You must enable every scope you enter in n8n's Scope field on the app too, under Permissions > Edit Scopes in the Atlassian Developer Console. offline_access is the exception: Atlassian grants it automatically when requested, so it only needs to go in the Scope field. It's needed to refresh tokens, so the connection keeps working without you signing in again.
Refer to Jira scopes and Confluence scopes in Atlassian's documentation for the available scopes.
Last updated
Was this helpful?