Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Set up the Jira spoke for Jira Cloud

Integrate your ServiceNow instance with the Jira Cloud instance to authenticate the requests from ServiceNow.

Before you begin

  • Request an Integration Hub subscription.
  • Activate the Jira spoke.
  • Role required: admin.

About this task

Important:

Starting with the Australia release, instructions for generating and using API tokens have been removed from our documentation to align with Atlassian's Acceptable Use Policy. See the Atlassian blog, Building Secure and Scalable Integrations: Our Guidance for Third-Party Apps for more information.

Option 3: Using basic authentication and API token (does not comply with Atlassian security requirements)

Integrate the ServiceNow instance and Jira Cloud instance using an API key to authenticate ServiceNow requests.

Before you begin

Important: Apps that collect API tokens to create individual 3LO apps don't comply with Atlassian security requirements for cloud apps and Atlassian acceptable use policy.

Role required: admin.

About this task

You can integrate a ServiceNow instance with multiple Jira instances. For this integration, create a connection and credential alias record and a connection record for each Jira instance.

Generate an Atlassian account API token

Generate an Atlassian account API token to authenticate requests for spokes associated with an Atlassian account.

Before you begin

Make sure you have an Atlassian account.

Role required: Atlassian administrator credentials

About this task

Complete these steps from your Atlassian account. See the Atlassian Developer portal documentation for instructions on generating your API token.

Note: This procedure is applicable only if you are using the Jira Cloud subscription.

Procedure

  1. Log in to Atlassian Start as an admin.

  2. Go to your account profile photo and select Account Settings.

Image omitted: jira-basic-settings.png
Atlassian Start page with the drop down menu of the selected profile picture. Account Settings option emphasized.
  1. Go to Security.

  2. In the API token section, select Create and manage API tokens.

  3. Click Create API token.

  4. On the form, provide an integration name for the Label field.

  5. Click Create.

Image omitted: jira-token.png
The Create an API token modal with the Create button emphasized.
The API token is generated.
  1. Click Copy and record the value of the API token for later use.
Image omitted: jira-api-token.png
Confirmation modal of Your new API token with the Copy button emphasized.

What to do next

Use your API token to configure the cloud connection for the Jira spoke.

Configure a connection for Jira spoke

Add and configure a Jira connection to authenticate ServiceNow requests in Jira spoke.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > Process Automation > Workflow Studio.

  2. Click the Integrations tab.

  3. Under Connections, the Outbound connections are displayed by default.

  4. Locate the Jira connection alias and click View Details.

    • To configure the default connection and credential alias record that is shipped along with the Jira spoke, click View Details.
    • To manage more than one Jira spoke connection records, you should create a new child alias record by clicking Add Connection. For more information about using multiple connections, see Supporting multiple connections. If you are configuring the spoke for the first time, click Configure. Otherwise, click Edit.
  5. On the Connection form, fill in the fields.

    FieldDescription
    Connection NameName to uniquely identify the connection. For example, Jira spoke cloud basic conn.
    Connection URLURL of your Jira instance in this format: https://<provider-domain-name>.atlassian.net.
    Server TypeSelect cloud.
    User nameEnter the email address of the user.
    API KeyEnter the API token you generated for your Jira Cloud instance.
Image omitted: jira-cloud-basic.png
Connection configuration for Jira Cloud.
  1. Click Create Connection.

Option 4: Using basic authentication with API token and scopes (does not comply with Atlassian security requirements)

Integrate the ServiceNow instance and Jira Cloud instance using an API key with scopes to authenticate ServiceNow requests.

Before you begin

Important: Apps that collect API tokens to create individual 3LO apps don't comply with Atlassian security requirements for cloud apps and Atlassian acceptable use policy.

Role required: admin.

About this task

You can integrate a ServiceNow instance with multiple Jira instances. For this integration, create a connection and credential alias record and a connection record for each Jira instance.

Generate an Atlassian account API token with scopes

Generate an Atlassian account API token with the required scopes to authenticate requests for spokes associated with an Atlassian account.

Before you begin

Make sure you have an Atlassian account.

Role required: Atlassian administrator credentials

About this task

Complete these steps from your Atlassian account. See the Atlassian Developer portal documentation for instructions on generating your API token.

Note: This procedure is applicable only if you are using the Jira Cloud subscription.

Procedure

  1. Log in to Atlassian Start as an admin.

  2. Go to your account profile photo and select Account Settings.

Image omitted: jira-basic-settings.png
Atlassian Start page with the drop down menu of the selected profile picture. Account Settings option emphasized.
  1. Go to Security.

  2. In the API token section, select Create and manage API tokens.

  3. Click Create API token with scopes.

Image omitted: jira-new-api-token.jpg
Create API token with scopes.
  1. On the Name API token form, enter Name, select an expiry date for the token, and click Next.
Image omitted: jira-new-token-name.jpg
Provide details to create token.
  1. On the Select the app form, select Jira and click Next.
Image omitted: jira-new-select-jira-app.jpg
Select the Jira app.
  1. On the Select Jira scopes form, select the required scopes and click Next.
Image omitted: jira-new-scopes.jpg
Select the required scopes.
For details about scopes needed to use the required spoke actions, see [Required API token scopes](setup-jira-spk-opt2.md).
  1. Review the API token scopes and click Create token.
Image omitted: jira-new-token-scopes.jpg
Review details and create token.
API token is generated and displayed. Copy and record the token value for later use.
Image omitted: jira-new-copy-token.jpg
Copy the token value.

Configure a connection for Jira spoke

Add and configure a Jira connection to authenticate ServiceNow requests in Jira spoke.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > Process Automation > Workflow Studio.

  2. Click the Integrations tab.

  3. Under Connections, the Outbound connections are displayed by default.

  4. Locate the Jira connection alias and click View Details.

    • To configure the default connection and credential alias record that is shipped along with the Jira spoke, click View Details.
    • To manage more than one Jira spoke connection records, you should create a new child alias record by clicking Add Connection. For more information about using multiple connections, see Supporting multiple connections. If you are configuring the spoke for the first time, click Configure. Otherwise, click Edit.
  5. On the Connection form, fill in the fields.

    FieldDescription
    Connection NameName to uniquely identify the connection. For example, Jira spoke cloud basic conn.
    Connection URLURL of your Jira instance in this format: https://<provider-domain-name>.atlassian.net.
    Server TypeSelect cloud.
    User nameEnter the email address of the user.
    API KeyEnter the API token you generated for your Jira Cloud instance.
Image omitted: jira-cloud-basic.png
Connection configuration for Jira Cloud.
  1. Click Create Connection.

Required API token scopes

API token scopes needed to use the required spoke action are listed here.

These scopes are needed when you set up Jira spoke for Jira Cloud using API token with scope. For more information, see Option 4: Using basic authentication with API token and scopes (does not comply with Atlassian security requirements).

CategoryActionDescriptionScope required \(Classic\)Scopes required \(Granular\)
Audit ManagementLook up Audit Logs StreamRetrieves login activity for the AtlassianJira user subscriptions.Note: This action is supported on Jira Server 9 and earlier versions, and Jira Cloud.manage:jira-configurationread:audit-log:jira, read:user:jira
Look up Audit Logs Stream \(Server 10+\)Retrieves audit log records from the Jira instance within a specified date range.Note: This action is supported on Jira Server 9 and later versions.This action is supported only on Jira Server.
Group ManagementAdd User to GroupAdds given user to a group in Jira.manage:jira-configurationwrite:group:jira, read:avatar:jira, read:group:jira, read:user:jira
Create GroupCreates a group in Jira.manage:jira-configurationread:group:jira, read:user:jira, write:group:jira, read:avatar:jira
Look up Groups StreamRetrieves all groups in the Atlassian account, including the default groups.Note: This action can be used with Jira Cloud subscription only.read:jira-userread:group:jira
Look up Users by Group Name StreamRetrieves details of all members in an Atlassian group.manage:jira-configurationread:group:jira, read:user:jira, read:avatar:jira
Remove GroupRemoves the given group from Jira.manage:jira-configurationdelete:group:jira
Remove User from GroupRemoves the given user from a group in Jira.manage:jira-configurationwrite:group:jira
Issue ManagementAdd CommentAdds a comment to the specified issue in Jira.write:jira-workread:comment:jira, read:comment.property:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, write:comment:jira, read:avatar:jira
Add WatcherAdds the specified user as a watcher for the specified issue.write:jira-workwrite:issue.watcher:jira
Assign IssueAssigns the issue in Jira to the user.write:jira-workwrite:issue:jira
Copy AttachmentCopies the required attachment associated with the ServiceNow record to the required issue in Jira.write:jira-workread:user:jira, write:attachment:jira, read:attachment:jira, read:avatar:jira
Create IssueCreates an issue in Jira. Depending on how your organization is using Jira, an issue could represent a software bug, a project task, a help desk ticket, or more. An issue in Jira represents a task in the ServiceNow AI Platform.write:jira-work, read:jira-workwrite:issue:jira, write:comment:jira, write:comment.property:jira, write:attachment:jira, read:issue:jira
Delete AttachmentDeletes the required attachment in Jira.write:jira-workdelete:attachment:jira
Delete IssueDeletes an issue in Jira.write:jira-workdelete:issue:jira
Delete WatcherDeletes the user as a watcher for the specified issue.write:jira-workwrite:issue.watcher:jira
Do TransitionTransitions an issue in Jira from one state to another.write:jira-workwrite:issue:jira, write:issue.property:jira
Look up Issue Type Statuses by ProjectRetrieves details of the statuses in a project.read:jira-workread:issue-status:jira, read:issue-type:jira, read:status:jira
Look up IssueRetrieves the details for an issue.read:jira-workread:issue-meta:jira, read:issue-security-level:jira, read:issue.vote:jira, read:issue.changelog:jira, read:avatar:jira, read:issue:jira, read:status:jira, read:user:jira, read:field-configuration:jira
Look up Issue PrioritiesRetrieves the list of issue priorities and details for individual issue priorities.write:jira-work, read:jira-workread:priority:jira
Look up Issues StreamRetrieves a list of issues matching a JQL query string.read:jira-workread:issue-details:jira, read:audit-log:jira, read:avatar:jira, read:field-configuration:jira, read:issue-meta:jira
Look up Sprint Issues StreamRetrieves the details of all issues for the given sprint.No classic scopes available.read:sprint:jira-software , read:issue-details:jira, read:jql:jira
Look up TransitionsRetrieves information about all Transitions for a given Issue ID.read:jira-workread:issue.transition:jira, read:status:jira, read:field-configuration:jira
Look up WatchersRetrieves the list of watchers for the specified issue.read:jira-workread:issue.watcher:jira, read:user:jira, read:avatar:jira
Update IssueUpdates a set number of fields of an issue in Jira with values passed as input.write:jira-work, read:jira-workwrite:issue:jira
Metadata RetrievalGet Creatable Fields \(Metadata\)Retrieves the list of all fields in a required Jira project.write:jira-work, read:jira-workread:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
Get Editable Fields \(Metadata\)Retrieves the list of all editable fields in a required Jira issue.write:jira-work, read:jira-workread:issue-meta:jira, read:field-configuration:jira
Get Issue Types \(Metadata\)Retrieves the list of all issue types in a required Jira project.write:jira-work, read:jira-workread:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
Project ManagementCreate ProjectCreates a project in Jira.manage:jira-configurationwrite:project:jira, read:project:jira
Look up ProjectRetrieves details of the specified project by its ID or key.write:jira-work, read:jira-workread:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
Look up ProjectsRetrieves details of all projects.Note: This action only works for the Jira server.This action is supported only on Jira Server.
Look up Projects StreamRetrieves details of all projects.Note: This action only works for the Jira Cloud.read:jira-workread:issue-type:jira, read:project:jira, read:project.property:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira, read:issue-type-hierarchy:jira, read:project-category:jira, read:project-version:jira, read:project.component:jira
Look up Users Assignable to ProjectsRetrieves a list of users that can be assigned to issues in one or more projects.read:jira-userread:project:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira
Sprint ManagementCreate SprintCreates a sprint in Jira.No classic scopes are available.read:board-scope:jira-software , read:project:jira Create Sprint - write:sprint:jira-software
Delete SprintDeletes a sprint in Jira.No classic scopes are available.delete:sprint:jira-software
Look up SprintRetrieves the details of the required sprint as a complex object.No classic scopes are available.read:sprint:jira-software
Look up Sprints by BoardRetrieves the details of all sprints in the required board.No classic scopes are available.read:sprint:jira-software
Update SprintUpdates the details of a sprint in Jira.No classic scopes are available.write:sprint:jira-software
Story ManagementCreate StoryCreates a story in the Jira Cloud instance. This is comparable to story in the ServiceNow Agile Development plugin.write:jira-workwrite:issue:jira, write:comment:jira, write:comment.property:jira, write:attachment:jira, read:issue:jira
Look up Stories StreamRetrieves details of all stories.read:jira-workread:issue-details:jira, read:field.default-value:jira, read:field.option:jira, read:field:jira, read:group:jira
Update StoryUpdates a set number of fields of a story in Jira Cloud with the provided input values.write:jira-workwrite:issue:jira
User ManagementCreate UserCreates a user in Jira.Note: This action isn’t supported when OAuth 2.0 authentication is used.Scoped API token is not supported for this action.
Look up Authenticated UserRetrieves details of the authenticated user account.read:jira-userread:application-role:jira, read:group:jira, read:user:jira, read:avatar:jira
Look up Group Memberships for UserRetrieves details of all groups of an Atlassian user.read:jira-userread:group:jira
Look up Users StreamRetrieves details of all Atlassian Jira user subscriptions.Note: This action can be used with a Jira Cloud subscription only.read:jira-userread:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira
Look up Users Stream by NameRetrieves a list of users that match the search string.Note: This action can be used with a Jira server subscription only.This action is supported only on Jira Server.
Remove UserRemoves a user from Jira.Note: This action isn’t supported when OAuth 2.0 authentication is used.Scoped API token is not supported for this action.
Utility ActionsCopy Issue Attachment to RecordCopies Attachment from Jira to any record in ServiceNow instance. When you use this action in a subflow, make sure that the Content URL data pill is specified in the Attachment URL field.No applicable scopes as Jira endpoint is not used in this action.
Look up FieldsRetrieves the internal name and other details of the required field label in Jira.read:jira-workread:field:jira, read:avatar:jira, read:project-category:jira, read:project:jira, read:field-configuration:jira
Look up Issue from CommentRetrieves the details of the issue by parsing the payload for the specified comment. You can use this action in the Process Jira Webhook subflow for Jira on-prem server when only comment related information is specified without any details about the Jira issue. For example, when only comment information is specified, this action parses the payload and extracts the issue details.No applicable scopes as Jira endpoint is not used in this action.
Look up Latest Attachment on IssueRetrieves the latest attachment for the specified issue from Jira. You can use this action in a flow or subflow for validation. For example, a subflow adds an additional attachment only when the latest attachment of an issue in Jira isn’t as the same specified attachment.read:jira-workread:issue-meta:jira, read:issue-security-level:jira, read:issue.vote:jira, read:issue.changelog:jira, read:avatar:jira, read:issue:jira, read:status:jira, read:user:jira, read:field-configuration:jira
Look up Latest Comment on IssueRetrieves the latest comment for the specified issue from Jira. You can use this action in a flow or subflow for validation. For example, a subflow adds an additional comment only when the latest comment of an issue in Jira isn’t as the same specified comment.read:jira-workread:comment:jira, read:comment.property:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, read:avatar:jira
Look up ServerRetrieves general information about the current Jira instance.Any scopeAny scope
Webhook ManagementLook up WebhooksRetrieves details of all registered webhooks from the Jira instance.Scoped API token is not supported for this action.
Subscribe WebhookRegisters a webhook in the Jira instance.Scoped API token is not supported for this action.
Unsubscribe WebhookDeletes the registered webhook in Jira instance.Scoped API token is not supported for this action.
Update WebhookUpdates webhook with the given ID in Jira.Note: This action isn’t supported when OAuth 2.0 authentication is used.Scoped API token is not supported for this action.

Option 1: Using OAuth authentication (Authorization Code grant type)

Integrate the ServiceNow instance with your Jira account using OAuth to authenticate ServiceNow requests.

Before you begin

Role required: admin.

Create an OAuth 2.0 integration in Jira account

Create an OAuth 2.0 integration in Atlassian Developer console to authenticate the requests.

Before you begin

Role required: admin

Procedure

  1. Log in to Atlassian Developer console as an admin.

  2. Under My apps, click Create and select OAuth 2.0 integration.

Image omitted: jira-oauth-int.png
Create an OAuth 2.0 integration.
  1. On the form, provide name of the integration and click Create.
Image omitted: jira-create-oauth.png
Provide integration name.
The integration is created and the value of **App ID** is displayed.
  1. Click Authorization.

    1. Click Add under Action.
Image omitted: jira-auth-add.png
Authorization to access APIs.
2.  In **Callback URL**, provide URL of your ServiceNow instance in this format: `https://<ServiceNow-Instance-Name>.service-now.com/oauth_redirect.do`.

    For example, `https://example.service-now.com/oauth_redirect.do`
Image omitted: jira-callback-url.png
Add Callback URL.
3.  Click **Save Changes**.
  1. Click Settings.

    Under Authentication details, copy the values of Client ID and Client Secret.

Image omitted: jira-client-id.png
Copy the values of Client ID and Client Secret.
  1. Click Permissions.

    1. In Classic scopes, ensure that you select these scopes.

      • manage:jira-configuration
      • manage:jira-project
      • manage:jira-webhook
      • read:jira-work
      • read:jira-user
      • write:jira-work

        1. In Granular scopes, ensure that you select these scopes.
      • delete:sprint:jira-software

      • read:issue-details:jira
      • read:jql:jira
      • read:sprint:jira-software
      • write:sprint:jira-software
      • read:board-scope:jira-software
      • read:project:jira You can configure other scopes as per your requirement.

Obtain the value of Cloud ID

Obtain the value of Cloud ID of the Jira Cloud instance. This value is required during the configuration of the connection record in your ServiceNow instance.

Before you begin

Role required: admin

Procedure

  1. Log in to Atlassian Administration as an admin.

  2. Click Select against the required organization.

  3. From the Jira Software product, click Manage product access.

    A new window is opened and the URL is in this format: https://admin.atlassian.com/s/<Cloud-ID>/apps.

  4. Copy the value of the Cloud ID for later use.

Create an application registry in ServiceNow instance

Use the information generate while creating the OAuth 2.0 integration to create an application registry record in your ServiceNow instance.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > System OAuth > Application Registry.

  2. Click New.

    The system displays the message What kind of OAuth application?.

  3. Select Connect to a third party OAuth Provider.

  4. On the form, fill these values.

FieldDescription
NameName to identify the application registry record. For example, `Jira cloud OAuth app registry`.
Client IDClient ID generated when the OAuth 2.0 integration was created in Atlassian Developer console.
Client SecretClient secret generated when the OAuth 2.0 integration was created in Atlassian Developer console.
Default Grant typeGrant type used to establish the token. Select Authorization Code.
Authorization URLOAuth authorization code endpoint. Enter: `https://auth.atlassian.com/authorize`.
Token URLOAuth server token endpoint. Enter: `https://auth.atlassian.com/oauth/token`.
Redirect URLOAuth callback endpoint. System generates the URL upon saving the application registry.
Refresh Token URLURL to refresh a token. Enter: https://auth.atlassian.com/oauth/token.Note: This field is hidden in the form layout. Configure the form layout to show this field.
  1. In the OAuth Entity Scopes tab, create these entity scope records.

    NameOAuth scope
    delete:sprint:jira-softwaredelete:sprint:jira-software
    manage:jira-configurationmanage:jira-configuration
    manage:jira-projectmanage:jira-project
    manage:jira-webhookmanage:jira-webhook
    offline_accessoffline_access
    read:issue-details:jiraread:issue-details:jira
    read:jira-userread:jira-user
    read:jira-workread:jira-work
    read:jql:jiraread:jql:jira
    read:sprint:jira-softwareread:sprint:jira-software
    write:jira-workwrite:jira-work
    write:sprint:jira-softwarewrite:sprint:jira-software
    read:board-scope:jira-softwareread:board-scope:jira-software
    read:project:jiraread:project:jira
  2. Right-click the form header and click Save.

  3. Click the OAuth Entity Profiles tab and open the default record.

    For example, Jira OAuth Profile.

  4. In OAuth Entity Profile Scopes, ensure that the same entity scopes are provided.

    Else, insert new rows and select the same entity scopes you had earlier provided in the OAuth Entity Scopes tab.

  5. Right-click the form header and click Save.

Create credential record for the Jira spoke

Create a credential record for the Jira account. The Jira spoke connection and credential alias uses this credential to authorize actions.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > Connections & Credentials > Credentials.

  2. Click New.

    The system displays the message What type of Credentials would you like to create?

  3. Select OAuth 2.0 Credentials.

  4. On the form, fill these values.

    FieldDescription
    NameName to identify the credential record for the Jira spoke. For example, Jira cloud OAuth credential.
    OAuth Entity ProfileDefault OAuth entity profile record created when the application registry record is configured.
  5. Click Submit.

Create a connection record for the Jira spoke

Create a connection record for the Jira account. The connection and credential alias uses this connection to perform actions in Jira.

Before you begin

Role required: admin.

Procedure

  1. Navigate to All > Connections & Credentials > Connection & Credential Aliases.

  2. Open the alias record for Jira that shipped with the spoke.

  3. On the Connections tab, click New.

    The system displays a blank HTTP(s) Connection form.

  4. Enter these values and click Submit.

FieldValue required
NameEnter any name to uniquely identify the connection record. For example, enter `Jira cloud OAuth Connection`.
CredentialSelect the Credential record created for Jira. For example, select Jira cloud OAuth credential.
Connection URLEnter the URL of your Jira instance in this format: `https://api.atlassian.com/ex/jira/`.For information about obtaining the value of Cloud ID, see Obtain the value of Cloud ID.
  1. In the Attributes related list, provide these values.

    1. Enter the value 2 for api_version.

    2. Enter the value cloud for server_type.

Image omitted: jira-cloud-api-attribute.png
Attribute values.
  1. Click Submit.

  2. Navigate to All > Connections & Credentials > Credentials.

  3. Open the credential record you had created for the Jira spoke.

    For example, Jira OAuth credential.

  4. Click the Get OAuth Token related link.

    In a new window, system requests access to your Atlassian account.

  5. Click Accept.

    Access is granted to Atlassian account and a confirmation message is displayed in your ServiceNow instance that the refresh token is available.

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.