Warning |
---|
The availability of the users personal data may be impacted by the recent changes by Atlassian in order to meet GDPR compliance. See the following for more information: |
Info |
---|
|
This routine is available starting with katl-commons 1.0.This routine is available for Jira server and cloud deployment options. Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | userEmailAddress(user) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns the email address of the selected user. The email address may be needed to supply it to various external systems. |
Returns the email address of the selected user. The email address may be needed to supply it to various external systems.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
user | String | Yes | User key or name of the user the email should be provided for. | |
...
Searches by the user key first and if there is no result |
|
...
by the user name as well. |
|
...
Return
...
Type
stringString
Returns the e-mail address associated with the specified userkey/username.
Example
...
Examples
Code Block |
---|
userEmailAddress("Admin");
|
Returns: If exists, returns the email address of the user Admin.
...
Code Block |
---|
userEmailAddress(currentUser());
|
Returns: If exists, returns the email address of the current user.
...
Note |
---|
The look-up is first made after the userkey, then after the username. |
...
If the email of the selected user doesn't exist the function returns an empty string. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 15025 |
---|
showSpace | false |
---|
cql | label = "jira_user_routine" and space = currentSpace ( ) |
---|
labels | jiraarray_user_routineroutines |
---|
|