This function returns a text with the email address of a given user.
Syntax
userEmail(userName) #Output: Text
Variant for multiple users.
Syntax
userEmail(userNames) #Output: Text list
Use cases and examples
Use case |
---|
No content found. |
This function returns a text with the email address of a given user.
userEmail(userName) #Output: Text
Parser expression | Description |
---|---|
userEmail(%{system.currentUser}) | This example returns the email address of the current user, e.g.: admin.istrator@test.com |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
userName | TEXT | Text containing a valid user name. |
This function returns a TEXT
Variant for multiple users.
userEmail(userNames) #Output: Text list
Parser expression | Description |
---|---|
toLowerCase(toString(userEmail(toStringList(%{issue.watcher})))) | This example returns a text list with the email addresses of the current issue's watchers, e.g.: admin.istrator@test.com, d.jones@test.com To achieve this, the following functions are used: |
Parameters used in this function
Parameter | Input (data type) | Description |
---|---|---|
userNames | TEXT LIST | Comma-separated list of user names. |
This function returns a TEXT LIST
Use case |
---|
No content found. |
Powered by Atlassian Confluence 8.5.12, themed by Refined 7.6.0 and Decadis AG