You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

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

Syntax
issueType(id) #Output: Text
Examples
Parser expressionDescription
issueType(10000)

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

Additional information

Parameters used in this function

ParameterInput (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.

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:

%{issue.issueType} = issueType(10000)

instead of:

%{issue.issueType} = "Task"