Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | updateWebLink(issueKey, remoteLinkStruct) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Updates a web link on the issue. |
Updates a web link on the issue. If the link struct has no id, updates based on global id
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
issue key | string | Yes | Key of the selected issue. | remoteLinkStruct | JRemoteIssueLink | Yes | Link structure, including icons and status. | |
Return Type
integer
The returned value represents the id of the web link updated.
Example
Code Block |
---|
|
JRemoteIssueLink ret = getWebLink("TEST-1", 10000);
ret.globalId = "mylink2=https://duckduckgo.com";
ret.url="https://duckduckgo.com";
ret.title="Duck Duck";
updateWebLink("TEST-1", ret); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "link_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|