projectProperty()

Property name

This function returns the value of a project property for a given project property in the current issue's project.

Null is returned if project property doesn't exist.

Bash
projectProperty(propertyName) #Output: Text

Examples

Parser expression

Description

Bash
projectProperty("maxNumberOfReopenings") 

This example might return

"3",

if there is a property of: {maxNumberOfReopenings=3} in the description of current's issue project.

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

propertyName

text

Text containing a valid project property. Learn more about JWT project properties.

Output

This function returns a text

Project key

Variant where you can additionally define a project key.

Bash
projectProperty(propertyName, projectKey) #Output: Text

Examples

Parser expression

Description

Bash
projectProperty("maxNumberOfReopenings", "CRM")

This example might return

"3",

if there is a property of: {maxNumberOfReopenings=3} in the description of the project with the key CRM.

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

propertyName

text

Text containing a valid project property. Learn more about JWT project properties.

projectKey

text

Text containing a valid project key.

Output

This function returns a text

(books) Use cases and examples