Breadcrumbs

Sub-task assignees

📚

This template 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

To use the Sub-task assignees template, simply select it from the template grid. Filter by Sub-task to find it faster.

Parameters

This template does not require any additional parameter configuration.

Expert mode

If you switch to Expert mode you can see the formula field in the Expression Parser. You can now tweak the expression to create a custom formula field based on this template.

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.