Versions Compared

Key

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

This JQL function returns users by checking against their 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.

vs.

This example returns all issues where the current assignee has a user property called dailyTasks with a value 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.

vs.

This example returns all issues where the reporter has a user property called remainingHolidays with a value of 11.

Does that example make sense?

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 greater than the specified one, ignoring the case.
<Property value must be lower 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.

Include Page
DECADIS:_snip_limit_JQL_functions
DECADIS:_snip_limit_JQL_functions

Page properties
hiddentrue
Short description

Returns users with specific numeric properties.

Output

Status
subtletrue
titleUSER LIST

Label


Page properties
hiddentrue

Status
Tech review

Status
colourRed
titleflagged
  Data types for output

Style guide

Status
colourGreen
titledone

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