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

Compare with Current View Page History

« Previous Version 5 Next »

This JQL function is used for searching user with properties containing a numeric value.

Syntax
usersWithNumericProperty(propertyName, operator, number) #Output: Users
Examples
Parser expressionDescription
assignee in usersWithNumericProperty("dailyTasks", ">", "4")
This example returns a list of users where the property called 'dailyTasks' is bigger than 4, e.g. The user has a key-value pair in the profile where dailyTasks=5.
reporter in usersWithNumericProperty("remainingHolidays", "=", 11)
This example returns a list of users where the property called 'remainingHolidays' is equal to 11, e.g. The user has a key-value pair in the profile where remainingHolidays=11.
Additional information

Parameters used in this function

ParameterInput (data type)Description
propertyName

TEXT

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

TEXT

A valid comparison operator.

number

NUMBER

The number to be compared with the value stored in the user property.
Output

This function returns USER LIST.