Need to validate that when routing a request to the user in the Routing Manager custom field for approval, the user in the Routing Manager field is in one of following roles:
Associate Manager,Manager,Senior Manager,Director,Senior Director,VP
Hi,
You could use this method to retrieve the project role that belong to the user in a particular project.
https://docs.atlassian.com/software/jira/docs/api/7.0.3/com/atlassian/jira/security/roles/ProjectRoleManager.html#getProjectRoles-com.atlassian.jira.user.ApplicationUser-com.atlassian.jira.project.Project-
It looks like you're new here. Sign in or register to get started.