Render 404 when Jira issue not found
What does this MR do and why?
This renders a 404 error page when a Jira issue cannot be found instead of a 500 error.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Create a project
- Go to `http://localhost:3000/{PROJECT_PATH}/-/settings/integrations/jira/edit
- Enter Jira credentials (I have a Jira test namespace and can share the credentials. Ping me on Slack)
- Make sure to check Enable Jira issues and enter the Jira project key
- Visit
http://localst:3000/{PROJECT_PATH}/-/integrations/jira/issues/UNKNOWN-99999
- Observe a 404 page instead of 500 error.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Andy Schoenen