Originally asked by Support on 19 December 2022 (original question)
Hi there,
I want to set “ENG“ as component value in the sync issue. So I have given
issue.components.value = “ENG“. it is showing error.
Could you please suggest any ideas?
Comments:
Ariel Aguilar commented on 19 December 2022
Hi there!
Can you try the following:
def defaultComponent = "ENG"
def component = nodeHelper.getComponent(defaultComponent, nodeHelper.getProject(issue.projectKey))
issue.components += component
Kind regards,
Ariel