This function returns the value of a user property for a given user.

If the user doesn't have the property set, en empty text ("") will be returned.


userProperty(propertyName, userName) #Output: Text



Parser expressionDescription


userProperty("department", "b.smith")


This example returns the value for the user property department for the user b.smith, e.g.:
HR



Parameters used in this function

ParameterInput (data type)Description
propertyName

Text containing a valid user property.
userName

Text containing a valid user name.



This function returns a




Variant for multiple users.


userProperty(propertyName, userNames) #Output: Text list



Parser expressionDescription


userProperty("department", %{issue.watcher})


This example returns the value for the user property department for all watchers of the current issue, e.g.:
HR, Finance, Dev



Parameters used in this function

ParameterInput (data type)Description
propertyName

Text containing a valid user property.
userNames

Comma-separated list of user names. 



This function returns a





Status
Tech review

Style guide




Short description

Returns the values of user properties.

Output

Available since

Label