Versions Compared

Key

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

This routine is available starting with SIL Engineā„¢ 2.5.15 for Jira 5.x / 2.6.7 for Jira 6.

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

Syntax

getWebLinkById(webLinkId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Retrieves information about a web link.

Retrieves information about a web link.

Parameters

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

Parameter name

Type

Required

Description

webLinkId

String

Yes

Id of a web link.

Return

...

Type

string String []

Array containing information about a web link, in the following order:

Index in arrayInformation
0

Link Title

1URL
2Summary
3Relationship
4Icon URL
5Icon Title
6Status Icon Title
7Status Icon Link
8Status Icon URL

Example

Code Block
number  [] ids = getWebLinksForIssue(key);

for(number wlid in ids){
	string  [] props = getWebLinkById(wlid);
	if(props[0] == theOtherKey) {
		deleteWebLinkById(wlid);
	}
}

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jira_weblinklink_routine" and space = currentSpace ( )
labelsjiraarray_weblink_routineroutines