postfuntion to create subtask

Issue #727 resolved
Karla Cavalcanti created an issue

Hi guyss

I need create some subtasks automatically according to fillment in the custom field - checkbox(Departamento)

I configurated the screen with this customfield and the postfunction in the workflow...

But anything is wrong because it doesn't work likes must...

In the customfield, I put 3 value options... And in the postfuntion, I created 2 options to test if it works...

But when I create the issue to test... I select 2 or 3 options in the customfield and anything happens... subtask aren't created...

And if I select only 1 option works normally...

But the field is multi select and I can select many options at once....

I tried to do with field list multi select and checkbox... and it doesn not work ..

Can you help me please...

If you need any more information, let me know ...

Screenshots attached to your analyse ...

Thanks a lot...

regards, Karla

Comments (3)

  1. Fidel Castro Armario repo owner

    Hi @karlacavalcanti,

    Use operator ~ (i.e., contains) instead of = for the boolean expression at parameter Conditional execution. Eg. use %{nnnnn} ~ "Ambientes", where nnnnn is field code for Departamento.

  2. Karla Cavalcanti reporter

    Hi Fidel...

    Ohhh that's perfect!!

    simple solution!!

    I changed the operator and it's working normally now..

    Thanks a lot for your help!!!

    Best regards, Karla

  3. Log in to comment