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,
I have the following code in order to sync fixVersions filed with customer "Fix in versions" filed:
issue.customFields."Fix in version".value = replica.fixVersions?.collect
{it.name}.join(",")
It works fine!
But, I want this code will run only when fixVersions filed is updated and not every time.
I tried something like:
if (replica.fixVersions.updated?){
issue.customFields."Fix in version".value = replica.fixVersions?.collect{it.name}
.join(",")
}
It doesn't work, I guess my "if" condition syntex is not right.
What do I need to put in the condition?
Thanks!
Sapir