Jira - ServiceNow Integration
Jira - ServiceNow Integration
Jira - ServiceNow Integration
A. Tools:
Jira: JIRA is a proprietary issue tracking product, developed by Atlassian. It provides bug
tracking, issue tracking, and project management functions.
ServiceNow: ServiceNow ITSM solutions give you end to end visibility into your ITIL
processes and infrastructure through a single system of record — making it possible to
consolidate fragmented tools and legacy systems while automating service management
processes. ServiceNow is easy to configure and allows you to go live quickly with confidence,
while scaling to your business needs. With a simple and consistent approach, you increase
efficiency, lower costs, and devote more time to innovating and delivering the modern,
consumer-like, self-service experience your employees expect.
B. Purpose:
This version of the Jira Integration is designed to be a two-directional Proof of Concept
integration that was done to demonstrate that communication to a Jira bug tracking system
would be possible through ServiceNow.
Once this update Set is applied, and the proper settings are typed into the settings page, this
Proof of Concept will sync uni-directionally with a Jira Installation. Web Service Import Sets
have been created to facilitate the creation of a two-way synchronization, but this would
need to be done on the Jira side. More information can be found further in this
documentation.
b. In Jira:
i. Create a Sample project e.g. Test sample project (TST).
(NOTE: This key (TST) has to be provided in ServiceNow Jira Settings Jira
Project Key.
ii. Create a Custom Field as ‘ServiceNow Syne’.
Technical Aspects of Integration:
1. Architecture:
2. Integration Flow
This proof of concept demonstrates the ability of users in ServiceNow to create an Incident ticket
that gets synchronized as a JIRA issue within a specified project. Only incidents marked as a “Jira
Issue” will be synchronized.
When creating an incident in ServiceNow, the user must set the Category field to be “JIRA Issue”.
From there, the Subcategory field will be populated with supported types of JIRA Issues. The user
will select the appropriate issue type.
When the incident is created, the information is sent to JIRA and a corresponding ticket is created.
JIRA responds to ServiceNow with the ticket information that was created. ServiceNow records that
information both as a comment and saves the unique ticket ID in the incident’s “Correlation ID” field.
When a corresponding JIRA issue is created, the ticket information is stored in a comment on the ServiceNow incident
record.
After the JIRA issue is created, ServiceNow will store the JIRA ticket number in the incident’s “Correlation ID” field. It
will also set the “Correlation Display” field to ‘JIRA Integration’.
Once this handshake has taken place, if you were to go and view the incident record, you will notice
a button labeled: “View JIRA Record”. When this button is clicked, a new window will pop up with
the JIRA issue shown.
If someone were to add a comment on the ServiceNow incident, the comment is sent to the JIRA
instance and added to it’s comment history.
If a technician were to add a comment to the JIRA issue, that comment will be brought it either 1) by
a scheduled query that ServiceNow can make to the JIRA issue on a regular basis, or 2) a web service
call made from JIRA to the Inbound JIRA Web Service Import Set endpoint.
State changes in ServiceNow will be reflected in JIRA and vice/versa.
var s = source.u_status;
Because this is just a simple Proof of Concept, we only integrate with a small number of fields to get
the idea that we can synchronize between the two systems. The fields currently integrated in this
integration are:
1. Create the new fields in the WSDL table i.e. u_jira table and check whether those fields are
reflecting in the inbound web service fields.
2. Add the newly created fields in the transform map and update the transform map.
3. Update the business rule JiraIntegration – CreateIssue with the new fields as shown below
and save the BR.