User Routines
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !
| This section contains routines that enable users to handle users. | 
Routines summary
- accountIdToDisplayName — Returns the display name for the provided user key.
- accountIdToUsername — Returns the username for the provided account id.
- currentUser — Returns the key for the user that invoked the script containing currentUser.
- currentUserKey — Returns the key for the user that invoked the script containing currentUserKey.
- currentUsername — Returns the username for the user that invoked the script containing currentUsername.
- getAllActiveUsers — Returns a list of all active users in Jira.
- getAllInactiveUsers — Returns a list of all inactive users in Jira.
- getUser — Gets the user by username or key.
- getUserByEmail — Gets the user by email address.
- getUserByFullName — Gets the user by full name.
- getUserDirectoryName — Returns the directory name the user belongs to.
- getUserKeysFromEmails — Finds the corresponding user keys for a list of email addresses.
- getUserProperty — Retrieves properties of users created and maintained in Jira (user properties https://confluence.atlassian.com/x/8YxjL).
- hasPermission — Checks if a user has the specified permission.
- hasUserProperty — Checks if the user has the given property set.
- isAnyUserAuthenticated — Verifies if there is a logged in user.
- isTeamLeader — Verifies if the specified user is a team leader on the project (if it is a component lead).
- isUserActive — Checks to see if the given user has an active (licensed) account.
- isUserAdmin — Determines if a provided user has administration privileges in the current Jira environment.
- isUserInRole — Returns "true" if the user has a certain role on the specified project.
- runAs — Assumes a user when running a script.
- setUserProperty — Sets properties of users created and maintained in Jira (user properties https://confluence.atlassian.com/x/8YxjL).
- userEmailAddress — Returns the email address of the selected user. The email address may be needed to supply it to various external systems.
- userExists — Verifies if the selected user is registered Jira user.
- userFullName — Returns the full name (firstname, lastname) of the user.
- userGroups — Returns the groups the selected user belongs to.
- userHasAccessToComment — Verifies if a comment is visible for an user.
- userInGroup — Verifies if the selected user is in the selected group(s).
- userKeyToDisplayName — Returns the display name for the provided user key.
- userKeyToUsername — Returns the username for the provided user key.
- userLanguage — Returns the language for an user.
- userLocale — Returns the locale for a user.
- usernameToAccountId — Returns the account id for the provided username.
- usernameToUserKey — Returns the user key / account id for the provided username.
- userRoles — Returns the roles of the provided user in the project.
- usersInGroups — Returns a list of users common to all the specified groups.
- usersInRole — Returns the users that corespond to a certain role on the specified project.
- userHasCoreAccess — Verifies if a user has access to the Jira Core application.
- userHasServiceDeskAccess — Verifies if a user has access to the Jira Service Desk application.
- userHasSoftwareAccess — Verifies if a user has access to the Jira Software application.