You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

This function returns the name of the issue security level with the given id.

Syntax
issueSecurityLevel(id) #Output: Text
Examples
Parser expressionDescription
issueSecurityLevel(10000)

This example returns a text with the corresponding name of the issue security level with the id 10000.


Additional information

Parameters used in this function

ParameterInput (data type)Description
id

NUMBER

A valid issue security level id.
Output

This function returns a TEXT.

If there is no issue security level with the given id, the function returns NULL.

You might want to use this function for several parser expression where you are e.g. checking against the current issue security level. So even if you rename the issue security level afterwards, the parser expression still works and won't break.

Imagine an expression like this:

%{issue.securityLevel} = issueSecurityLevel(10000)

instead of:

%{issue.securityLevel} = "View Issue"