Skip to content

Add REST API filters for issue health status

charlie ablett requested to merge 370721-cablett-filter-health-status-rest into master

What does this MR do and why?

Adds filter by health status to the REST API

How to set up and validate locally

  1. Create some issues in a project and assign some of them health statuses
  2. 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.

Related to #370721 (closed)

Edited by charlie ablett

Merge request reports

Loading