Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

updateWebLink(issueKey, remoteLinkStruct)

Package

Alias

Pkg Usage

Excerpt
hiddentrue
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

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

Parameter name

Type

Required

Description

issue key

string

Yes

Key of the selected issue.

remoteLinkStruct

JRemoteIssueLink

Yes

Link structure, including icons and status.

integer

The returned value represents the id of the web link updated.

Code Block
languagejs
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);

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "link_routine" and space = currentSpace ( )
labelsarray_routines