Displays the name of the assignees of the sub-tasks of the current work item.
Repetitions of the assignees will be omitted.
If there is nothing to display, the result will be βNoneβ.
Configuration
Select Custom text formula in the template gallery after clicking Create formula field.
Choose General in the parsing mode dropdown. Click here for additional information.
Expression
Expression
General expression:
%{distinct(fieldValue(%{issue.assignee.displayName}, subtasks()))}
Used parser functions
The links lead to the JWTC documentation because the parser functions are shared functionalities.
Details
1. What does the expression do?
The expression returns a list of the names of all unique assignees for the sub-tasks of the current work item.
2. Step-by-step breakdown
-
subtasks(): This function gets all the sub-tasks that belong to the current work item. -
fieldValue(%{issue.assignee.displayName}, ...): For each sub-task found, this function retrieves the display name of the person assigned to it. -
distinct(...): This function removes any duplicate names from the list, so each assignee appears only once.
3. Examples
-
If a work item has three sub-tasks assigned to Alice, Bob, and Alice, the result will be:
Alice, Bob
4. Real-life use cases
-
Quickly see who is responsible for the sub-tasks of a larger work item, without seeing duplicate names.
-
Use in dashboards or reports to identify all team members involved in the sub-tasks of a specific work item.
-
Help project managers ensure that sub-tasks are distributed among team members and not all assigned to one person.