Set up the Jira spoke for Jira Cloud

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 15 min. de leitura
  • Integrate your ServiceNow instance with the Jira Cloud instance to authenticate the requests from ServiceNow.

    Antes de Iniciar

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

    Por Que e Quando Desempenhar Esta Tarefa

    You can set up the Jira spoke for your Jira Cloud instance using basic authentication or OAuth authentication as per your requirement.

    Option 1: Using basic authentication (API token)

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

    Antes de Iniciar

    Role required: admin.

    Por Que e Quando Desempenhar Esta Tarefa

    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.

    Antes de Iniciar

    Make sure you have an Atlassian account.

    Role required: Atlassian administrator credentials

    Por Que e Quando Desempenhar Esta Tarefa

    Complete these steps from your Atlassian account. See the Atlassian Developer portal documentation for instructions on generating your API token.
    Nota:
    This procedure is applicable only if you are using the Jira Cloud subscription.

    Procedimento

    1. Log in to Atlassian Start as an admin.
    2. Go to your account profile photo and select Account Settings.
      Atlassian Start page with the drop down menu of the selected profile picture. Account Settings option emphasized.
    3. Go to Security.
    4. In the API token section, select Create and manage API tokens.
    5. Click Create API token.
    6. On the form, provide an integration name for the Label field.
    7. Click Create.
      The Create an API token modal with the Create button emphasized.
      The API token is generated.
    8. Click Copy and record the value of the API token for later use.
      Confirmation modal of Your new API token with the Copy button emphasized.

    O que Fazer Depois

    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.

    Antes de Iniciar

    Role required: admin

    Procedimento

    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.
      Field Description
      Connection Name Name to uniquely identify the connection. For example, Jira spoke cloud basic conn.
      Connection URL URL of your Jira instance in this format: https://<provider-domain-name>.atlassian.net.
      Server Type Select cloud.
      User name Enter the email address of the user.
      API Key Enter the API token you generated for your Jira Cloud instance.

      Connection configuration for Jira Cloud.

    6. Click Create Connection.

    Option 2: Using basic authentication (API token with scopes)

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

    Antes de Iniciar

    Role required: admin.

    Por Que e Quando Desempenhar Esta Tarefa

    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.

    Antes de Iniciar

    Make sure you have an Atlassian account.

    Role required: Atlassian administrator credentials

    Por Que e Quando Desempenhar Esta Tarefa

    Complete these steps from your Atlassian account. See the Atlassian Developer portal documentation for instructions on generating your API token.
    Nota:
    This procedure is applicable only if you are using the Jira Cloud subscription.

    Procedimento

    1. Log in to Atlassian Start as an admin.
    2. Go to your account profile photo and select Account Settings.
      Atlassian Start page with the drop down menu of the selected profile picture. Account Settings option emphasized.
    3. Go to Security.
    4. In the API token section, select Create and manage API tokens.
    5. Click Create API token with scopes.
      Create API token with scopes.
    6. On the Name API token form, enter Name, select an expiry date for the token, and click Next.
      Provide details to create token.
    7. On the Select the app form, select Jira and click Next.
      Select the Jira app.
    8. On the Select Jira scopes form, select the required scopes and click Next.
      Select the required scopes.

      For details about scopes needed to use the required spoke actions, see Required API token scopes.

    9. Review the API token scopes and click Create token.
      Review details and create token.
      API token is generated and displayed. Copy and record the token value for later use.
      Copy the token value.

    Configure a connection for Jira spoke

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

    Antes de Iniciar

    Role required: admin

    Procedimento

    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.
      Field Description
      Connection Name Name to uniquely identify the connection. For example, Jira spoke cloud basic conn.
      Connection URL URL of your Jira instance in this format: https://<provider-domain-name>.atlassian.net.
      Server Type Select cloud.
      User name Enter the email address of the user.
      API Key Enter the API token you generated for your Jira Cloud instance.

      Connection configuration for Jira Cloud.

    6. 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 2: Using basic authentication (API token with scopes).

    Category Action Description Scope required (Classic) Scopes required (Granular)
    Audit Management Look up Audit Logs Stream Retrieves login activity for the AtlassianJira user subscriptions.
    Nota:
    This action is supported on Jira Server 9 and earlier versions, and Jira Cloud.
    manage:jira-configuration read: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.
    Nota:
    This action is supported on Jira Server 9 and later versions.
    This action is supported only on Jira Server.
    Group Management Add User to Group Adds given user to a group in Jira. manage:jira-configuration write:group:jira, read:avatar:jira, read:group:jira, read:user:jira
    Create Group Creates a group in Jira. manage:jira-configuration read:group:jira, read:user:jira, write:group:jira, read:avatar:jira
    Look up Groups Stream Retrieves all groups in the Atlassian account, including the default groups.
    Nota:
    This action can be used with Jira Cloud subscription only.
    read:jira-user read:group:jira
    Look up Users by Group Name Stream Retrieves details of all members in an Atlassian group. manage:jira-configuration read:group:jira, read:user:jira, read:avatar:jira
    Remove Group Removes the given group from Jira. manage:jira-configuration delete:group:jira
    Remove User from Group Removes the given user from a group in Jira. manage:jira-configuration write:group:jira
    Issue Management Add Comment Adds a comment to the specified issue in Jira. write:jira-work read: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 Watcher Adds the specified user as a watcher for the specified issue. write:jira-work write:issue.watcher:jira
    Assign Issue Assigns the issue in Jira to the user. write:jira-work write:issue:jira
    Copy Attachment Copies the required attachment associated with the ServiceNow record to the required issue in Jira. write:jira-work read:user:jira, write:attachment:jira, read:attachment:jira, read:avatar:jira
    Create Issue Creates 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-work write:issue:jira, write:comment:jira, write:comment.property:jira, write:attachment:jira, read:issue:jira
    Delete Attachment Deletes the required attachment in Jira. write:jira-work delete:attachment:jira
    Delete Issue Deletes an issue in Jira. write:jira-work delete:issue:jira
    Delete Watcher Deletes the user as a watcher for the specified issue. write:jira-work write:issue.watcher:jira
    Do Transition Transitions an issue in Jira from one state to another. write:jira-work write:issue:jira, write:issue.property:jira
    Look up Issue Type Statuses by Project Retrieves details of the statuses in a project. read:jira-work read:issue-status:jira, read:issue-type:jira, read:status:jira
    Look up Issue Retrieves the details for an issue. read:jira-work read: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 Priorities Retrieves the list of issue priorities and details for individual issue priorities. write:jira-work, read:jira-work read:priority:jira
    Look up Issues Stream Retrieves a list of issues matching a JQL query string. read:jira-work read:issue-details:jira, read:audit-log:jira, read:avatar:jira, read:field-configuration:jira, read:issue-meta:jira
    Look up Sprint Issues Stream Retrieves 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 Transitions Retrieves information about all Transitions for a given Issue ID. read:jira-work read:issue.transition:jira, read:status:jira, read:field-configuration:jira
    Look up Watchers Retrieves the list of watchers for the specified issue. read:jira-work read:issue.watcher:jira, read:user:jira, read:avatar:jira
    Update Issue Updates a set number of fields of an issue in Jira with values passed as input. write:jira-work, read:jira-work write:issue:jira
    Metadata Retrieval Get Creatable Fields (Metadata) Retrieves the list of all fields in a required Jira project. write:jira-work, read:jira-work read: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-work read: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-work read:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
    Project Management Create Project Creates a project in Jira. manage:jira-configuration write:project:jira, read:project:jira
    Look up Project Retrieves details of the specified project by its ID or key. write:jira-work, read:jira-work read: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 Projects Retrieves details of all projects.
    Nota:
    This action only works for the Jira server.
    This action is supported only on Jira Server.
    Look up Projects Stream Retrieves details of all projects.
    Nota:
    This action only works for the Jira Cloud.
    read:jira-work read: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 Projects Retrieves a list of users that can be assigned to issues in one or more projects. read:jira-user read:project:jira, read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira
    Sprint Management Create Sprint Creates a sprint in Jira. No classic scopes are available. read:board-scope:jira-software , read:project:jira Create Sprint - write:sprint:jira-software
    Delete Sprint Deletes a sprint in Jira. No classic scopes are available. delete:sprint:jira-software
    Look up Sprint Retrieves the details of the required sprint as a complex object. No classic scopes are available. read:sprint:jira-software
    Look up Sprints by Board Retrieves the details of all sprints in the required board. No classic scopes are available. read:sprint:jira-software
    Update Sprint Updates the details of a sprint in Jira. No classic scopes are available. write:sprint:jira-software
    Story Management Create Story Creates a story in the Jira Cloud instance. This is comparable to story in the ServiceNow Agile Development plugin. write:jira-work write:issue:jira, write:comment:jira, write:comment.property:jira, write:attachment:jira, read:issue:jira
    Look up Stories Stream Retrieves details of all stories. read:jira-work read:issue-details:jira, read:field.default-value:jira, read:field.option:jira, read:field:jira, read:group:jira
    Update Story Updates a set number of fields of a story in Jira Cloud with the provided input values. write:jira-work write:issue:jira
    User Management Create User Creates a user in Jira.
    Nota:
    This action isn’t supported when OAuth 2.0 authentication is used.
    Scoped API token is not supported for this action.
    Look up Authenticated User Retrieves details of the authenticated user account. read:jira-user read:application-role:jira, read:group:jira, read:user:jira, read:avatar:jira
    Look up Group Memberships for User Retrieves details of all groups of an Atlassian user. read:jira-user read:group:jira
    Look up Users Stream Retrieves details of all Atlassian Jira user subscriptions.
    Nota:
    This action can be used with a Jira Cloud subscription only.
    read:jira-user read:user:jira, read:application-role:jira, read:avatar:jira, read:group:jira
    Look up Users Stream by Name Retrieves a list of users that match the search string.
    Nota:
    This action can be used with a Jira server subscription only.
    This action is supported only on Jira Server.
    Remove User Removes a user from Jira.
    Nota:
    This action isn’t supported when OAuth 2.0 authentication is used.
    Scoped API token is not supported for this action.
    Utility Actions Copy Issue Attachment to Record Copies 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 Fields Retrieves the internal name and other details of the required field label in Jira. read:jira-work read:field:jira, read:avatar:jira, read:project-category:jira, read:project:jira, read:field-configuration:jira
    Look up Issue from Comment Retrieves 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 Issue Retrieves 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-work read: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 Issue Retrieves 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-work read:comment:jira, read:comment.property:jira, read:group:jira, read:project:jira, read:project-role:jira, read:user:jira, read:avatar:jira
    Look up Server Retrieves general information about the current Jira instance. Any scope Any scope
    Webhook Management Look up Webhooks Retrieves details of all registered webhooks from the Jira instance. Scoped API token is not supported for this action.
    Subscribe Webhook Registers a webhook in the Jira instance. Scoped API token is not supported for this action.
    Unsubscribe Webhook Deletes the registered webhook in Jira instance. Scoped API token is not supported for this action.
    Update Webhook Updates webhook with the given ID in Jira.
    Nota:
    This action isn’t supported when OAuth 2.0 authentication is used.
    Scoped API token is not supported for this action.

    Option 3: Using OAuth authentication

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

    Antes de Iniciar

    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.

    Antes de Iniciar

    Role required: admin

    Procedimento

    1. Log in to Atlassian Developer console as an admin.
    2. Under My apps, click Create and select OAuth 2.0 integration.
      Create an OAuth 2.0 integration.
    3. On the form, provide name of the integration and click Create.
      Provide integration name.
      The integration is created and the value of App ID is displayed.
    4. Click Authorization.
      1. Click Add under Action.
        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
        Add Callback URL.
      3. Click Save Changes.
    5. Click Settings.

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

      Copy the values of Client ID and Client Secret.
    6. 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
      2. 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.

    Antes de Iniciar

    Role required: admin

    Procedimento

    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.

    Antes de Iniciar

    Role required: admin

    Procedimento

    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.
      Field Description
      Name Name to identify the application registry record. For example, Jira cloud OAuth app registry.
      Client ID Client ID generated when the OAuth 2.0 integration was created in Atlassian Developer console.
      Client Secret Client secret generated when the OAuth 2.0 integration was created in Atlassian Developer console.
      Default Grant type Grant type used to establish the token. Select Authorization Code.
      Authorization URL OAuth authorization code endpoint. Enter: https://auth.atlassian.com/authorize.
      Token URL OAuth server token endpoint. Enter: https://auth.atlassian.com/oauth/token.
      Redirect URL OAuth callback endpoint. System generates the URL upon saving the application registry.
      Refresh Token URL URL to refresh a token. Enter: https://auth.atlassian.com/oauth/token.
      Nota:
      This field is hidden in the form layout. Configure the form layout to show this field.
    5. In the OAuth Entity Scopes tab, create these entity scope records.
      Name OAuth scope
      delete:sprint:jira-software delete:sprint:jira-software
      manage:jira-configuration manage:jira-configuration
      manage:jira-project manage:jira-project
      manage:jira-webhook manage:jira-webhook
      offline_access offline_access
      read:issue-details:jira read:issue-details:jira
      read:jira-user read:jira-user
      read:jira-work read:jira-work
      read:jql:jira read:jql:jira
      read:sprint:jira-software read:sprint:jira-software
      write:jira-work write:jira-work
      write:sprint:jira-software write:sprint:jira-software
      read:board-scope:jira-software read:board-scope:jira-software
      read:project:jira read:project:jira
    6. Right-click the form header and click Save.
    7. Click the OAuth Entity Profiles tab and open the default record.
      For example, Jira OAuth Profile.
    8. 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.
    9. 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.

    Antes de Iniciar

    Role required: admin

    Procedimento

    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.
      Field Description
      Name Name to identify the credential record for the Jira spoke. For example, Jira cloud OAuth credential.
      OAuth Entity Profile Default 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.

    Antes de Iniciar

    Role required: admin.

    Procedimento

    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.
      Field Value required
      Name Enter any name to uniquely identify the connection record. For example, enter Jira cloud OAuth Connection.
      Credential Select the Credential record created for Jira. For example, select Jira cloud OAuth credential.
      Connection URL Enter the URL of your Jira instance in this format: https://api.atlassian.com/ex/jira/<Cloud-ID>.

      For information about obtaining the value of Cloud ID, see Obtain the value of Cloud ID.

    5. In the Attributes related list, provide these values.
      1. Enter the value 2 for api_version.
      2. Enter the value cloud for server_type.
      Attribute values.
    6. Click Submit.
    7. Navigate to All > Connections & Credentials > Credentials.
    8. Open the credential record you had created for the Jira spoke.
      For example, Jira OAuth credential.
    9. Click the Get OAuth Token related link.
      In a new window, system requests access to your Atlassian account.
    10. Click Accept.
      Access is granted to Atlassian account and a confirmation message is displayed in your ServiceNow instance that the refresh token is available.