Versions Compared

Key

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


Page properties
hiddentrue



Status
Tech review

Status
colourYellow
titletodoReady for review

Style guide

Status
colourYellow
titletodoReady for review

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



Page properties
hiddentrue


Short description

Returns the name of the issue type with the given id.

Output

Status
subtletrue
titletext

Available since

Status
subtletrue
colourBlue
title2.5.0




UI Text Box
sizemedium
typeinfo

This function returns the name of the issue type with the given id.


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


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
issueType(10000)


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



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
id

Status
subtletrue
titlenumber

A valid issue type id.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext
.

If there is no issue type with the given id, the function returns 

Status
subtletrue
titlenull
.


UI Text Box
typetip

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

Imagine an expression like this:

Code Block
languagebash
linenumberstrue
%{issue.typeissueType} = issueType(10000)