Skip to content

Add missing filters to issues list

What does this MR do and why?

Add missing filters to issues list

Add filters that are missing in the issues graphql query. These are:

To consolidate existing filters (needed for &9937) we need to add these arguments to issues filtering.

Example queries:

existing board issues filtering
query getBoardIssues {
  project(fullPath: "group-a/project-a") {
    board(id: "gid://gitlab/Board/10") {
      id
      lists {
        edges {
          node {
            issues(filters: {assigneeWildcardId: NONE, epicWildcardId: ANY, weightWildcardId: ANY, iterationTitle: "test", iterationCadenceId: "gid://gitlab/Iterations::Cadence/1"}) {
              edges {
                node {
                  id
                  title
                }
              }
            }
          }
        }
      }
    }
  }
}
expected issues list filtering
query getIssuesList {
  project(fullPath: "group-a/project-a") {
    issues(assigneeWildcardId: NONE, epicWildcardId: ANY, weightWildcardId: ANY, iterationTitle: "test", iterationCadenceId: "gid://gitlab/Iterations::Cadence/1") {
      edges {
        node {
          title
        }
      }
    }
  }
}

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

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

Edited by Joseph Wambua

Merge request reports

Loading