How is reference a custom state value in workflow rule?



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?



1 comment
Comment actions Permalink
Official 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.

Please sign in to leave a comment.