Workflow State Machine cannot set Assignee to empty value Follow
Hello,
I try to set Assignee to an empty value in State Machine Workflow but it cannot be done. It allways says 'Cannot set value to custom field Assignee'. The only value that doesn't throw an exception is null. But the Assignee isn't set to default anyway. My empty-value is properly set to 'Unassigned' in custom field definition in this project.
Here comes the all values i tried to pass but with no effect.
...
onEnter: function(ctx) {
ctx.issue.fields.Assignee = null | 0 | undefined | 'Unassigned' | '';
},
...
Thank you for your help.
Josef
Please sign in to leave a comment.
Hello,
I've just tried the option with null and it worked for me:
The Assignee has been reset to Unassigned value. What is your result in this case?
Thank you.
Hello,
thank you for your response. It seems that null finally worked for me too. The error was caused by another workflow that always tried to assign bad value immediately.
Josef
Thank you for the update, have a nice day!