How to create the following sub-task post function ?

Issue #881 resolved
GabrielJ created an issue

Dear Fidel,

How to create a post-function implemented in Sub-Task, causing a transition in Parent issue only if sibling Subtasks with "Sub-Task type" (custom field) = 'Dev' are in Status = Done.

Thanks for your wonderful plugin ! Gaby

Comments (4)

  1. Fidel Castro Armario repo owner

    Hi @gabyj,

    You should use "Copy a parsed text to a field" post-function with the following configuration:

    • Target field: Parent's issue status
    • Parsing mode: basic
    • Text to be parsed...: Resolved
    • Conditional execution: count(filterByPredicate(siblingSubtasks(), ^%{nnnnn} = "Dev" AND ^%{00016} != "Done")) = 0

    replacing nnnnn with field code for custom field "Sub-Task type".

    Note that %{00016} is field code for Issue status.

    In my example I have assumed that you want to transition parent issue to Resolved status. You should write the name of the status you want to move parten issue to.

  2. Log in to comment