issueType()

This function returns the name of the issue type with a given ID

Syntax
Bash
issueType(id) #Output: Text

Examples

Parser expression

Description

Bash
%{issueType(10000)}

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

e.g. Task

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

id

number

A valid issue type ID.

Output

This function returns a text

If there is no issue type 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 status name update

 

Will fail after status name update

 ❌

Bash
%{issue.issueType} = issueType(10000)
Bash
%{issue.issueType} = "Task"


(books) Use cases and examples