Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

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 !


Info
titleAvailability

This routine is available since starting with katl-commons 3.0.

...

This routine is available for Jira server and cloud deployment options.

Syntax

isIssueContext()

Description

...

Excerpt

Verifies if the script is running in an issue context.

Parameters

...

none

Return type

...

boolean (true/false)

A "true" return value means that the script is running in an issue context and that the standard variables and custom fields are available for use.

Example

...

Code Block
if(isIssueContext()){
    return usersInGroups({"jira-users"}) - reporter;
} else {
    return usersInGroups({"jira-users"}) - currentUser();
}

 

See

...

also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "jira_context_routine"
labelsjira_context_routine

...