This function returns the key of the project with a given ID.

Syntax
project(id) #Output: Text
Examples
Parser expressionDescription
%{project(10000)}

This example returns a text with the corresponding key of the project with the ID 10000

e.g. DEV

Additional information

Parameters used in this function

ParameterInput (data type)Description
id

NUMBER

A valid project ID.
Output

This function returns a TEXT

If there is no project with the given ID, the function returns NULL

Use this function to ensure expressions will continue to work after renaming projects:

Will continue to work after project name update (tick)Will fail after project name update (error)
%{issue.project.key} = project(10000)
%{issue.project.key} = "CRM"


Use cases and examples