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
Servicenow outgoing :
replica.u_product_version = entity.u_product_version
Jira Incoming :
issue.affectedVersions = replica
.u_product_version
.
collect
{ v -> nodeHelper.getVersion(v.name, project) }
.
findAll
{it !=
null
}
note : wherein product version is a select list field type.
Hey, Rajeswari T
What does an error print if you add this in front of your snippet and sync an issue towards it?
Regards, Serhiy
No such property: name for class: java.lang.string
Hey, Rajeswari T , please comment out your other snippet:
Regards, Serhiy
u_product_version=9.0.0.0type=class: java.lang.string
Any update?
So now you know the type and the value of the `replica.u_product_version` field, thus, you may
remove the debug.error line and replace the commented
do:
Let me know, how it goes, Regards, Serhiy.
Serhiy Onyshchenko Same error again :
No Such Property: Project for class: Script 299
Serhiy Onyshchenko - i tried to replicate the same product verison to another version picker custom field called "Identified in Release". But it doesn't seem to be working
Servicenow outgoing :
replica.u_product_version = entity.u_product_version
Jira incoming :
Hey, Rajeswari T
Isn't Version picker custom field a multi-value custom field?
In that case I'd suggest to do
Or, considering
Regards, Serhiy.