Skip to content

Rename verification_status to status

What does this MR do and why?

Rename verification_status to status and removes the older widget. Uses the same logic underneath.

Since work items are marked as alpha and behind a feature flag, we don't have to follow the deprecation cycle. https://docs.gitlab.com/ee/api/graphql/reference/index.html#queryworkitem

See !93114 (merged) for where this was originally introduced.

How to set up and validate locally

  1. Create a requirement (you can do this via the UI - you can use https://gdk.test:3443/group/project/-/requirements_management/requirements) or identify an existing requirement.
  2. Use the GraphiQL explorer 👉 https://gdk.test:3443/-/graphql-explorer

New query:

query {
  project(fullPath: "group/project") {
    workItems(types: [REQUIREMENT]) {
      nodes {
        id
        title
        widgets{
          type
          ... on WorkItemWidgetStatus {
            status
          }}}}}}

The old query verificationStatus will no longer function once this is merged.

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 #374711 (closed)

Edited by charlie ablett

Merge request reports

Loading