Skip to main content
Skip table of contents

Count incoming links

This template displays the number of inward links leading to the current work item. E.g. the link “A blocks B” is counted in B, but not in A.

Note that this counts the links themselves, not distinct linked work items, which might be fewer.

To use the Count incoming links template, simply select it from the template grid. Filter by Links to find it faster.

This template does not require any additional parameter configuration.

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.

Jira expression:

CODE
issue?.links?.filter(link => link.direction == "inward").length

Default

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.