Why Integrate Jira with ServiceNow?
Teams using Jira and ServiceNow will collect and organize large amounts of data. Much of this data is useful to other teams. If two teams use these platforms separately, connecting them can benefit an organization.
Integrating the platforms allows you to share data automatically and precisely control how the data exchange occurs. The manual exchange of data between two systems will decrease.
Use Cases:
- Integrate project in ServiceNow and Jira.
- View available Jira projects and boards in ServiceNow.
- Perform a bulk import of records from Jira to ServiceNow.
- Perform single record updates between Jira and ServiceNow.
- Avoid duplicating record update entries in Jira and ServiceNow.
- Plan, track, and update your tasks from a single application.
Methods Used for Integration
- ServiceNow Rest API: ServiceNow Outbound Rest API can be used to create issues and update issues in Jira. Scripted Rest API needs for Jira to ServiceNow communication.
- ServiceNow Integration Hub: Jira Spoke can be used for managing issues, users, stories, and groups in Jira. Predefined sub-flows can be used for Jira to ServiceNow communication.
Method 1 – ServiceNow Rest API
Design Diagram:
1. ServiceNow to Jira Communication:
You need to create REST Outbound messages for different endpoints – a few examples are mentioned below.
Operation | URL | Method |
Create Issue | https:// <Jira URL>/rest/api/3/issue | POST |
Update Issue | https://<JiraURL>/rest/api/3/issue/{issueIdOrKey} | PUT |
Get Issue | https://<JiraURL>/rest/api/3/issue/{issueIdOrKey} | GET |
Delete Issue | https:// <Jira URL>/rest/api/3/issue/{issueIdOrKey} | DELETE |
- Navigate to: System Web Services > Outbound > REST Message > Create New
- Below is example of REST message for creating an issue in Jira.
2. Jira to ServiceNow Communication:
- Need to use Scripted Rest API to generate call-back URL, which can be used in Webhook creation in Jira.
- Navigate to: System Web Service > Scripted Rest API > click New
- Fill in details and submit.
- In Related List > Resources > Create New, below is an example of the update issue in ServiceNow from Jira.
Method 2 – ServiceNow IntegrationHub and Jira Spoke
Design Diagram:
- Need Jira Spoke in ServiceNow instance.
- Need Integration Hub Professional pack in ServiceNow instance.
- Flow Designer can be used for operations in sprint management, project management, issue management, etc.
Jira can be on-premise and in the Cloud; your integration with ServiceNow will differ depending on the type.
- ServiceNow and Jira Cloud Integration.
- ServiceNow and Jira on Premise Integration.
1. ServiceNow to Jira Communication:
- Install the Jira Spoke.
- ServiceNow supports basic authentication to integrate with Jira.
- Navigate to IntegrationHub > Credentials > Jira
- Provide user ID and password of “Service Account” of Jira.
- Navigate to IntegrationHub > Connection & Credential Aliases > Jira
- Name – any meaningful name.
- Credentials – Provide credentials created in step 3.
- Connection URL – Jira instance URL
- Use Mid Server – True for Jira on-premise and false for Jira Cloud.
- As Jira Spoke installs, we can see many options performed in Jira from the ServiceNow Flow Designer.
- Below is an example of the creation of an issue in Jira form Flow Designer using Spoke.
2. Jira to ServiceNow Communication:
- Jira to ServiceNow integration will not change based on Jira type.
- Webhooks are used for Jira to ServiceNow connection.
- Navigate to Jira > Jira Webhook Registry
- Create a new record with the token, and click on “Callback URL” to get the webhook URL.
- Create Webhook in Jira with the above Callback URL.
- With trigger from Jira, in ServiceNow, we need to create a Routing Policy to trigger a different sub flow to perform a particular action.
- Navigate to Jira > Jira Webhook Routing Policies. Create a new policy.
- Label – Name of policy.
- Condition – After satisfying the specified condition mentioned, the flow will trigger.
- Answer – Flow that needs to be triggered for action.
- Below is an example of updating demand in ServiceNow from Jira issue fields.
Advantage of Using Jira Spoke Over REST API
- Predefined actions are available in Flow Designer to perform operations and communicate with Jira issues, users, etc.
- The user-friendly language used to describe flows helps non-technical users to better understand.
- Reusable actions in Flow cut down development costs and save time.
- Upgrades are safe and reduces costs involved with ServiceNow platform replacing complex custom scripts.
- Low code to no-code environment for integration.
Perficient + ServiceNow
We excel with ServiceNow’s IT Service Management (ITSM) capabilities. ITSM refers to all the activities involved in designing, developing, deploying, supporting, and managing the life cycle of IT services. We can help customers and prospects consolidate to a single, modern cloud IT solution using the Now Platform and IT service and operations workflows to increase IT productivity, predict and prevent issues, and deliver compelling service experiences.
We have ServiceNow certified Implementation Specialists in IT Service Management, Customer Service Management, Human Resources, CMDB, Discovery, and App Engine and Administration. We can holistically assess and address a broad range of workflow integration projects with the ability to deliver success from concept to launch and beyond.
To learn more about Perficient’s ServiceNow expertise, subscribe to Perficient’s blog, and follow us on LinkedIn and Twitter.
Great to See this Post to showcase the capability on Integration – Thank you Narsimharmurty Dewarkonda
I’ve been looking for information on this subject for a while, and your blog provided a concise and clear overview. Thanks for your valuable content.
Here is sharing PTC Windchill Admin concepts may be its helpful to you.