Troubleshooting Agile Jira Integration with Enterprise Agile PlanningIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Troubleshooting Agile Jira Integration with Enterprise Agile Planning Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Problem 1: Understanding Enterprise Agile Planning vs. Agile 2.0 Resolution: ServiceNow SPM offers two agile planning solutions. Understanding which one to use is critical for successful Jira integration. Step 1: Know the Differences Legacy Agile 2.0 (Agile Board): Original planning solution used internally within ServiceNowUsed for sprint planning, story planning across sprints, and capacity planningConnects with both Jira and Azure DevOpsConsidered legacy - ServiceNow is moving away from this solution New Enterprise Agile Planning (EAP): Part of Strategic Planning Workspace (SPW)Redesigned and rebuilt with new workspace experienceCurrently integrates with Jira (Azure DevOps planned for Q3 2026)Contains sprints, stories, epics, and featuresRecommended as the latest and greatest solution Step 2: Choose Your Path For new integrations: Use Enterprise Agile Planning (EAP)For existing Agile 2.0 instances: Plan migration to EAPBoth solutions coexist during transition period Step 3: Related Plugins Strategic Planning (SPW) Plugin = Enterprise Agile PlanningAtlassian Jira Integration for Agile Development (sn_agile_jira_int) = Legacy Agile 2.0 Problem 2: Setting Up the Jira Integration Connection Resolution: Follow these steps to establish a secure connection between ServiceNow and Jira. Step 1: Navigate to Guided Setup Go to: All > Agile Jira Integration > Guided Setup Select "Start New Setup" for a new integration Or select "Continue" if you have a setup in progress When you connect Agile Development 2.0 to Jira, a webhook is registered in Jira which receives the following event updates between Jira and Agile Development 2.0. Creating or updating projects.Creating, updating, or deleting information of epic, story, sprint, and any custom table maps and their fields. https://www.servicenow.com/docs/r/zurich/it-business-management/atlassian-jira-integrations-common/connect-sn-agile-with-jira.html?section=connect-sn-agile-with-jira Problem 3: Discovering and Importing Jira Projects Resolution: After connection is established, import all Jira projects into ServiceNow. Step 1: Discover Projects Click "Discover Projects" button in guided setup ServiceNow queries Jira API for all available projects An import request is created and processes in the background Step 2: Review Import Results Check import request status: Number of projects discoveredProjects successfully importedAny errors or warnings Step 3: Troubleshoot Missing Projects If projects are not appearing: Verify Jira connection is "Connected" stateCheck Jira user has access to projectsReview system logs for API errorsRun Diagnostics module to identify issues Step 4: Verify Mapping Configuration Auto-Generated During discovery, ServiceNow auto-creates mapping configurations Each Jira project has a corresponding project mapping Field and table mappings are initialized with defaults https://www.servicenow.com/docs/r/it-business-management/atlassian-jira-integrations-common/discover-projects.html Problem 4: Configuring Data Mapping Between Systems Resolution: Map data correctly so work items sync properly between systems. Step 1: Understand Default Mappings Out-of-box mappings include: Story (RM Story) ↔ Jira Story work itemEpic ↔ Jira Epic work itemFields: State, Priority, Story Points, Assignments Step 2: Review and Adjust Table Maps Navigate to: Strategic Planning > Jira Integration > [Project] > Table Maps Verify each work item type is mapped correctly Add custom table maps if you use custom work item types (Feature, Capability) For custom types, you must also create a business rule Step 3: Configure Field Maps Go to: Strategic Planning > Jira Integration > [Project] > Field Maps Review out-of-box field mappings (state, priority, etc.) Add custom field mappings for fields beyond out-of-box Ensure all required fields are mapped Step 4: Configure Choice Maps For fields with choices (status, priority), create choice maps Map ServiceNow choice values to Jira choice values Example: ServiceNow "Completed" ↔ Jira "Done" Ensure all status values have a corresponding mapping Step 5: Create Team Integration Settings Map Jira projects to ServiceNow teams: Navigate to: Strategic Planning > Jira Integration > [Project] > Team Integration SettingsSelect Jira project and EAP team to linkCritical: Without team integration settings, work items will not sync https://www.servicenow.com/docs/r/it-business-management/atlassian-jira-integrations-common/jira-sn-field-mapping.html Problem 5: Enabling and Testing Real-Time Synchronization Resolution: You can import existing issues from Jira projects as stories and epics, and existing sprint data from Jira boards as sprints to Agile Development 2.0. After importing the available data, any updates that you make to the epic, story, or sprint records will be synchronized automatically in both Jira and Agile Development 2.0. Navigate to All > Agile Jira Integration > Jira Instances.Open your Jira instance record.From the Jira Projects related list, open the project that is associated to a Jira board from which you want to import the sprints.Enable the import and export of Issues/Sprints by selecting the Enable Import and Enable Export options as applicable. https://www.servicenow.com/docs/r/it-business-management/atlassian-jira-integrations-common/importing-issues-and-sprints-from-jira-to-agile-dev-2.0.html Problem 6: Performing Bulk Historical Import Schedule a job to auto-import issues and sprints periodically from Jira into Agile Development 2.0. https://www.servicenow.com/docs/r/it-business-management/atlassian-jira-integrations-common/schedule-jobs-to-import-issue-from-jira.html Problem 7: Authenticating with OAuth 2.0 and Managing Credentials Resolution: OAuth 2.0 is more secure than basic authentication and will be required after December 2025. Step 1: Understand OAuth 2.0 Benefits ServiceNow accesses Jira without storing credentialsUses delegated authorization with granular scopesMore secure than basic auth or personal access tokensToken can be revoked anytime from Jira admin console Step 2: Create Jira OAuth App Go to: Atlassian Developer Portal (developer.atlassian.com) Create new OAuth app with these settings: OAuth 2.0 (Confidential)Redirect URI: https://your-instance.service-now.com/oauth_callbackSelect required scopes (see Step 4 below) Step 3: Add OAuth App to Jira Site Go to: Jira Settings > OAuth Apps Add the ServiceNow OAuth app Grant authorization Save Client ID and Client Secret Step 4: Use Classic Scopes (Not Granular) Required scopes (use CLASSIC scopes only): manage:jira-configurationmanage:jira-projectmanage:jira-webhookread:jira-workread:jira-userwrite:jira-workWARNING: Granular scopes have known compatibility issues. Step 5: Configure OAuth in ServiceNow In guided setup, select OAuth 2.0 method Enter Client ID and Client Secret from Jira app Click "Get OAuth Token" ServiceNow redirects to Jira for authorization Grant permission (you will be redirected back) Tokens are stored securely in credential record Step 6: Basic Auth is deprecated (while it still works) in Atlassian. We suggest to use OAuth 2.0 for better enhanced security. https://www.servicenow.com/docs/r/australia/integrate-applications/integration-hub/setup-jira-spk-opt2.html Problem 8: Troubleshooting with Diagnostics and Support Resolution: Use SPW diagnostics to identify and resolve common integration issues. Step 1: Run Diagnostics Module Navigate to: Strategic Planning > Jira Integration > Diagnostics Select all diagnostics or specific ones to run Results show: ✅ Pass, ❌ Fail, ⚠️ Warning Step 2: Common Diagnostic Issues and Fixes Empty Username in Credentials: Issue: Integration user not identified for cyclic payload preventionFix: Add username to credential record Duplicate Webhooks: Issue: Multiple webhooks cause duplicate recordsFix: Manual removal from Jira admin console Orphan External Records: Issue: Records deleted without external ID cleanupFix: Run diagnostic to delete orphan external IDs Connection Failure: Issue: Cannot reach Jira instanceFix: Verify URL, credentials, and network connectivity Webhook Not Registered: Issue: Webhook not active or respondingFix: Manual registration in Jira settings Step 3: Check System Logs Navigate to: System Logs Search for errors related to Jira integration Filter by specific timestamp or error type Review error messages for specific issue details Step 4: Review Flow Executions Go to: Flow Designer > All Flows Search for relevant flow (e.g., "Process Agile Issue Flow") Review recent executions: ✅ Success - completed without errors❌ Error - failed at specific step⏳ Pending - waiting in execution queue https://www.servicenow.com/docs/r/it-business-management/atlassian-jira-integrations-common/agile-jira-integration-troubleshooting.html Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Useful Resources: OAuth 3LO for Jira integration – https://support.servicenow.com/kb?id=kb_article_view&sys_kb_id=f313ca1e93267a58f538fb2d6cba10ab FAQs on Jira integration - https://www.servicenow.com/community/spm-articles/troubleshooting-issues-of-jira-integration-with-a… Agile Jira Integration: https://www.servicenow.com/docs/r/it-business-management/atlassian-jira-integrations-common/agile-jira-integration-overview.html