Jira Spoke integration Challenges

shrikant Kahar1
Tera Contributor

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.

 

shrikantKahar1_0-1757057251931.png

 

 

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

 

13 REPLIES 13

@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 ?  

 

@arnabbhaumik 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Bhuvan
Kilo Patron

@shrikant Kahar1 

 

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

Bhuvan_0-1757058878626.png

Bhuvan_1-1757059396772.png

Bhuvan_2-1757059418089.png

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

Bhuvan_3-1757059971604.png

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

@shrikant Kahar1 

 

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

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?

 

shrikantKahar1_0-1757315229619.png

Thanks,

Shrikant