Versions Compared

Key

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


Page properties
hiddentrue
Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

Page properties
hiddentrue
Short description

Returns the name of the issue security level with a given ID.

Output StatussubtletruetitletextAvailable since

Status
subtletrue
colourBlue
title2.5.0

UI Text Box
sizemedium
typeinfo

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


Code Block
languagebash
titleSyntax
linenumberstrue
issueSecurityLevel(id) #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
issueSecurityLevel(10000)


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

e.g. Confidential




UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
id

Status
subtletrue
titlenumber

A valid issue security level ID.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext
.

If there is no issue security level with the given ID, the function returns 

Status
subtletrue
titlenull
.


UI Text Box
typetip

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

Will continue to work after security level name update (tick)Will fail after security level name update (error)


Code Block
languagebash
linenumberstrue
%{issue.securityLevel} = issueSecurityLevel(10000)



Code Block
languagebash
linenumberstrue
%{issue.securityLevel} = "Confidential"





Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged


Page properties
hiddentrue


Short description

Returns the name of the issue security level with a given ID.

Output

Status
subtletrue
titletext

Available since

Status
subtletrue
colourBlue
title2.5.0

Label