Remove health status widget for tasks
What does this MR do and why?
MR introducing it: !104760 (merged)
Health status widget was mistakenly added for Tasks, although it should only be available for Issues, OKRs and Key Results for now.
No changelog because change is within the same release and workItems GraphQL API is still beta ("deprecated")
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Before this change, the following GraphQL query worked for Tasks, now it's throwing an error for the mutation or does not respond back with the HealthStatus
mutation updateWorkItem {
workItemUpdate(input:{id: "gid://gitlab/WorkItem/654", healthStatusWidget:{healthStatus:needsAttention} }) {
clientMutationId
workItem {
id
widgets{
... on WorkItemWidgetHealthStatus {
healthStatus
}
}
}
}
}
query getWorkItem {
workItem(id: "gid://gitlab/WorkItem/654"){
id
widgets {
... on WorkItemWidgetHealthStatus {
healthStatus
}
}
}
}
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.
Edited by Nicolas Dular