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

refreshIssue(key)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Refreshes the issue.

Refreshes the issue in the interpreter. Issue MUST not be modified in the current script. Returns true if the issue is refreshed (reloaded from Jira). Use it only in certain cases, as it may cause unnecessary slowness

Parameters

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

Parameter name

Type

Required

Description

key

string

Yes

Issue key.

Return Type

boolean

Returns true if the issue is refreshed, false if not.

Example

Assuming customfield_12345 is always asynchronously set by another addon...

Code Block
languagejs
string k = "THEPRJ-666";
while(%k%.customfield_12345 == null) {
 refreshIssue(k);
}

Issue is refreshed, careful usage is advised

See also

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