Originally asked by Cristian Moldovan on 30 July 2020 (original question)
We would like to have the Github ticket numbers migrated to Jira.
How can I set it up in the config?
Originally asked by Cristian Moldovan on 30 July 2020 (original question)
We would like to have the Github ticket numbers migrated to Jira.
How can I set it up in the config?
Answer by André Leroy-Beaulieu Castro on 30 July 2020
Hi Cristian!
By default your GitHub Outgoing Script already includes this GitHub ticket number with the line:
replica.key = issue.key
To get this value into a field in Jira, I would recommend to create a Text type Custom Field, for example “GitHub Issue Number”
and then you can use the following line in your Incoming Script in Jira:
issue.customFields."GitHub Issue Number"?.value = replica.key
Thanks,
André