Add REST API filters for issue health status
What does this MR do and why?
Adds filter by health status to the REST API
How to set up and validate locally
- Create some issues in a project and assign some of them health statuses
- Use the REST API to query them:
# a specific health status
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/issues?health_status=at_risk"
None
and any
are not supported yet. This MR allows a query for a single health status value only.
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.
Related to #370721 (closed)
Edited by charlie ablett