Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict creating of certain issue types with behaviour

Rob B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 26, 2024

Is there a behaviour to stop certain users from creating old issue types?

We dont use some issue types now, but cannot delete them due to existing issues. Is there a way to allow onto one user group to create the old issue types?

Thanks

2 answers

0 votes
Sean Chua _Adaptavist_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 31, 2024

Hey @Rob B ,

Saw that you are trying to limit issue type based on user group. You can check this community post for a sample on how you can achieve that.

Essentially, use " groupManager " and specify groups:

In this scenario, you will need to use the Behaviour Initialiser instead of the Server-Side Behaviour.

And the groups that are going to be tested is the jira-administrators group and the Developers group.

To invoke the groups you want to use, you will need to use the groupManager and specify the group names you want to use

Hope this helps.

Sean

0 votes
Asha Goyal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 26, 2024

@Rob B 

Kindly refer below link for restricting issue type with behaviour in Jira.

https://docs.adaptavist.com/sr4js/8.18.0/features/behaviours/behaviours-examples/restricting-issue-types

Please Vote and Accept my answer if it helps.

Thanks

Rob B
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 26, 2024

Does this use with User Groups that i have created?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.13.1
TAGS
AUG Leaders

Atlassian Community Events