How is reference a custom state value in workflow rule?
Answered
Hello,
In a workflow rule, I would like to check the state value of an issue and do something if the value matches. I have found some examples of how to do this with out of the box states. However I want to check if the new state equals QA Manager Review.
How would I do this in a rule?
Thanks
G
Please sign in to leave a comment.
Hi Greg,
You can type a name of value inside '{' and '}' even if this value is not suggested. I.e. you can write
if (issue.State == {QA Manager Review}) {
// do stuff
}
When you attach such a rule to a project, that doesn't contain this value in a set of values for State field, you'll be suggested to add this value there.