Jira expression
issue?.links[0]?.type?.name
Links are stored in lists. Documentation on how to work with lists can be found here.
You can access the whole link type by issue?.links[0].type which returns an Issue link object, issue?.links will return a list of objects.
If you need the inward/outward names for this type, please use issue?.links[0]?.type?.inward and issue?.links[0]?.type?.outward respectively. The result will be "is duplicated by"/"duplicates".
Read
|
Returned value |
The name of the issue link type. If no issue links are available, null is returned. |
|---|---|
|
Output data type |
text |
|
Example output |
Duplicates |