Skip to main content

Integration & IT Modernization

ServiceNow and Jira Integration

Istock 960790462 (1)

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:

  1. Integrate project in ServiceNow and Jira.
  2. View available Jira projects and boards in ServiceNow.
  3. Perform a bulk import of records from Jira to ServiceNow.
  4. Perform single record updates between Jira and ServiceNow.
  5. Avoid duplicating record update entries in Jira and ServiceNow.
  6. Plan, track, and update your tasks from a single application.

Methods Used for Integration

  1. 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.
  2. 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:

Restjira

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
  1. Navigate to: System Web Services > Outbound > REST Message > Create New
  2. Below is example of REST message for creating an issue in Jira.

Screenshot1

2. Jira to ServiceNow Communication:

  1. Need to use Scripted Rest API to generate call-back URL, which can be used in Webhook creation in Jira.
  2. Navigate to: System Web Service > Scripted Rest API > click New
  3. Fill in details and submit.
  4. In Related List > Resources > Create New, below is an example of the update issue in ServiceNow from Jira.

Screenshot2

Method 2 – ServiceNow IntegrationHub and Jira Spoke

Design Diagram:

Jiracloud

  1. Need Jira Spoke in ServiceNow instance.
  2. Need Integration Hub Professional pack in ServiceNow instance.
  3. 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.

  1. ServiceNow and Jira Cloud Integration.
  2. ServiceNow and Jira on Premise Integration.

1. ServiceNow to Jira Communication:

  1. Install the Jira Spoke.
  2. ServiceNow supports basic authentication to integrate with Jira.
  3. Navigate to IntegrationHub > Credentials > Jira
  4. Provide user ID and password of “Service Account” of Jira.
  5. Screenshot3Navigate to IntegrationHub > Connection & Credential Aliases > Jira
  6. Name – any meaningful name.
  7. Credentials – Provide credentials created in step 3.
  8. Connection URL – Jira instance URL
  9. Use Mid Server – True for Jira on-premise and false for Jira Cloud.Screenshot4
  10. As Jira Spoke installs, we can see many options performed in Jira from the ServiceNow Flow Designer.Screenshot5
  11. Below is an example of the creation of an issue in Jira form Flow Designer using Spoke.

Screenshot6

2. Jira to ServiceNow Communication:

  1. Jira to ServiceNow integration will not change based on Jira type.
  2. Webhooks are used for Jira to ServiceNow connection.
  3. Navigate to Jira > Jira Webhook Registry
  4. Create a new record with the token, and click on “Callback URL” to get the webhook URL.
    Screenshot7
  5. Create Webhook in Jira with the above Callback URL.
  6. With trigger from Jira, in ServiceNow, we need to create a Routing Policy to trigger a different sub flow to perform a particular action.
  7. Navigate to Jira > Jira Webhook Routing Policies. Create a new policy.
  8. Label – Name of policy.
  9. Condition – After satisfying the specified condition mentioned, the flow will trigger.
  10. Answer – Flow that needs to be triggered for action.
    Screenshot8
  11. Below is an example of updating demand in ServiceNow from Jira issue fields.

Screenshot9

Advantage of Using Jira Spoke Over REST API

  1. Predefined actions are available in Flow Designer to perform operations and communicate with Jira issues, users, etc.
  2. The user-friendly language used to describe flows helps non-technical users to better understand.
  3. Reusable actions in Flow cut down development costs and save time.
  4. Upgrades are safe and reduces costs involved with ServiceNow platform replacing complex custom scripts.
  5. 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.

Thoughts on “ServiceNow and Jira Integration”

  1. Mahesh Mudragaddam

    Great to See this Post to showcase the capability on Integration – Thank you Narsimharmurty Dewarkonda

  2. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Narsimhamurty Dewarkonda

Narsimhamurty is a Senior Technical Consultant at Perficient, works on ServiceNow platform. He is ServiceNow CSA and CIS – Discovery certified. He has experience in ServiceNow Modules like ITSM, ITOM, and ServiceNow Integrations.

More from this Author

Follow Us