Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function returns the name of the issue type with a 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

e.g. Task



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
Page properties
hiddentrue
Status
Tech review

Status
titletodo

Style guide

Status
titletodo

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

Page properties
hiddentrue
Short descriptionReturns a 

This function returns a

Status
subtletrue
titletext

string

.

If there is no

representing the name of the

issue type with

the id id.Output

the given ID, the function returns 

Status
subtletrue
titlenull

string

.


representing the name of the issue type with the id id.
UI Text Box
sizetypemedium
typeinfo
tip

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)


Code Block
languagebash
linenumberstrue
%{issue.issueType} = issueType(10000)
Returns a 
Status
subtletrue
titlestring



Code Block
languagebash
titleSyntax
linenumberstrue
issueType(number id) #Output: String
UI Expand
titleExamples
Parser expressionDescription
Code Block
languagebash
linenumberstrue
issueType(10000)

The function returns the issue type name with the id 10000.

%{issue.issueType} = "Task"



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


Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_issuetype" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloud
Map(error)
NotesIssueType doesn't have a constructor, so it's not possible to find issue types.




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



Parameters used in this function

string
Page properties
hiddentrue


Short description

Returns the name of the issue type with a given ID

Output

Status
subtletrue
titletext

Available since

Status
subtletrue
colourBlue
title2.5.0

Label
UI Expand
titleAdditional information
ParameterInput (data type)Description
<parameter>
Status
subtletrue
titledata type
Parameter description.
UI Expand
titleOutput
The function returns a
Status
subtletrue
title