Add any, none filters for issue health status
What does this MR do and why?
Add any
and none
as possible filter options for issues by health status in the finder, and expose in GraphQL.
Because the frontend support has already been added, we'll need to deprecate the health_status
argument due to multi-version compatibility. If both health_status
and health_status_filter
arguments are provided, health_status_filter
will be taken instead.
GraphQL queries
by project
query {
project(fullPath: "group/project") {
issues(healthStatusFilter: ANY) {
nodes {
title
healthStatus
}
}
}
}
query {
project(fullPath: "group/project") {
issues(healthStatusFilter: NONE) {
nodes {
title
healthStatus
}
}
}
}
by group
query {
group(fullPath: "group") {
issues(healthStatusFilter: ANY) {
nodes {
title
healthStatus
}
}
}
}
query {
group(fullPath: "group") {
issues(healthStatusFilter: NONE) {
nodes {
title
healthStatus
}
}
}
}
How to set up and validate locally
- Create some issues in a project and assign some of them health statuses
- Use the GraphQL queries above to query them
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 #218711 (closed)
Edited by charlie ablett