Any way to fix this without creating a second workflow?

Issue #805 closed
Will created an issue

Screen Shot 2017-09-07 at 1.49.27 PM.png

We use copying a parsed text to that new subtasks inherit their parent's Affected/Fix Version value. Problem is, it's affecting non-subtasks as well. New Tasks/Bugs with a value input for a version get overwritten with an empty value on creation.

Any way to fix this without having to have sub-tasks use their own, otherwise identical workflows?

Comments (8)

  1. Will reporter

    I've since check-marked 'do not overwrite if target is set' but I still want sub-tasks to inherit the parent's values regardless of whether the creator enters in any value

  2. Fidel Castro Armario repo owner

    Hi @w_b,

    Simply add the following boolean expression to parameter Conditional execution:

    %{00041} != null
    

    where %{00041} for Parent's issue key.

  3. Will reporter

    Sorry, I'm dense.

    Conditional Execution. I assume this is different from a transition condition since conditions are not available for use on the initial Create step. Is this part of a post-function? i don't see it.

  4. Fidel Castro Armario repo owner

    Hi @w_b,

    Since version 2.2.26 all the post-function can be conditionaly executed ny means of parameter Conditional execution, which available in the post-funcion's configuration screen.

    Look at the screenshot:

    conditional_execution.png

  5. Fidel Castro Armario repo owner

    Try using these configurations, that should be valid for your older version of JWT:

    Captura de pantalla 2017-09-22 a las 19.29.52.png

    Captura de pantalla 2017-09-22 a las 19.30.35.png

  6. Log in to comment