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]?.type?.id

Example output10002
Output data type

Status
subtletrue
titlenumber

Type

Status
subtletrue
colourRed
titleread-only

Available since
Tabs Container
directionhorizontal
Tabs Page
titleJira expression
Code Block
titleField code
linenumberstrue
issue?.links[0]?.type?.id
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 type by issue?.links[0].type which returns an Issue link object, issue?.links will return a list of objects.

Image AddedRead


Page properties
id1
Returned valueThe ID of the issue link type. If no links are available, null is returned.
Output data type

Status
subtletrue
titlenumber

Example output10002