getRemoteLinks()

This function returns all external links to the specified issue(s) as a text list.


Bash
getRemoteLinks() #Output: Text list


Examples

Parser expression

Description

Bash
getRemoteLinks()

This example returns a text list with all remote links of the current issue.

Output

This function returns a text list


Variant where you can get remote links for a given issueKey.


Bash
getRemoteLinks(issueKey) #Output: Text list


Examples

Parser expression

Description

Bash
getRemoteLinks("TEST-1")

This example returns the list of remote links of the issue with the key "TEST-1".

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueKey

text

The key of the issue where the remote links get retrieved from.

Output

This function returns a text list


Variant where you can get remote links for a given issueKey and remote link type.


Bash
getRemoteLinks(issueKey, linkType) #Output: Text list


Examples

Parser expression

Description

Bash
getRemoteLinks("TEST-1", "Wiki Page")

This example returns the list of remote links with the type "Wiki Page" in the issue with the key "TEST-1".

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueKey

text

The key of the issue where the remote links get retrieved from.

linkType

TEXT

The type of the link within the issue to the external URL.

Output

This function returns a text list


Variant where you can get remote links for a list of given issue keys.


Bash
getRemoteLinks(issueKeys) #Output: Text list


Examples

Parser expression

Description

Bash
getRemoteLinks(subtasks())

This example returns the list of remote links in the subtasks of the current issue.

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueKeys

ISSUE list

The list of issues where the remote links get retrieved from.

Output

This function returns a text list


Variant where you can get remote links for a list of given issue keys and link type.


Bash
getRemoteLinks(issueKeys, linkType) #Output: Text list


Examples

Parser expression

Description

Bash
getRemoteLinks(subtasks(), "Wiki Page")

This example returns the list with remote links of type "Wiki Page" in the subtasks of the current issue.

Bash
getRemoteLinks(issueKeysToIssueList(("TEST-1, DEMO-1")), "links to")

This example returns a list of remote links of type "links to" i.e. external web links for the issues with issue keys TEST-1 and DEMO-1.

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueKeys

ISSUE list

The list of issue keys where the remote links get retrieved from.

linkType

text

The type of the link within the issue to the external URL.

Output

This function returns a text list


📚 Use cases and examples