This function returns the display name for a given user name.
Bash
userDisplayName(userName) #Output: Text
Variant for multiple users.
Bash
userDisplayName(userList) #Output: Text list
If you want to return the user name instead of a display name, check out: fullNameToUser()
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|---|
| Add comment with the request participants' display name |
|
toString() textOnStringList() toStringList() userDisplayName() | |||
| Prevent external users from creating issues |
|
matches() toString() textOnStringList() toStringList() userDisplayName() |