Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This function returns true if there is a project property with a given name in the current issue's project.


Code Block
languagebash
titleSyntax
linenumberstrue
projectPropertyExists(propertyName) #Output: Boolean


UI Expand
titleExamples


Parser expression

Description


Code Block
languagebash
linenumberstrue
projectPropertyExists("maxNumberOfReopenings")


This example returns:

true 

if there is a project property like {maxNumberOfReopenings=x} in the description of the current issue's 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
titleboolean




UI Text Box
sizemedium
typeinfo

Variant where you can additionally define project key.


Code Block
languagebash
titleSyntax
linenumberstrue
projectPropertyExists(propertyName, projectKey) #Output: Boolean


UI Expand
titleExamples


Parser expression

Description


Code Block
languagebash
linenumberstrue
projectPropertyExists("maxNumberOfReopenings", "CRM")


This example returns

 true 

if there is a project property like {maxNumberOfReopenings=x} in the description of the project with 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
titleboolean



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_projectpropertyexists" 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

Checks whether a project property exists.

Output

Status
subtletrue
titleboolean

Available since

Status
subtletrue
colourBlue
title2.2

Label