Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue
id0


Jira expression field code

issue?.links[0]?.linkedIssue?.key

Example outputPRJ-5
Output data type

Status
subtletrue
titletext

Type

Status
subtletrue
colourRed
titleread-only

Available since




Tabs Container
directionhorizontal


Tabs Page
titleJira expression


Code Block
titleField code
linenumberstrue
issue?.links[0]?.linkedIssue?.key


UI Text Box
typenote

Links are stored in lists. Documentation on how to work with lists can be found here.

You can access the whole link by issue?.links[0]?.linkedIssue which returns an Issue object, issue?.links will return a list of objects.




Read


Page properties
id1


Returned valueThe key of the issue which the first link was obtained for, is linked to. If no linked issues are available, null is returned.
Output data type

Status
subtletrue
titletext

Example outputPRJ-5