Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
UI Text Box
sizemedium
typeinfo

This JQL function returns projects with specific properties containing a text value.

Code Block
languagebash
titleSyntax
linenumberstrue
projectsWhereTextProperty(propertyName, operator, value) #Output: Text list
UI Expand
titleExamples
Parser expressionDescription
Code Block
languagebash
linenumberstrue
project in projectsWhereTextProperty(country, "=", Spain )
This example returns a list of projects where the property 'country' is equal to 'Spain', i.e. text {country=Spain} is present in the project's description.
Code Block
languagebash
linenumberstrue
project in projectsWhereTextProperty(country, matches, "France|Germany")
This example returns a list of projects where property 'country' matches the regular expression France|Germany, i.e. text {country=France} or {country=Germany} are present in the project description.
Code Block
languagebash
linenumberstrue
project in projectsWhereTextProperty(country, "~", spain)
This example returns a list of projects where property 'country' is equal to 'spain', 'SPAIN', ' SpAiN ', etc.
UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
propertyName

Status
subtletrue
titletext

The name of a project property containing a text value.
operator

Status
subtletrue
titleTEXT

A valid comparison operator.

value

Status
subtletrue
titletext

The text value used for searching or a regular expression in the case of the matches operator.
UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list

Include Page
DECADIS:_snip_limit_JQL_functions
DECADIS:_snip_limit_JQL_functions

Page properties
hiddentrue
Short description

Returns projects with specific text properties.

Output

Status
subtletrue
titletext list

Label
Page properties
hiddentrue

Status
Tech review

Status
colourYellow
titleReady for review

Style guide

Status
colourGreen
titledone

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