This function is used for searching text or string values in project properties.
projectsWhereTextProperty( project_property, operator, string_literal | regular_expression ) #Output: Project list
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 2 Next »
This function is used for searching text or string values in project properties.
projectsWhereTextProperty( project_property, operator, string_literal | regular_expression ) #Output: Project list
Parser expression | Description |
---|---|
projects in projectsWhereTextProperty( country, "=", Spain ) | This example returns a list of projects where property 'country' is equal to 'Spain', i.e. string {country=Spain} is present in the project's description. |
projects in projectsWhereTextProperty( country, matches, "France|Germany" ) | This example returns a list of projects where property 'country' matches the regular expression France|Germany, i.e. string {country=France} or {country=Germany} are present in the project description. |
projects in projectsWhereTextProperty( country, "~", spain ) | This example returns a list of projects where property 'country' is equal to 'spain', 'SPAIN', ' SpAiN ', etc. |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
project_property | TEXT | The name of a project property containing a text or string value. |
operator | DATA TYPE | Comparison operator to be applied.
|
string_literal | regular_expression | TEXT | A string literal used for comparison, or a regular expression in the case of matches operator. |
This function returns a PROJECT LIST
Powered by Atlassian Confluence 8.5.7, themed by Refined 7.5.3 and Decadis AG