How to prevent transition according to Sub-Task type and Assignee

Issue #934 new
GabrielJ created an issue

Hi,

I want to prevent a transition at Parent level if SubTask, with Sub-Task Type (custom field) = X and Sub-Task Assignee is "unassigned".

How to do it?

Thanks, Gaby

Comments (4)

  1. GabrielJ reporter

    Thanks, I will try it. But how the validation understand %{00003} != null represents Sub-Task "unassigned" ?

  2. GabrielJ reporter

    For learning purposes, how to use the following function in "Boolean validator with math, date-time or text-string terms" ? :

    count(filterByPredicate(subtasks(), ^%{nnnnn} = "X", ^%{00003} != null)) = 0

  3. Fidel Castro Armario repo owner

    Hi @gabyj,

    Sorry, I made a mistake. The boolean expression you should use is this one:

    count(filterByPredicate(subtasks(), ^%{nnnnn} = "X" AND ^%{00003} = null)) = 0
    

    replacing nnnnn with field code for Sub-Task Type custom field.

  4. Log in to comment