Add/Merge data of several sources into one target field

Originally asked by Michael Sterr on 08 January 2021 (original question)


Hello,

We connected our Service Desk (Tickets) to Jira (Issues for development).

We want to sync the description of a source ticket to a target Jira custom field (multi-line text field). That works fine and we use the following command.

issue.customFields.“11101”.value = replica.description

We have cases were several source tickets will be connected to the same Jira issue but in such cases, the value of the custom field will be always overwritten by the newest connected ticket, so the previous data of the custom field is gone.

We want that the data will be added / merged in the custom field, so that the data of all connected source tickets is available in the Jira custom field. Is that possible?

Thank you