We work in a multi-team environment with lots of interdependencies. I'd like to have a field on a story/bug that has an up-to-date list of everyone who has a subtask remaining on the main story/bug ticket.
Example
Subtask PROJ-1022 assigned to Sue which is in "TO DO" Status
Assuming we had the field "Notes" on the Story, I'd like the Notes string to be "Bob, Sue"
This excludes:
The trigger events are anytime a subtask class issue is created, updated or assigned, to cause a rebuild of the list on the parent story/bug.
I've had success with getting the string built with a branch to the parent and then a field update action with:
{{issue.subtasks.assignee.emailAddress.substringBefore("@").join(", ")}}
But I've had no success after many tries at not including the Done items or deduping. Any help or pointers would be appreciated.
Current setup:
Hi @Tom
Removing the duplicates may be done using the distinct list function:
Your current rule is triggered on a change to a Subtask, and so the lookup issues action should only return Subtasks which are siblings to the trigger issue, and not Done.
Once you have made that adjustment, please add the distinct before you join(", ") the values together.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.