Having trouble with infinite loop of comments when sending comments ServiceNow to Jira, vice versa

Sandesh Powar
Mega Guru

Hello everyone,

Hoping someone has experienced an issue I am going through now. I am trying to pass comments between JIra and ServiceNow in both directions.

When I update the ServiceNow incident (additional comments) the comments go to the Jira issue comments fine, but then the comments start coming in bunches after about 30 or so seconds. Also, when I do the same from the Jira side, the comments show up in the activity stream numerous times.

I have notified that the sub flow is triggering multiple times.

Quick notes: Using a service account/ Oauth to connect to the Jira instance. Using JIra spoke Using web hooks Using flows/subflow to orchestrate the exchanges. Webhook in JIRA is set to: comments:created

13 REPLIES 13

Sandesh Powar
Mega Guru

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 incident, 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:

1. Add comments from Jira to ServiceNow:

 

Screenshot 2026-02-24 115337.png

2. Add comments from ServiceNow to jira:

 

Screenshot 2026-02-24 115530.png

 

 

as a result "Hello Jira from ServiceNow" copied back to servicenow
Screenshot 2026-02-24 115925.png

 

@Sandesh Powar 

you are sending which comment?

Is same comment coming again from JIRA?

check this link on how to fix it within ServiceNow

Comments syncing multiple times in ServiceNow to Jira Bi-Directional integration 

But I believe something needs to be updated at JIRA side as well

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

@Ankur Bawiskar 

I am sending the short description as a comment to Jira, and it is coming back to ServiceNow as a work note. This means the first flow adds the comment to Jira, and then the second (inbound) flow detects that comment and adds it back to ServiceNow as a work note, creating a loop.

As shown in the flow screenshots above, both flows are triggering each other.

and your provided article is just showing how to retrive comment,I’m already fetching the latest comment.

@Sandesh Powar 

then that's what I mentioned in my below post

JIRA should identify it's comments are getting updated by API User or an actual user

If they identify this then they won't send the same comment back to ServiceNow

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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