Forums

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

How can I hide/remove the cancel/reopen transition buttons from a particular status?

Sebastian Gomez April 8, 2019

cancel_reopen button.PNG

Hello Everyone, I am new to the forum and was having some difficulty finding documentation on how to address this.

Is there a way to hide these buttons from users once the issue is in a particular status? The idea behind this is so that users don't have the ability to re-open or cancel an issue once the issue has been resolved or cancelled.

Thanks in advance for the help

3 answers

0 votes
Arthur Mack
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.
April 8, 2019

You can easily do this without plugins. On the transition you do not want them to be able to see simply put a condition on it (it can be they have to be in a certain group etc) then they will not even see the button.

0 votes
Sebastian Gomez April 8, 2019

I ended up using an add-on called Scriptrunner and created a simple scripted condition in the desired transition, and that was able to hide the cancel button from the user.scriptrunner simple condition.PNGSimple scripted condition.PNG

cancel gone.PNG

0 votes
Antoine Berry
Community Champion
April 8, 2019

Hi,

This probably means these transitions are global (i.e. they are accessible from any status). You can delete them and create a transition from status A to B instead, so it is only available when the issue is in status A.

If you are willing to look into plug-ins, I would advise JMWE as it provides a condition on the current status, allowing you to keep the global transition and restricting the status in its conditions. It helps keeping the workflow clearer.

image.png

Antoine

Sebastian Gomez April 8, 2019

Thanks, I will look into the plugin. I was trying to figure it out under the status properties by experimenting different property keys that would allow me to hide them, but have only been successful at removing the Edit/View screen and preventing users from writting comments.

status properties.PNGproperty key.PNG

Suggest an answer

Log in or Sign up to answer