refreshIssue

Description

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

Return Type

boolean

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

Example

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

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

Issue is refreshed, careful usage is advised

See also

Peacock