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.

Syntax
userProperty(propertyName, userName) #Output: Text
Examples
Parser expressionDescription
userProperty("department", "b.smith")
This example returns the value for the user property department for the user b.smith, e.g.:
HR
Additional information

Parameters used in this function

ParameterInput (data type)Description
propertyName

TEXT

Text containing a valid user property.
userName

TEXT

Text containing a valid user name.
Output

This function returns a TEXT


Variant for multiple users.

Syntax
userProperty(propertyName, userNames) #Output: Text list
Examples
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
Additional information

Parameters used in this function

ParameterInput (data type)Description
propertyName

TEXT

Text containing a valid user property.
userNames

TEXT LIST

Comma-separated list of user names. 
Output

This function returns a TEXT LIST


Use cases and examples