Count outgoing links
This template displays the number of outward links stemming from the current work item. E.g. the link “A blocks B” is counted in A, but not in B.
Note that this counts the links themselves, not distinct linked work items, which might be fewer.
Configuration
To use the Count outgoing links template, simply select it from the template grid. Filter by Link 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 Smart field in the Expression Parser. You can now tweak the expression to create a custom smart field based on this template.
Expression
Jira expression:
issue?.links.filter(link => link.direction == "outward").length
Format
Default