isUserAdmin
Syntax | isUserAdmin(username) | Package |
|
Alias |
| Pkg Usage |
|
Description
Determines if a provided user has administration privileges in the current Jira environment.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
username | String | Yes | The username of the user to validate. |
Return Type
Boolean (true/false)
Returns "true" if the user is a valid administration user and "false" otherwise.
Example
runnerLog(isUserAdmin(currentUser());
runnerLog(isUserAdmin("jsmith"));