Users, groups and roles

JWT comes with many dedicated functions to retrieve user-related data, from group or role memberships to issue assignments.

Available functions

Function Output Short description
defaultUserForRole()

text

Returns the user name of the default project role user. 

groupsUserBelongsTo()

text list

Returns all groups for given users.

nextUserInGroup()

text

Returns the name of the next active user in a group.

displayNameToUser()

text

Returns the user name for a given user.

rolesUserPlays()

text list

Returns all project roles for given users.

leastBusyUserInRole()

text

Returns the name of the user in a given project role with the lowest number of unresolved issues assigned.

projectLeader()

text

Returns the project lead

usersWithEmail()

text list

Returns the user names of users matching a given email address.

isActive()

boolean

Checks whether users are active

projectLead()

text

Returns the project lead

usersInGroup()

text list

Returns the user names of active users in a given group.

getUserKey()

text  

Returns the user key of a given user.

userProperty()

text

Returns the values of user properties.

userFullName()

text   text list

Returns the full name of a given user.

isInGroup()

boolean

Checks whether users are a member of a specific group.

userDisplayName()

text   text list

Returns the full name of a given user.

lastAssigneeInRole()

text

Returns the user name of the last assignee in a given project role.

usersInRole()

text list

Returns members of a given project role.

userEmail()

text   text list

Returns the email address(es) of given users.

fullNameToUser()

text

Returns the user name for a given user.

isInRole()

boolean

Checks whether users are a member of a specific project role.