Skip to content

Allows passing negative issue filters to epic swimlanes GraphQL query

Jan Provaznik requested to merge negated_params2 into master

What does this MR do?

Allows negative issue filtering for epic swimlanes, e.g.:

query {
  group(fullPath: "h5bp") {
    id
    board(id: "gid://gitlab/Board/2") {
        epics(issueFilters: {labelName: ["foo"], not: {labelName: ["bar","other_label"]}}) {
          nodes {
            id
            iid
            title
            author {
              id
              username
            }
          }
        }
      }
  }
}

This not format is explicitly stated as experimental because we may need to change the input format depending on outcomes from #235115 (closed).

Related to #234080 (closed)

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Jan Provaznik

Merge request reports