Versions Compared

Key

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

Operator: Less Than (>=)

Description

Less Than is used to compare two numeric values, it is used for fields which represent:

  • Numbers
  • Dates & Times
  • Timespans

It will return all records where the fields value is less than the supplied value.

Values are normally either unquoted numbers, or quoted date time or time span values.

Examples

All scripts with less than 50 steps:

Code Block
languagenone
EntityType = Script AND ScriptStepCount < 50

All requirements created before 2011

Code Block
languagenone
EntityType = Requirement AND CreatedAt < '2011-1-1'

All requirements created more then a week ago

Code Block
languagenone
EntityType = Requirement AND CreatedAt < '-1w'

All script assignments where the estimated duration is less than 5 minutes (Note: you can write time values as either '5m' or '5 minutes' or '00:00:05')

Code Block
languagenone
EntityType = ScriptAssignment AND EstimatedDuration < '5m'