Can you please suggest how can I restrict some issue types to some groups? I saw some suggestion using script runner, but I could not find how exactly to do that
Try Issue security .
https://support.atlassian.com/jira-cloud-administration/docs/configure-issue-security-schemes/
There's no pretty way to do this in Cloud. Cloud does not support Behaviours. (For server, you could use https://library.adaptavist.com/entity/restrict-issue-types )
You can stop people creating an issue type though, by using validators. The most basic implementation is to have two workflows, one for the issues you want to protect, and one for the ones you do not. In the workflow for the protected issue types, add a validator to the "create" transition, one that checks that the user has the right permissions.
I do not recommend doing this though, as it's ugly for the users - they enter all the data for their issue, then a validator says "you can't do this" and they have to start again with a new issue create.
Hi Kagithala,
Thanks, does this also prevent this issue type from being shown in searches and filters?
No.
Issue security simply hides issues from people. It does not affect create, search or reporting in any way other than hiding issues.
So in this case, for example, some people can create an issue, but cannot view it after creation?
@Nic Brough -Adaptavist- do we have any other approach for jira cloud and we have script runner.
It looks like you're new here. Sign in or register to get started.