Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This function returns a text with the email address of a given user.


Code Block
languagebash
titleSyntax
linenumberstrue
userEmail(userName) #Output: Text


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
userEmail(%{system.currentUser})


This example returns the email address of the current user, e.g.:
admin.istrator@test.com



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
userName

Status
subtletrue
titletext

Text containing a valid user name.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext




UI Text Box
sizemedium
typeinfo

Variant for multiple users.


Code Block
languagebash
titleSyntax
linenumberstrue
userEmail(userNames) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
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:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
userNames

Status
subtletrue
titletext list

Comma-separated list of user names.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list



Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_useremail" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloud
Map(error)
NotesNot possible to access to a user's email.




Page properties
hiddentrue


Short description

Returns the email address(es) of given users.

Output

Status
subtletrue
titletext
 
Status
subtletrue
titletext list

Available since

Status
subtletrue
colourBlue
title2.2.29

Label




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged