ServiceNow to Jira integration state/status mapping and transitions, can someone help please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2025 04:28 AM
Hi,
I am working on a story which maps the servicenow story (sn_safe_story) 'state' to the jira issue type=story and field 'status' for a project called CLDSN
I have done project style mappings on the JSON
I have also created the table map and the field maps for the relevant project. All the field maps for all the other fields, like short description to jira summary or priority to jira priority are working and when I raise a story in serviceNow, it goes to the Jira side and fills the relevant fields, however after doing the state mapping, this is not happening at all. I create a story on ServiceNow and it does not go to the Jira side at all. What do I need to do this? Where do the transitions come in?
I spoke to someone on my team and he said "the Jira API does not use Status directly, but uses Transitions. So, for example, to move a Jira issue to Cancelled, you would use the Cancel transition." How would I do the same? He created a fix script (which points to a script include) for demand integration which sets these through transitions, but I am not sure what the logic is behind choosing some states and not all and just the general logic.
So for example the serviceNow demand (dmn_demand) state=Awaiting user(value 5) is mapped to Jira status=With customer as per the project style mapping.
In the field map of demand, the state=Awaiting user is mapped to jira status = Incomplete
In the script include this is what I see:
What is going on? how is this logic thought of, how is the value with customer and incomplete related, how do you find that the state awaiting user (on snow side) maps to with customer (on jira status) but incomplete (in jira transitions)?
For example, I have to map the story state = work in progress to jira status = in development. I have done that in the project style mapping in the JSON, but when it comes to the field mapping, what would I use? Simply mapping them 1:1 is causing the problem and nothing is going to Jira side.
Can someone please help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2025 04:48 AM
Dear @snow_beginner
You might want to explore Exalate for this—it can help with complex field and state mappings between ServiceNow and Jira, including handling transitions and syncing states like “Work in Progress” or “Awaiting User” more smoothly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 04:27 AM
thanks for the guidance. I am off the project now but will refer back to this if needed.