/
currentUsername
currentUsername
Description
Returns the username for the user that invoked the script containing currentUsername.
Return Type
String
The return value represents the username of the user that triggered the script. Usually a transition is executed.
Example
customfield = currentUsername();
Result: customfield = <username of the current user>.
See also
Related content
getUser
getUser
Read with this
currentUsername
currentUsername
More like this
runAs
Read with this
currentUser
currentUser
More like this
getUserByEmail
getUserByEmail
Read with this
currentUser
currentUser
More like this