Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Jira to ServiceNow Integration

manju5
Tera Contributor

Hi,

 

I am sending the attachment from Jira to ServiceNow, It's is working partially like when I add attachment in Jira it is updating but in ServiceNow it is attaching twice. I shared the code below please check the code and let me know where am I wrong.

manju5_0-1701427339941.png

 

Thanks,

Manju

9 REPLIES 9

manju5
Tera Contributor

Hi @ Anand,

 

I have removed but it is not working.

 

Thanks,

Manju

Jack Littlewort
Giga Guru

Hi @manju5 ,

 

You have a for loop there, presumably this is looping twice and creating two attachments?

 

Thanks,

 

Jack

Hi @Jack Littlewort ,

 

Yes, It is attaching twice.

 

Thanks,

Manju

JackLittlewort_0-1701430080198.png

Is attLength = to 2?