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
Do you have a mapping between the options in the custom field and the components?
issue.components = replica.customFields.“MSL
Component/s”?.value?.value.collect{
nodeHelper.createComponent(
issue,
it.name,
it.description,
it.leadKey,
it.assigneeType.name()
)
}
Is this the correct way to set a component from a single select custom field?
And I need to understand if it duplicates/creates new components or if it sets the component that actually exists in the receiving project.