getUserKey()

This function returns the user key for a given user.


Bash
getUserKey(userName) #Output: Text


Examples

Parser expression

Description

Bash
getUserKey(%{system.currentUser})

This example returns the user key of the current user, e.g.:

JIRAUSER43863

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

userName

text

Text containing a valid user name.

Output

This function returns a text


📚 Use cases and examples