Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

1.9 BETA RELEASE

Matrix Requirements Query Language (MRQL aka Miracle) syntax

The general form looks like a boolean expression with the classical AND, OR, NOT, parenthesis.

Each term is in the form variable operator value.

The operators can be:

  • = for equal (case sensitive)
  • != for not equal (case sensitive)
  • ~ for "include" (case insensitive)
  • !~ for "doesn't include" (case insensitive)

The particular meanings of some variables are:

  • category operator "value" : checks the the category of the item (REQ, SPEC, ...)
  • outdated = 0|1 : checks that the item is outdated (it's parent has been modified after)
  • all other variables are matches for a field name. If the field name contains a space the variable must be double-quoted

Examples:

  • domain ~ "xyz" and category = "TC"
    • matches all item of the category "TC" who has a field "domain" which includes "xyz"
  • outdated = 1 and category != "XTC"
    • matches all outdated items which are not "XTC" items

 

Searches expressions can be shared between team members, see Search Configuration.

  • No labels