The CreatorCon Call for Content is officially open! Get started here.

Having trouble passing comments from the ServiceNow incident record to the associated jira issue

lando321
Tera Contributor

Hello everyone, i have a flow that i built to take the comments from the incident record and post it to the associated jira issue, it works, but the comments are posted an insane amount of time of the Jira side, like hundreds. Has someone done this before and would be able to provide some insight? The incident and Jira issue are tied together by correlation ID. I just want it to where anytime a comment is made on a ServiceNow incident that has a Jira issue associated with it, for that comment to post on the Jira issue. I have attached a couple of images for reference as well

3 REPLIES 3

AnveshKumar M
Tera Sage
Tera Sage

Hello @lando321 

Is it possible for you to share the screenshots of the entire flow?

 

The script in Action is ok, I doubt the rest of the flow.

 

Thanks,
Anvesh

Hi @AnveshKumar M sure thing

CandyDee
Kilo Sage

Hey Lando, got your inbox. 

 

First thing you want to do is check the flow executions and see how many times that your 'Comments' flow has triggered to eliminate that. If it has triggered once in flow designer then its will be on the Jira Devs to trouble shoot as its will be triggering there flow X amount of times.

 

I didn't use a custom script step action for the Journal entry I did by doing a look up action to the Journal Entry  record but taking alook over yours it looks fine on the face of it.

See screen shots of the flow I used to do updates on Jira stories. Its very straight forward and simple flow.