FUNCTION | RETURNED VALUE |
---|---|
projectProperty(string property_name, string project_key) : string | Returns a string with the value of project property with name property_name in project with key project_key. Shows an error message if project property doesn't exist. Example: projectProperty("maxNumberOfReopenings", "CRM") returns "3", provided there is a string {maxNumberOfReopenings=3} in the description of project with key "CRM". |
projectPropertyExists(string property_name) : boolean | Returns true only if there is a project property with name property_name in current issue's project, i.e., if project's description contains a string like {property_name=value}. Example: projectPropertyExists("maxNumberOfReopenings") returns true only if there is a string like {maxNumberOfReopenings=x} in the description of current issue's project. |
projectPropertyExists(string property_name, string project_key) : boolean | Returns true only if there is a project property with name property_name in project with key project_key. Example: projectPropertyExists("maxNumberOfReopenings", "CRM") returns true only if there is a string like {maxNumberOfReopenings=x} in the description of project with key "CRM". |