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

Compare with Current View Page History

« Previous Version 5 Next »

This function returns the key of the project with the 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.

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.

You might want to use this function for several parser expression where you are e.g. checking against the current project.

Imagine an expression like this:

%{issue.project.key} = project(10000)

instead of:

%{issue.project.key} = "CRM"