<h2>Create an OAuth 2.0 integration in Jira account</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="task" /><meta name="DC.title" content="Set up the Jira spoke for Jira Cloud" /><meta name="abstract" content="Integrate your ServiceNow instance with the Jira Cloud instance to authenticate the requests from ServiceNow." /><meta name="description" content="Integrate your ServiceNow instance with the Jira Cloud instance to authenticate the requests from ServiceNow." /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2023-08-03" /><meta name="page-type" content="automation-engine" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="setup-jira-spk-opt2" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Set up the Jira spoke for Jira Cloud</title></head><body> <div class="nested0" id="setup-jira-spk-opt2"> <h1 class="title topictitle1" id="ariaid-title1">Set up the <span class="ph">Jira</span> spoke for <span class="ph">Jira</span> Cloud</h1> <div class="body taskbody"><p class="shortdesc">Integrate your <span class="ph">ServiceNow</span> instance with the <span class="ph">Jira</span> Cloud instance to authenticate the requests from <span class="ph">ServiceNow</span>.</p> <div class="section prereq p"> <div class="p"><ul class="ul" id="setup-jira-spk-opt2__ul_ent_2sr_gwb"><li class="li">Request an <span class="ph">Integration Hub</span> subscription</li><li class="li">Activate the <span class="ph">Jira</span> spoke</li><li class="li">Role required: admin</li></ul> </div> </div> <div class="section context" id="setup-jira-spk-opt2__context_fbl_jsr_gwb"> <p class="p">You can set up the <span class="ph">Jira</span> spoke for your <span class="ph">Jira</span> Cloud instance using basic authentication or OAuth authentication as per your requirement.</p> </div> </div> <div class="topic task nested1" id="setup-jira-v302"> <h2 class="title topictitle2" id="ariaid-title2">Option 1: Using basic authentication</h2> <div class="body taskbody"><p class="shortdesc">Integrate the <span class="ph">ServiceNow</span> instance and <span class="ph">Jira</span> Cloud instance using an API key to authenticate <span class="ph">ServiceNow</span> requests.</p> <div class="section" id="setup-jira-v302__section_p5f_lzx_hbc"><span>Demonstrates integrating the ServiceNow instance and Jira Cloud instance using an API key</span> </div> <div class="section prereq p" id="setup-jira-v302__prereq_vf3_l55_z3b"> <p class="p">Role required: admin.</p> </div> <div class="section context" id="setup-jira-v302__context_pfj_lyy_djb">You can integrate a <span class="ph">ServiceNow</span> instance with multiple <span class="ph">Jira</span> instances. For this integration, create a connection and credential alias record and a connection record for each <span class="ph">Jira</span> instance.</div> </div> <div class="topic task nested2" id="generate-jiratokenv302"> <h3 class="title topictitle3" id="ariaid-title3">Generate an Atlassian account API token</h3> <div class="body taskbody"><p class="shortdesc">Generate an <span class="ph">Atlassian</span> account API token to authenticate requests for spokes associated with an <span class="ph">Atlassian</span> account.</p> <div class="section prereq p" id="generate-jiratokenv302__prereq_i3p_ndz_4fb"> <p class="p">Make sure you have an <span class="ph">Atlassian</span> account.</p> <p class="p">Role required: <span class="ph">Atlassian</span> administrator credentials</p> </div> <div class="section context" id="generate-jiratokenv302__context_ntc_fnh_gfb">Complete these steps from your <span class="ph">Atlassian</span> account. See the <a class="xref" href="https://developer.atlassian.com/docs/" target="_blank" rel="noopener noreferrer">Atlassian Developer</a> portal documentation for instructions on generating your API token.<div class="note" id="generate-jiratokenv302__note_yty_y3k_jvb"><span class="notetitle">Note:</span> This procedure is applicable only if you're using the Jira Cloud subscription.</div> </div> <ol class="ol steps" id="generate-jiratokenv302__steps_j3p_ndz_4fb"><li class="li step stepexpand"> <span class="ph cmd">Log in to <a class="xref" href="https://start.atlassian.com/" target="_blank" rel="noopener noreferrer"><span class="ph">Atlassian</span> Start</a> as an admin.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Go to your account profile photo and select <span class="ph uicontrol">Account Settings</span>.</span> <div class="itemgroup info"> <div class="fig fignone" id="generate-jiratokenv302__fig_vqh_1pt_gwb"> <img class="image" id="generate-jiratokenv302__image_wqh_1pt_gwb" src="../image/jira-basic-settings.png" alt="Atlassian Start page with the drop down menu of the selected profile picture. Account Settings option emphasized." /> </div> </div> </li><li class="li step stepexpand"> <span class="ph cmd">Go to <span class="ph uicontrol">Security</span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">In the API token section, select <span class="ph uicontrol">Create and manage API tokens</span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Select <span class="ph uicontrol">API token</span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">On the form, provide an integration name for the <span class="ph uicontrol">Label</span> field.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Select <span class="ph uicontrol">Create</span>.</span> <div class="itemgroup info"> <div class="fig fignone" id="generate-jiratokenv302__fig_fv3_3qt_gwb"> <img class="image" id="generate-jiratokenv302__image_gv3_3qt_gwb" src="../image/jira-token.png" alt="The Create an API token modal with the Create button emphasized." /> </div> </div> <div class="itemgroup stepresult">The API token is generated.</div> </li><li class="li step stepexpand"> <span class="ph cmd">Select <span class="ph uicontrol">Copy</span> and record the value of the API token for later use.</span> <div class="itemgroup info"> <div class="fig fignone" id="generate-jiratokenv302__fig_sct_2pt_gwb"> <img class="image" id="generate-jiratokenv302__image_tct_2pt_gwb" src="../image/jira-api-token.png" alt="Confirmation modal of Your new API token with the Copy button emphasized." /> </div> </div> </li></ol> <div class="section postreq" id="generate-jiratokenv302__postreq_wjc_2y3_rzb">Use your API token to configure the cloud connection for a Jira or Jira Service Management spoke.</div> </div> </div> <div class="topic task nested2" id="jira-basic-conf-temp"> <h3 class="title topictitle3" id="ariaid-title4">Configure a connection for Jira spoke</h3> <div class="body taskbody"><p class="shortdesc">Add and configure a Jira connection to authenticate <span class="ph">ServiceNow</span> requests in Jira spoke.</p> <div class="section prereq p"> <p class="p">Role required: admin</p> </div> <ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">Process Automation</span> > <span class="ph uicontrol">Flow Designer</span></span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Click the <span class="ph uicontrol">Connections</span> tab.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Locate the <span class="ph uicontrol">Jira</span> connection alias and click <span class="ph uicontrol">View Details</span>.</span> <div class="itemgroup info"><ul class="ul" id="jira-basic-conf-temp__ul_p54_wrr_qwb"><li class="li">To configure the default connection and credential alias record that is shipped along with the Jira spoke, click <span class="ph uicontrol">View Details</span>.</li><li class="li">To manage more than one Jira spoke connection records, you should create a new child alias record by clicking <span class="ph uicontrol">Add Connection</span>. For more information about using multiple connections, see <a class="xref" href="../../integrationhub/concept/support-multiple-connections.html" title="Support several connections to a single integration provider. Select connections for flows, subflows, and actions directly from a flow.">Support multiple connections</a>.</li></ul> If you are configuring the spoke for the first time, click <span class="ph uicontrol">Configure</span>. Otherwise, click <span class="ph uicontrol">Edit</span>.</div> </li><li class="li step stepexpand"> <span class="ph cmd">On the <span class="ph uicontrol">Connection</span> form, fill in the fields.</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="jira-basic-conf-temp__table_tfv_3d5_h5b" class="table" frame="border" border="1" rules="all"><colgroup><col style="width:50%" /><col style="width:50%" /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry cellrowborder" style="vertical-align:top;" id="d334375e521">Field</th><th class="entry cellrowborder" style="vertical-align:top;" id="d334375e524">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e521 ">Connection Name</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e524 ">Name to uniquely identify the connection. For example, Jira spoke cloud basic conn.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e521 ">Connection URL</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e524 ">URL of your Jira instance in this format: https://<provider-domain-name>.atlassian.net.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e521 ">Server Type</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e524 ">Select <span class="ph uicontrol">cloud</span>.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e521 ">User name</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e524 ">Enter the email address of the user.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e521 ">API Key</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e524 ">Enter the API token you generated for your Jira Cloud instance.</td></tr></tbody></table> </div> <p class="p"><img class="image" id="jira-basic-conf-temp__image_g2p_vv2_p1c" src="../image/jira-cloud-basic.png" alt="Connection configuration for Jira Cloud." /></p> </div> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Create Connection</span>.</span> </li></ol> </div> </div> </div> <div class="topic task nested1" id="setup-jira-spk-oauth"> <h2 class="title topictitle2" id="ariaid-title5">Option 2: Using OAuth authentication</h2> <div class="body taskbody"><p class="shortdesc">Integrate the <span class="ph">ServiceNow</span> instance with your <span class="ph">Jira</span> account using OAuth to authenticate <span class="ph">ServiceNow</span> requests.</p> <div class="section" id="setup-jira-spk-oauth__section_bfc_tbh_ybc"><div class="embed-responsive embed-responsive-16by9"><iframe class="iframe embed-responsive-item" id="setup-jira-spk-oauth__object_klg_53y_hcc" src="https://player.vimeo.com/video/975244143?h=e12ca3f6f8&badge=0&autopause=0&player_id=0&app_id=58479"></iframe></div></div> <div class="section prereq p"> <p class="p">Role required: admin.</p> </div> </div> <div class="topic task nested2" id="create-oauth-int-jira"> <h3 class="title topictitle3" id="ariaid-title6">Create an OAuth 2.0 integration in <span class="ph">Jira</span> account</h3> <div class="body taskbody"><p class="shortdesc">Create an OAuth 2.0 integration in <span class="ph">Atlassian</span> Developer console to authenticate the requests.</p> <div class="section prereq p"> <p class="p">Role required: admin</p> </div> <ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">Log in to <a class="xref" href="https://developer.atlassian.com/console/myapps/" target="_blank" rel="noopener noreferrer"><span class="ph">Atlassian</span> Developer console</a> as an admin.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Under <span class="ph uicontrol">My apps</span>, click <span class="ph uicontrol">Create</span> and select <span class="ph uicontrol">OAuth 2.0 integration</span>.</span> <div class="itemgroup info"> <div class="fig fignone" id="create-oauth-int-jira__fig_nmh_ryr_gwb"> <img class="image" id="create-oauth-int-jira__image_pmh_ryr_gwb" src="../image/jira-oauth-int.png" alt="Create an OAuth 2.0 integration." /> </div> </div> </li><li class="li step stepexpand"> <span class="ph cmd">On the form, provide name of the integration and click <span class="ph uicontrol">Create</span>.</span> <div class="itemgroup info"> <div class="fig fignone" id="create-oauth-int-jira__fig_rdq_f1s_gwb"> <img class="image" id="create-oauth-int-jira__image_sdq_f1s_gwb" src="../image/jira-create-oauth.png" alt="Provide integration name." /> </div> </div> <div class="itemgroup stepresult">The integration is created and the value of <span class="ph uicontrol">App ID</span> is displayed.</div> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Authorization</span>.</span> <ol type="a" class="ol substeps" id="create-oauth-int-jira__substeps_djy_4ls_gwb"><li class="li substep substepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Add</span> under <span class="ph uicontrol">Action</span>.</span> <div class="itemgroup info"> <div class="fig fignone" id="create-oauth-int-jira__fig_t1y_4gs_gwb"> <img class="image" id="create-oauth-int-jira__image_rby_4gs_gwb" src="../image/jira-auth-add.png" alt="Authorization to access APIs." /> </div> </div> </li><li class="li substep substepexpand"> <span class="ph cmd">In <span class="ph uicontrol">Callback URL</span>, provide URL of your <span class="ph">ServiceNow</span> instance in this format: https://<ServiceNow-Instance-Name>.service-now.com/oauth_redirect.do.</span> <div class="itemgroup info">For example, https://example.service-now.com/oauth_redirect.do <div class="fig fignone" id="create-oauth-int-jira__fig_ycq_rgs_gwb"> <img class="image" id="create-oauth-int-jira__image_zcq_rgs_gwb" src="../image/jira-callback-url.png" alt="Add Callback URL." /> </div> </div> </li><li class="li substep substepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Save Changes</span>.</span> </li></ol> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Settings</span>.</span> <div class="itemgroup info"> <p class="p">Under <span class="ph uicontrol">Authentication details</span>, copy the values of <span class="ph uicontrol">Client ID</span> and <span class="ph uicontrol">Client Secret</span>.</p> <div class="fig fignone" id="create-oauth-int-jira__fig_m3z_3hs_gwb"> <img class="image" id="create-oauth-int-jira__image_n3z_3hs_gwb" src="../image/jira-client-id.png" alt="Copy the values of Client ID and Client Secret." /> </div> </div> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Permissions</span>.</span> <ol type="a" class="ol substeps" id="create-oauth-int-jira__substeps_gxf_yls_gwb"><li class="li substep substepexpand"> <span class="ph cmd">In <span class="ph uicontrol">Classic scopes</span>, ensure that you select these scopes.</span> <div class="itemgroup info"> <ul class="ul" id="create-oauth-int-jira__ul_vr2_fms_gwb"><li class="li">manage:jira-configuration</li><li class="li">manage:jira-project</li><li class="li">manage:jira-webhook</li><li class="li">read:jira-work</li><li class="li">read:jira-user</li><li class="li">write:jira-work</li></ul> </div> </li><li class="li substep substepexpand"> <span class="ph cmd">In <span class="ph uicontrol">Granular scopes</span>, ensure that you select these scopes.</span> <div class="itemgroup info"> <ul class="ul" id="create-oauth-int-jira__ul_bbm_sms_gwb"><li class="li">delete:sprint:jira-software</li><li class="li">read:issue-details:jira</li><li class="li">read:jql:jira</li><li class="li">read:sprint:jira-software</li><li class="li">write:sprint:jira-software</li><li class="li">read:board-scope:jira-software</li><li class="li">read:project:jira</li></ul> </div> </li></ol> <div class="itemgroup info">You can configure other scopes as per your requirement.</div> </li></ol> </div> </div> <div class="topic task nested2" id="jira-cloud-id"> <h3 class="title topictitle3" id="ariaid-title7">Obtain the value of Cloud ID</h3> <div class="body taskbody"><p class="shortdesc">Obtain the value of Cloud ID of the <span class="ph">Jira</span> Cloud instance. This value is required during the configuration of the connection record in your <span class="ph">ServiceNow</span> instance.</p> <div class="section prereq p"> <p class="p">Role required: admin</p> </div> <ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">Log in to <a class="xref" href="https://admin.atlassian.com/" target="_blank" rel="noopener noreferrer"><span class="ph">Atlassian</span> Administration</a> as an admin.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Select</span> against the required organization.</span> </li><li class="li step stepexpand"> <span class="ph cmd">From the <span class="ph uicontrol">Jira Software</span> product, click <span class="ph uicontrol">Manage product access</span>.</span> <div class="itemgroup stepresult">A new window is opened and the URL is in this format: https://admin.atlassian.com/s/<Cloud-ID>/apps.</div> </li><li class="li step stepexpand"> <span class="ph cmd">Copy the value of the Cloud ID for later use.</span> </li></ol> </div> </div> <div class="topic task nested2" id="create-app-reg-jira"> <h3 class="title topictitle3" id="ariaid-title8">Create an application registry in <span class="ph">ServiceNow</span> instance</h3> <div class="body taskbody"><p class="shortdesc">Use the information generate while creating the OAuth 2.0 integration to create an application registry record in your <span class="ph">ServiceNow</span> instance.</p> <div class="section prereq p"> <p class="p">Role required: admin</p> </div> <ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">All</span> > <span class="ph uicontrol">System OAuth</span> > <span class="ph uicontrol">Application Registry</span></span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">New</span>.</span> <div class="itemgroup stepresult">The system displays the message <samp class="ph systemoutput">What kind of OAuth application?</samp>.</div> </li><li class="li step stepexpand"> <span class="ph cmd">Select <span class="ph uicontrol">Connect to a third party OAuth Provider</span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">On the form, fill these values.</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="create-app-reg-jira__table_pcv_pfs_gwb" class="table" frame="border" border="1" rules="all"><colgroup><col style="width:50%" /><col style="width:50%" /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry nocellnorowborder" style="vertical-align:top;" id="d334375e1201">Field</th><th class="entry cell-norowborder" style="vertical-align:top;" id="d334375e1204">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1201 ">Name</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1204 ">Name to identify the application registry record. For example, Jira cloud OAuth app registry.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1201 ">Client ID</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1204 ">Client ID generated when the OAuth 2.0 integration was created in <span class="ph">Atlassian</span> Developer console.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1201 ">Client Secret</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1204 ">Client secret generated when the OAuth 2.0 integration was created in <span class="ph">Atlassian</span> Developer console.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1201 ">Default Grant type</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1204 ">Grant type used to establish the token. Select <span class="ph uicontrol">Authorization Code</span>.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1201 ">Authorization URL</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1204 ">OAuth authorization code endpoint. Enter: https://auth.atlassian.com/authorize.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1201 ">Token URL</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1204 ">OAuth server token endpoint. Enter: https://auth.atlassian.com/oauth/token.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1201 ">Redirect URL</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1204 ">OAuth callback endpoint. System generates the URL upon saving the application registry.</td></tr><tr class="row"><td class="entry row-nocellborder" style="vertical-align:top;" headers="d334375e1201 ">Refresh Token URL</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1204 ">URL to refresh a token. Enter: https://auth.atlassian.com/oauth/token.<div class="note" id="create-app-reg-jira__note_q3w_td3_rc2"><span class="notetitle">Note:</span> This field is hidden in the form layout. Configure the form layout to show this field.</div> </td></tr></tbody></table> </div> </div> </li><li class="li step stepexpand"> <span class="ph cmd">In the <span class="ph uicontrol">OAuth Entity Scopes</span> tab, create these entity scope records.</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="create-app-reg-jira__table_x23_bks_gwb" class="table" frame="border" border="1" rules="all"><colgroup><col style="width:50%" /><col style="width:50%" /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry nocellnorowborder" style="vertical-align:top;" id="d334375e1334">Name</th><th class="entry cell-norowborder" style="vertical-align:top;" id="d334375e1337">OAuth scope</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">delete:sprint:jira-software</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> delete:sprint:jira-software</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">manage:jira-configuration</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> manage:jira-configuration</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">manage:jira-project</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> manage:jira-project</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">manage:jira-webhook</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> manage:jira-webhook</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">offline_access</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 ">offline_access</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">read:issue-details:jira</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> read:issue-details:jira</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">read:jira-user</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> read:jira-user</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">read:jira-work</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> read:jira-work</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">read:jql:jira</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> read:jql:jira</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">read:sprint:jira-software</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> read:sprint:jira-software</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">write:jira-work</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> write:jira-work</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">write:sprint:jira-software</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 "> write:sprint:jira-software</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1334 ">read:board-scope:jira-software</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1337 ">read:board-scope:jira-software</td></tr><tr class="row"><td class="entry row-nocellborder" style="vertical-align:top;" headers="d334375e1334 ">read:project:jira</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1337 ">read:project:jira</td></tr></tbody></table> </div> </div> </li><li class="li step stepexpand"> <span class="ph cmd">Right-click the form header and click <span class="ph uicontrol">Save</span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Click the <span class="ph uicontrol">OAuth Entity Profiles</span> tab and open the default record.</span> <div class="itemgroup info">For example, <span class="ph uicontrol">Jira OAuth Profile</span>.</div> </li><li class="li step stepexpand"> <span class="ph cmd">In <span class="ph uicontrol">OAuth Entity Profile Scopes</span>, ensure that the same entity scopes are provided.</span> <div class="itemgroup info">Else, insert new rows and select the same entity scopes you had earlier provided in the <span class="ph uicontrol">OAuth Entity Scopes</span> tab.</div> </li><li class="li step stepexpand"> <span class="ph cmd">Right-click the form header and click <span class="ph uicontrol">Save</span>.</span> </li></ol> </div> </div> <div class="topic task nested2" id="jira-oauth-cred"> <h3 class="title topictitle3" id="ariaid-title9">Create credential record for the <span class="ph">Jira</span> spoke</h3> <div class="body taskbody"><p class="shortdesc">Create a credential record for the <span class="ph">Jira</span> account. The <span class="ph">Jira</span> spoke connection and credential alias uses this credential to authorize actions.</p> <div class="section prereq p"> <p class="p">Role required: admin</p> </div> <ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">All</span> > <span class="ph uicontrol">Connections & Credentials</span> > <span class="ph uicontrol">Credentials</span></span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">New</span>.</span> <div class="itemgroup stepresult">The system displays the message <samp class="ph systemoutput">What type of Credentials would you like to create?</samp> </div> </li><li class="li step stepexpand"> <span class="ph cmd">Select <span class="ph uicontrol">OAuth 2.0 Credentials</span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">On the form, fill these values.</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="jira-oauth-cred__table_pcs_vps_gwb" class="table" frame="border" border="1" rules="all"><colgroup><col style="width:50%" /><col style="width:50%" /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry nocellnorowborder" style="vertical-align:top;" id="d334375e1702">Field</th><th class="entry cell-norowborder" style="vertical-align:top;" id="d334375e1705">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d334375e1702 ">Name</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d334375e1705 ">Name to identify the credential record for the <span class="ph">Jira</span> spoke. For example, Jira cloud OAuth credential.</td></tr><tr class="row"><td class="entry row-nocellborder" style="vertical-align:top;" headers="d334375e1702 ">OAuth Entity Profile</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1705 ">Default OAuth entity profile record created when the application registry record is configured.</td></tr></tbody></table> </div> </div> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Submit</span>.</span> </li></ol> </div> </div> <div class="topic task nested2" id="jira-create-conn-oauth"> <h3 class="title topictitle3" id="ariaid-title10">Create a connection record for the <span class="ph">Jira</span> spoke</h3> <div class="body taskbody"><p class="shortdesc">Create a connection record for the <span class="ph">Jira</span> account. The connection and credential alias uses this connection to perform actions in <span class="ph">Jira</span>.</p> <div class="section prereq p"> <p class="p">Role required: admin.</p> </div> <ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">All</span> > <span class="ph uicontrol">Connections & Credentials</span> > <span class="ph uicontrol">Connection & Credential Aliases</span></span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Open the alias record for <span class="ph uicontrol">Jira</span> that shipped with the spoke.</span> </li><li class="li step stepexpand"> <span class="ph cmd">On the <span class="ph uicontrol">Connections</span> tab, click <span class="ph uicontrol">New</span>.</span> <div class="itemgroup stepresult">The system displays a blank HTTP(s) Connection form.</div> </li><li class="li step stepexpand"> <span class="ph cmd">Enter these values and click <span class="ph uicontrol">Submit</span>.</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="jira-create-conn-oauth__table_vsw_lkv_4fb" class="table" frame="border" border="1" rules="all"><colgroup><col /><col /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry cellrowborder" style="vertical-align:top;" id="d334375e1873">Field</th><th class="entry cellrowborder" style="vertical-align:top;" id="d334375e1876">Value required</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1873 ">Name</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1876 ">Enter any name to uniquely identify the connection record. For example, enter Jira cloud OAuth Connection.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1873 ">Credential</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1876 ">Select the Credential record created for Jira. For example, select <span class="ph uicontrol">Jira cloud OAuth credential</span>.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1873 "></td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1876 "></td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1873 ">Connection URL</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d334375e1876 ">Enter the URL of your Jira instance in this format: https://api.atlassian.com/ex/jira/<Cloud-ID>.<p class="p">For information about obtaining the value of Cloud ID, see <a class="xref" href="setup-jira-spk-opt2.html#jira-cloud-id" title="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.">Obtain the value of Cloud ID</a>.</p> </td></tr></tbody></table> </div> </div> </li><li class="li step stepexpand"> <span class="ph cmd">In the Attributes related list, provide these values.</span> <ol type="a" class="ol substeps" id="jira-create-conn-oauth__substeps_ppy_5bt_gwb"><li class="li substep"> <span class="ph cmd">Enter the value 2 for <span class="ph uicontrol">api_version</span>.</span> </li><li class="li substep"> <span class="ph cmd">Enter the value cloud for <span class="ph uicontrol">server_type</span>.</span> </li></ol> <div class="itemgroup info"><img class="image" id="jira-create-conn-oauth__image_pgv_xv1_f1c" src="../image/jira-cloud-api-attribute.png" alt="Attribute values." /></div> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Submit</span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">All</span> > <span class="ph uicontrol">Connections & Credentials</span> > <span class="ph uicontrol">Credentials</span></span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Open the credential record you had created for the <span class="ph">Jira</span> spoke.</span> <div class="itemgroup info">For example, <span class="ph uicontrol">Jira OAuth credential</span>.</div> </li><li class="li step stepexpand"> <span class="ph cmd">Click the Get OAuth Token related link.</span> <div class="itemgroup stepresult">In a new window, system requests access to your <span class="ph">Atlassian</span> account.</div> </li><li class="li step stepexpand"> <span class="ph cmd">Click <span class="ph uicontrol">Accept</span>.</span> <div class="itemgroup stepresult">Access is granted to <span class="ph">Atlassian</span> account and a confirmation message is displayed in your <span class="ph">ServiceNow</span> instance that the refresh token is available.</div> </li></ol> </div> </div> </div> </div> </body></html></div>