-
assigned issue to
How to create the following sub-task post function ?
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)
-
reporter -
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.
-
reporter Thanks a lot.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-
repo owner - changed status to resolved
- Log in to comment