Automatic transition for parents task
Issue #591
resolved
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)
-
repo owner -
repo owner - changed status to resolved
- Log in to comment
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'
Writing on 'Execute transition'
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.