Hello,
We're new to Jira Cloud coming from Jira Server. We have a Project with IssueTypes such as Story, Bug, Inquiry.
We have some users who we want to limit to Creating the Inquiry IssueType only.
How can this be achieved?
We have access to JMWE full plugin. We used to be able to use groovy script Validator on the Create transition to restrict it by checking if a user was in a restricted Role:
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.security.roles.ProjectRoleManager
def projectRoleManager = ComponentAccessor.getComponent(ProjectRoleManager)
def roles = projectRoleManager.getProjectRoles(currentUser, issue.projectObject)
return roles.find { role -> role.name.equals("Software Support Analyst")} == null;
Any guidance is appreciated.