Forums

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

How to restrict users not able to change the issue type during workflow transition

kanaka prasad ponnuru
Contributor
February 2, 2022

Hi team,

Is there any way to restrict the users to not able to change the issue type during workflow transition?

In my case we have statuses like ToDo, Inprogress and submission etc.. So up to statuses Todo or Inprogress users are allowed to change the issue type but once status moved to submission stage restrict the users from changing the issue type.

Can someone help me how to achieve this requirement? If we can achieve this  via script runner please share the sample script.

Regards,

Kanaka

2 answers

0 votes
Sachin Dhamale
Community Champion
February 3, 2022

@kanaka prasad ponnuru 

You can use the workflow properties for the submissions status.

You can click on the submission status > and click on the properties there you can add following values.  So that only specific group are allowed to move issue on submission status. Here you can mention any group only who can move the issue to change the issue type.

Property Key: jira.permission.move.group


Property Value: jira-administrators

 Pls Accept the answer if you find it helpful

0 votes
Tim Perrault
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.
February 2, 2022

Hi @kanaka prasad ponnuru 

 

I would use a behaviour to do this. Take a look at this script on the adaptavist library https://library.adaptavist.com/entity/restrict-issue-types

You should be able to adapt the if function to be based off of status instead of user role.

 

Thanks,

Tim

Suggest an answer

Log in or Sign up to answer