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

Compare with Current View Page History

« Previous Version 10 Next »

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

e.g. Task

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.

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)
%{issue.issueType} = issueType(10000)
%{issue.issueType} = "Task"

You need to quickly look up the IDs of custom fields, statuses, issue types, resolutions, priorities ...?

Try our app Admin Toolbox for Jira which will show the IDs of all relevant elements by default!