Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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
languagenone
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
languagenone
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
languagenone
Project IN ProjectsInCategory('Android apps', '743A4D99-0B4A-4356-BC95-057C20D00ADF')