Versions Compared

Key

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

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=linkedIssues+-+15485519
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

linkedIssues(issueKey, [[linkTypeName], [direction]])

Package

Alias

getLinkedIssues (issueKey, [[linkTypeName], [direction]])

Pkg Usage

Description

Excerpt
hiddentrue
Returns an array with the Issue keys linked with the specified one.

Returns an array with the Issue keys linked with the specified one.
This routine searches for all the linked issues with the one given as argument (parameter) and builds an array that contains them. The second parameter [linkTypeName] is optional and represents a searching filter that selects only those issues that have a certain relation (link type) with the argument issue.
The Issue types that can be given as arguments are:

  1. Blocks
  2. Relates
  3. Clones

...

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

issueKey

String

Yes

Specifies a string representing the key of the issue.

linkTypeName

String

No

Specifies the link type.

direction

number

No

-1, 0, 1 :Negative means inward links. Positive means outward links. Use zero to get both outward and inward links.

Return Type

String[]

Example

A good way to understand the idea of this routine is by using an example, so:

Code Block
return linkedIssues("TUT-1","Blocks");

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "link_routine" and space = currentSpace ( )
labelsarray_routines