We have certain situations where the agent loses permission to view an issue after a transition. When this happens the page just keeps loading, and if you refresh the page it says: "You can't view this issue" - "It may have been deleted or you don't have permission to view it".
Is it possible to instead redirect the agent to a custom screen? My idea with the custom screen is to put some information ("The issue has been transitioned to [Status] and you no longer have the permission to view it" or something like that) along with a link back to the queue or dashboard. Just an automatic redirect back to the queue or dashboard after the transition (without the landing screen) would also work.
Is there perhaps some plug-in/add-on that can make this work?