You could create a plugin with a web-filter module. In this filter you would catch all requests to the "you can't view this issue" page and redirected to your own page.
You can find more info about the web-filter module here:
@Alexey Matveev _cPrime_ I am having a hard time, i followed a few tutorials and the servlet filter tutorial as well, but it does not seem to do anything at all. when i go to the hello world page it just gives a 404. I've been searching around but cannot find any resources to expand on the tutorial.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events