isUserAdmin

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 !

Availability

This routine is available starting with SIL Engine 4.8.0.4.

Syntax

isUserAdmin(username)

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

Returns true if the username is a valid administration user. False otherwise.

Example

return isUserAdmin(currentUser());

return isUserAdmin("jsmith");