Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

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.


Code Block
languagebash
titleSyntax
linenumberstrue
projectProperty(propertyName) #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
projectProperty("maxNumberOfReopenings") 


This example might return

"3",

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



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
propertyName

Status
subtletrue
titletext

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



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext




UI Text Box
sizemedium
typeinfo

Variant where you can additionally define a project key.


Code Block
languagebash
titleSyntax
linenumberstrue
projectProperty(propertyName, projectKey) #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
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.



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
propertyName

Status
subtletrue
titletext

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

Status
subtletrue
titletext

Text containing a valid project key.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext



Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions
cqllabel = "parser_func_projecpropertyprojectproperty" and space = currentSpace()


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns the value of a given project property.

Output

Status
subtletrue
titletext

Available since

Status
subtletrue
colourBlue
title2.2.8

Label