Check if user has Application Access

Check whether a given user has Application Access. This can be used for all types of projects, using the relevant ‘Right to Use’ group. For example, Jira Service Management’s ‘Right to Use’ group is ‘jira-servicedesk-users’ and a Jira Software Project group is ‘jira-software-users’.

 

var user = jemhUtils.getUserByEmail("my@email.com"); if (groupManager.isUserInGroup(user, "jira-software-users")) { print("User in group"); } else { print("User not in group"); }