getWebLinksForIssue

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

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

Syntax

getWebLinksForIssue(issueKey)

Description

Gets the ids of all the web links on an issue.

Parameters

Parameter name

Type

Required

Description

issue key

String

Yes

Key of the selected issue.

Return type

number []

Array containing the IDs of all web links on an issue.

Example

number [] ids = getWebLinksForIssue(key);

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


See also