This template displays the name of the project lead of the current work item’s project.
If there is nothing to display, the result will be “None”.
Configuration
To use the Project lead template, simply select it from the template grid. Filter by Project 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:
%{issue.project.leadDisplayName}
Details
1. What does the expression do?
The expression displays the name of the project lead for the project that the current work item belongs to. If there is no project lead set, the field will show “None”.
2. Step-by-step breakdown
-
%{issue.project.leadDisplayName}: Refers to the name of the project lead for the project that the current work item belongs to.
3. Examples
-
If you have a work item in the "Marketing Website" project, and the project lead is "Jane Doe", the expression will return:
Jane Doe -
If the project does not have a lead assigned, the field will display:
None
4. Real-life use cases
-
Custom fields: Add this as a custom field in work item views to make it easy for users to see who the project lead is without navigating to the project settings.