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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
🤔 - 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not really,
but if you use the banner solution I've mentioned the post before, you could possibly filter for that url client-side and show some note or maybe even redirect from the client-side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Switch to Jira Cloud with Atlassian University! Explore new navigation, issue views, and Cloud features like team-managed projects and automation. Tailored for Data Center users & admins, these courses ensure a smooth transition. Start your journey today!
Enroll now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.