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
 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
4 comments
Comment actions Permalink
Hi,
I just used "issue.FatherState.add({Resolved})" and it works.
Is it the right way?
0
Comment actions Permalink
If the FatherState is a multiple field you're right.
0
Comment actions Permalink
Thansk!

And if it's enum(1) - how can I change it?
0
Comment actions Permalink
Just assign a value to the field, don't forget to compete it by Ctrl+Space: Type = {Feature};
0

Please sign in to leave a comment.