Hi guys,
Im trying to create script, that will assign issues later in workflow based on Component/s (no connection with Component Lead). Main issue is, that copying the value to custom field doesnt work as expected. When im trying to copy the value to Single Choice List field, there is no change in that field (value is None) - Single Choice List has choices exactly as they are in Component/s, tried with "test" as component too. When im trying to copy the value to Single Line Text field, the value is copied but i cant use the value in text field to assign ticket (nothing happens with the assignee) - im using script that is working on another workflows. Can someone help me find solution how to copy Component/s value to field that will be used for changing assignee or how to use Component/s directly to assign issue to user? There is only one component in Component/s field everytime.
Workflow:
1. Create Issue
2. Issue assigned to Component Lead for Approval
3. After Approval, in this step the issue should be assigned based on Component