Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Attachment sync trough tickets

Christian Humer March 25, 2024


We have actual the requirement to sync attachments between a service management project and software project in both directions. That means if some customer on the servicemanagement portal adds an attachment it has to be added also on a linked software project ticket. and also in the other direction, if somone adds a ticket on the software project ticket it has to be added also on the linked service management ticket.

The 1st aproach was to use just automations with the trigger "fiel value changed", but this is not working if someone in the software project is adding an attachment and we want put this attachment also on the linked servicemanagement ticket.

After investigating I found out that just rest api can help

So I used the api call get-issue which returns me all attachments from a ticket

But now I have a problem that I dont know how to loop trough the attachments data which is basically an array of attachments. 

Screenshot 2024-03-25 091728.pngMy plan is to loop trough them and add the data also to the linked ticket.

Has someone an idea?



Log in or Sign up to comment
AUG Leaders

Atlassian Community Events