Automatic transition for parents task

Issue #591 resolved
gsep-support@daimler.com created an issue

Hello Team, we are able to do automatic transition when a subtask is status is changed. now how we can apply a condition

like, change user story status to reopen from close if any one of the subtasks is reopened. but don't transition if the story is already in progress.

Comments (2)

  1. Fidel Castro Armario repo owner

    In order to transition parent issue by sub-tasks you can use "Copy a parsed text to a field" post-function with any of the following configurations:

    Writing on 'Issue status'

    • Target field: Parent's issue status
    • Parsing mode: basic
    • Target status: the name of the status we want to move parent's issue status to.

    Writing on 'Execute transition'

    • Target field: Parent's execute transition
    • Parsing mode: basic
    • Target status: the name of the transition we want to execute on parent issue.

    I assume you are using any of the configurations above.

    Now, you can use parameter Conditional execution in order to transition parent issue only when a certain boolean expression is satisfied.

    If you want to transition parent issue only when it's in statuses Closed or Resolved, then you can use the following boolean expression: %{00042} in ["Closed", "Resolved"], where %{00042} is field code for Parent's issue status.

    In the boolean expression, it's very important to write the names of the statuses exactly as they are (i.e., respecting the case). JIRA's UI usually writes the names of the statuses in uppercase. You can check the exact name at Administration > Issues > Statuses.

  2. Log in to comment