Jira Spoke integration Challenges
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello All,
I have configured the bidirectional Jira-Servicnow Integration using Jira spoke which is working but I'm facing some challenges while configuring and they are..
1. When I'm commenting from Jira side at the ServicneNow side it's showing comment created by "System". I want this system should replace by integration user.
2. A Jira status and Incident state both are having different values then how I can manage that by using flow designer script for bidirectional communication?
Note: I Don't want to use custom field or any script like Client script or Business Rule.
Thanks in Advance
Shrikant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago - last edited 2 weeks ago
@Ankur Bawiskar can you explain this part ? Are you talking about storing mapping values as JSON object in the property?
-> create system property to map which incident State maps with which JIRA status ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
yes mapping of incident state and jira status as JSON in system property.
Then in your flow you can grab the property value, search the INC state and then parse and get the JIRA status and then send it to JIRA
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
1. Flow can be created to run as system user or user who initiated the session. It is recommended to use system user to avoid unforeseen integration issues. If it a MUST have requirement, check the flow action that process JIRA updates to incident work notes and add a mapping for sys_created_by to integration user by toggling to scripting mode
2. Check if there is any state map maintained for the integration that can be easily adjusted. If not available and if number of state choices are limited, create a flow variable, flow logic IF condition and set the flow variable value before doing the incident state mapping. This can be handled easily by creating a subflow and calling it inside flow
If this helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Did you get a chance to review this ?
If my response helped to answer your query, please mark it helpful & accept the solution.
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @Bhuvan ,
for the first que I changed run as to user who initiate the session, but it didn't work. Then i added random role then it's coming as a "guest".
can you please explain in brief?
Thanks,
Shrikant