Support JSON response in Project Milestone along with avoiding error
What does this MR do?
Add support for JSON response in Project Milestone to avoid the existing 500 error.
Are there points in the code the reviewer needs to double check?
No.
Why was this MR needed?
There is a 500 error in Project Milestone with application/json
content-type request and we need to avoid this error.
Along with this, this MR adds a simple JSON response to that endpoint.
Screenshots (if relevant)
No UI.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary - [n/a] Documentation created/updated
- [n/a] API support added
- Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #33803 (moved)