Create an OAuth 2.0 app
Register a new OAuth 2.0 integration in the Atlassian Developer Console.
Sign in to Atlassian
Sign in to the Atlassian Developer Console.
- Click Create in the top-right corner.
- Select OAuth 2.0 integration.
Create a new app
Fill in the application details.
- Enter an App name (e.g., “StackOne JSM Integration”).
- Accept the Atlassian Developer Terms.
- Click Create.
Add callback URL
In your app settings, click Authorization in the left sidebar.
- Click Add next to “OAuth 2.0 (3LO)”.
- Enter the callback URL:
https://api.stackone.com/connect/oauth2/jiraservicemanagement/callback - Click Save changes.
Set permissions
Click Permissions in the left sidebar. You will need to add permissions for both Jira API and Jira Service Management.
Add Jira platform permissions
Click Add next to Jira API then click Configure. On the Classic scopes tab, click Jira platform REST API > Edit Scopes then enable the following required scopes.
- Required: Select
View user information in Jira(read:jira-user) - Required: Select
Read Jira project and issue data(read:jira-work) — needed for queues - Click Save to confirm the scopes.
Add Jira Service Management classic scopes
Click Add next to Jira Service Management then click Configure. On the Classic scopes tab, click Edit Scopes then enable the following required scopes.
- Required: Select
Read Jira Service Management request data(read:servicedesk-request) - Required: Select
Write Jira Service Management request data(write:servicedesk-request) - Required: Select
Manage Jira Service Management customers(manage:servicedesk-customer) - Click Save to confirm the scopes.
Add Jira Service Management granular scopes
On the Granular scopes tab, click Edit Scopes then enable the following required scopes.
- Required: Select
View queues(read:queue:jira-service-management) - Required: Select
View request SLAs(read:request.sla:jira-service-management) - Required: Select
Execute request transitions(write:request.status:jira-service-management) - Click Save to confirm the scopes.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for Jira Service Management:Navigate to Connector Profiles
Create New Connector Profile
- Click + Connector Profile
- Search for and select Jira Service Management
- Select Type as OAuth 2.0
- Fill out the fields using details retrieved from your provider:
- Client ID
- Client Secret
- OAuth Scopes (Optional)
- (Optional) Select Actions to be enabled for this Connector Profile
- Click Create profile