Skip to content

REST API filter issues by any/none health status

charlie ablett requested to merge 370721-cablett-health-status-any-none into master

What does this MR do and why?

Allow filtering of issues by any/none health status using 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:
# any health status
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/issues?health_status=any"
# no health status
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/issues?health_status=none"

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)

Merge request reports