Availability
This routine is available since katl-commons 1.0 .
Syntax:
currentUser()
Description:
Returns the key for the user that invoked the script containing currentUser.Return type:
string
The return value represents the key of the user that triggered the script (usually executed a transition).
Example:
customfield = currentUser();
Result: customfield = <key of the current user>
See Also:
-
-
addIssuesToSprint (Power Scripts for Jira Cloud)
-
userHasAccessToComment (Power Scripts for Jira Cloud)
-
usersInGroups (Power Scripts for Jira Cloud)
-
-
-
-
-
-
-
-
userInGroup (Simple Issue Language™)
-
-
-
-
-
-
-
-
-
isUserInRole (Simple Issue Language™)
-
isAnyUserAuthenticated (Simple Issue Language™)
-
-
-
userHasAccessToComment (Simple Issue Language™)
-
-
-
-
-
admRemoveUserFromProjectRole (Simple Issue Language™)
-
-
-
admAddUserToProjectRole (Simple Issue Language™)
-
-
-
-
-
-
-
-
userHasSoftwareAccess (Simple Issue Language™)
-
userHasServiceDeskAccess (Simple Issue Language™)
-
userHasCoreAccess (Simple Issue Language™)