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


project(id) #Output: Text



Parser expressionDescription


project(10000)


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

e.g. DEV



Parameters used in this function

ParameterInput (data type)Description
id

A valid project ID.



This function returns a .

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


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



Parser function cloud
Map(question)
Notes

Workaround

new Project(10000)







Status
Tech review

Style guide




Short description

Returns the name of the project with a given ID.

Output

Available since

Label