Versions Compared

Key

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

Function: OrArgs

Syntax

Code Block
languagenone
OrArgs(arg1,arg2... argN)

Description

OrArgs will take two or more arguments, and return true, if any of the arguments passed to it are true.

OrArgs is useful to combine the results of two or more comparison functions together.

Examples

Where Priority is High, or the Custom Field 'Severity' is High:

Code Block
languagenone
Faceted OrArgs(Equal(Priority,High), Equal(Severity,High)) AS "Urgent" { COUNT } WHERE EntityType = Incident

Where Type is 'Non Functional' or item has no coverage:

Code Block
languagenone
Faceted OrArgs(Equal(Type,'Non Functional'), Equal(HasCoverage,No)) AS "Non Function or Uncovered" { COUNT } WHERE EntityType = Requirement

See Also