Versions Compared

Key

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


Page properties
hiddentrue



Status
Tech review

Status
colourYellowGreen
titleReady for reviewdone

Style guide

Status
colourYellowGreen
titleReady for reviewdone

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 a given id.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 a given id.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 ID 10000

e.g. Task



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
id

Status
subtletrue
titlenumber

A valid issue type idID.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext
.

If there is no issue type with the given idID, 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 status name update (tick)Will fail after status name update (error)

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.issueType} = issueType(10000)

instead of:



Code Block
languagebash
linenumberstrue
%{issue.issueType} = "Task"



Include Page
DECADIS:Identify IDs with Admin Toolbox for Jira
DECADIS:Identify IDs with Admin Toolbox for Jira