Workflow - why do I get "Cannot set value to custom field" issue when running custom workflow?
Hello,
I'm trying to change one of my attributes (field) on certain event, but keep getting "Cannot set value to custom field ".
rule FLOW
{
message("well done");
issue.FatherState={Resolved};
}
The first line (message) works, but the second isn't.
I tried to change to just "FatherState" and nothing happened.
"Resolved" is one of the enums for the certain field.
Can you please help me?
Thanks,
Etay
I'm trying to change one of my attributes (field) on certain event, but keep getting "Cannot set value to custom field ".
rule FLOW
when State.becomes({Fixed})message("well done");
issue.FatherState={Resolved};
}
The first line (message) works, but the second isn't.
I tried to change to just "FatherState" and nothing happened.
"Resolved" is one of the enums for the certain field.
Can you please help me?
Thanks,
Etay
Please sign in to leave a comment.
I just used "issue.FatherState.add({Resolved})" and it works.
Is it the right way?
And if it's enum(1) - how can I change it?