- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2021 11:37 AM
Hello,
I'm trying to copy comments between Jira and ServiceNow using Jira spoke and flow designer, but have found myself stuck in a loop between the two. When a comment is added to an RITM, it's added to Jira. However, once that comment is added to Jira, it's copied back over to ServiceNow. Can anyone help in modifying this to work properly? Below is what I'm using:
Copy comments from Jira to ServiceNow:
1. I'm using a copy of the included Jira webhook subflow with the following actions added.
Copy comments from ServiceNow to Jira:
1. Business rule to trigger a flow designer flow
2. Triggered flow
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2021 11:58 AM
Use gs.isInteractive() in your BR conditions
The isInteractive() method checks if the current session is interactive. An example of an interactive session is when a user logs in using the log-in screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2021 11:58 AM
Use gs.isInteractive() in your BR conditions
The isInteractive() method checks if the current session is interactive. An example of an interactive session is when a user logs in using the log-in screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2021 12:32 PM
Thanks Pranesh,
Using gs.isInteractive() resolved the issue I had with copying unnecessary comments to the Jira case. I'm halfway there now.
Would you have any ideas on how I can change the webhook flow so that when a comment is copied from ServiceNow to Jira, the flow doesn't attempt to add this comment back to the RITM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2021 12:44 PM
Sorry cant help you in webhook side. You can search stackoverflow for this.
Maybe this will help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2021 08:15 AM
Is this the only line of code that needs to be in the BR advanced tab?