Function: ProjectsInCategory
ProjectsInCategory will return a list of Project ID's for each project belonging to the supplied project category.
Syntax
The function can take a list of one or more project categories, identified by either name or unique Identifier.
Code Block |
---|
|
ProjectsInCategory(categoryNameOrId, categoryNameOrId, ...)
|
Example
Many customers use project categories to seperate sandbox/sample projects from production projects, if the category for test projects is "Sandbox" then you can exclude all those projects requirements using the following query.
Code Block |
---|
|
EntityType = Requirement AND Project NOT IN ProjectsInCategory('Sandbox')
|
An example of getting projects belonging to two categories, one identified by name and the other identified by it's unique Id (in this case an 'iPhone apps' project category with unique ID '743A4D99-0B4A-4356-BC95-057C20D00ADF').
Code Block |
---|
|
Project IN ProjectsInCategory('Android apps', '743A4D99-0B4A-4356-BC95-057C20D00ADF')
|