getWebLinkById
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
getWebLinkById(webLinkId)
Description
Retrieves information about a web link.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
webLinkId | String | Yes | Id of a web link. |
Return type
string []
Array containing information about a web link, in the following order:
Index in array | Information |
---|---|
0 | Link Title |
1 | URL |
2 | Summary |
3 | Relationship |
4 | Icon URL |
5 | Icon Title |
6 | Status Icon Title |
7 | Status Icon Link |
8 | Status Icon URL |
Example
number [] ids = getWebLinksForIssue(key); for(number wlid in ids){ string [] props = getWebLinkById(wlid); if(props[0] == theOtherKey) { deleteWebLinkById(wlid); } }
See also