Sync custom field with summary field

Originally asked by GG on 28 February 2021 (original question)


Hi,

How can i sync single select list field with JIRA summary field?

Regards

GG


Answer by Ariel Aguilar on 24 March 2021

Hi GG,

Let’s pretend you have a connection between Jira A to Jira B:

If you want to have a Single Select field value received from Jira A to Summary in Jira B

In Jira A Ougoing Script you need to add the following snippet code:

replica.customFields."SingleListFIELD"  = issue.customFields."SingleListFIELD"

In Jira B Incoming Script you need to add the following snippet code:

issue.summary = replica.customFields."SingleListFIELD".value.value

Let me know if this works for you.

Thanks,

Ariel