Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
UI Text Box
sizemedium
typeinfo

This JQL function is can be used for searching for users by checking against user properties that contain numeric values.

Code Block
languagebash
titleSyntax
linenumberstrue
usersWithNumericProperty(propertyName, operator, number) #Output: User list
UI Expand
titleExamples
Parser expressionDescription
Code Block
languagebash
linenumberstrue
assignee in usersWithNumericProperty("dailyTasks", ">", 4)
This example returns all issues where the Assignee's property dailyTasks is greater than 4.
Code Block
languagebash
linenumberstrue
reporter in usersWithNumericProperty("remainingHolidays", "=", 11)
This example returns all issues where the Reporter's property remainingHolidays is equals to 11.
UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
propertyName

Status
subtletrue
titletext

The name of an user property containing a numeric value.
operator

Status
subtletrue
titletext

The operator used to compare the actual value with the expected value. Allowed operators are:

ComparatorDescription
=Property value must be equal to the specified one.
!=Property value must not be equal to the specified one.
>Property value must be lower than the specified one, ignoring the case.
<Property value must be greater than the specified one, ignoring the case.
number

Status
subtletrue
titlenumber

The number to be compared with the value stored in the user property.
UI Expand
titleOutput

This function returns a

Status
subtletrue
titleUSER LIST

UI Text Box
typetip

If you want to search for issues where a user as a specific text or date property value, have a look the the usersWithTextProperty() or usersWithDateTimeProperty() function.

If you want to search for issues, checking only if a property is being set ignoring it's value, have a look the the usersWithProperty() function.

Page properties
hiddentrue
Short description

Searches for users by checking on their numeric properties.

Output

Status
subtletrue
titleUSER LIST

Label


Page properties
hiddentrue

Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreyYellow
titleTOdoReady for review

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged