Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
Hi,
we want to sync a jira system field with an hp alm custom field and an hp alm system field with a jira custom field.
Hp alm system field has different values with the jira custom field, so mapping for the values is also necessary.
We tried like this:
Jira:
Icoming:
def ReproDefectMap = ["Y": "Yes", "N": "No"] // ["remote options" : "local option"]
def remoteRepro = replica.reproducible.name
issue.customFields."CF".value = ReproDefectMap [remoteRepro] ?: remoteRepro
outgoing:
replica.customFields."CF".value = issue.components.name
Hp Alm:
Incoming:
defect.customFields."CF".value = replica.customFields."CF"?.value
outgoing:
replica.reproducible = defect.reproducible