I am trying to find a way to automatically redirect users away from the issue type view to the portal view if they have no agent access to that project.
Eg user trying to view
jira.company.com/browse/XYZ-1234 but they are not an agent, therefore, receive "cannot find this issue" screen
They are able to view request in portal view eg.
jira.company.com/servicedesk/customer/portal/1/XYZ-1234
The users are agents in other projects so trying to find a clean way to redirect to portal URL.
Noted Atlassian's ticket https://jira.atlassian.com/browse/JSDSERVER-503