There is no permission problem with this page. I want to add a button that takes users to a new page when clicked. How to do it?
Hi @lei
I believe that's not something which can be achieved easily. Here's an old feature request asking for a possibility to customize that page. However, it didn't get much traction and I doubt that Atlassian will really work on that.
Here's also an article which explains a bit how to customize the 404 error page for Confluence. I believe these should be similar for Jira. However, this includes modifying the Confluence/Jira source files which I wouldn't recommend since this will only create troubles for you for the next Jira update.
Cheers,Matthias.
I want to implement a function that allows users to apply for access permissions when they don't have the permission to access an issue.
Do you have any good suggestions?
🤔 - I've written an article how to add a project-based banner on Jira Data Center a while ago.
If you're up for some Javascript hacking, you can take the same idea from that article and modify it to your needs. Instead of showing a banner for certain projects, you need to find a condition from the 404 error page and then show your message.
I assume you should be able to find something on the 404 error page which you can use for that.
We used a servlet filter to intercept /browse/* and check if the user has permission when accessing an issue. If the user doesn't have permission, we use httpResponse.sendRedirect to redirect the user to a specified self-developed permission application page, and this works fine. However, there is another scenario for the list with <url-pattern>/projects/*/issues/*</url-pattern> that cannot be intercepted. Do you have any solutions to this problem?
/browse/*
httpResponse.sendRedirect
<url-pattern>/projects/*/issues/*</url-pattern>
It looks like you're new here. Sign in or register to get started.