This function returns the key of the project with the given id.
project(id) #Output: Text
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"