getUserProperty


Syntax

getUserProperty(user, property)

Description

Retrieves properties of users created and maintained in Jira (user properties).

Cloud Description

Retrieves properties of users only accessible through requests. This set of user properties have nothing to do with the user properties created and maintained in Jira (they can't even be accessed through requests).

Parameters

Parameter name

Type

Required

Description

user

String

Yes

Username or userkey to get the property for.

propertyStringyesKey of the property.

Cloud Parameters

Parameter name

Type

Required

Description

user

String

Yes

The userkey of the user.

propertyStringyesKey of the property.

Return type

string

Returns the value of the specified property. If the user does not have the property, it will return an empty string.

Example

Notes

Cloud Notes

See also