issueSecurityLevel()

This function returns the name of an issue security level with a given ID.


Bash
issueSecurityLevel(id) #Output: Text


Examples

Parser expression

Description

Bash
issueSecurityLevel(10000)

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

e.g. Confidential


Additional information

Parameters used in this function

Parameter

Input (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 .

Use this function to ensure expressions will continue to work after renaming resolutions:

Will continue to work after security level name update

Will fail after security level name update

Bash
%{issue.securityLevel} = issueSecurityLevel(10000)
Bash
%{issue.securityLevel} = "Confidential"


📚 Use cases and examples