Need help with boolean validator

Issue #657 resolved
Stephen Miller created an issue

I have a workflow with four issue types. The story points field is only on the Story and Task issue types. I want to verify Story Point is populated for these issue types before the issue can move to Done.

On the transition to Done I am using a Boolean validator with math, date-time or text-string terms with the following expression:

%{00014} in ["Story", "Task"] IMPLIES ("Story Points" >= 0)

This does not work. Both issue types are able to move to Done with and without Story Points populated.

Comments (3)

  1. Fidel Castro Armario repo owner

    Hi @INTX_CM,

    You should use this one:

    %{00014} in ["Story", "Task"] IMPLIES {nnnnn} != null
    

    or this one if tou want to force Story Points to be greater than zero.

    %{00014} in ["Story", "Task"] IMPLIES {nnnnn} > 0
    

    replacing nnnnn with field code for Story Points.

  2. Log in to comment