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 All
We have one was sync of Tasks from ADO to JIRA cloud
I need to set a Jira label to a constant literal string “ERP”
and the JIRA custom field “Portfolio” to the same value.
This string does not exist in the ADO, it will be hard-coded in the sync config.
My outgoing sync in ADO has these:
replica.labels = nodeHelper.getLabel("ERP")
replica.customFields."Portfolio" = "ERP"
Also tried replica.labels = "ERP"
can anyone point me in the right direction
I got it working, but not sure what the custom field assignment does
issue.labels += nodeHelper.getLabel("ERP") – this worked
issue.customFields."Portfolio".value = replica.customFields."xyz"?.value ?: "ERP" -– i believe this says if the incoming custom field contains "xyz' use it, if not use "ERP"
There is no incoming custom field, I just want equivalent of
issue.customFields."Portfolio".value = "ERP"