Skip to content

Filter issues by releaseTag in GraphQL

Mario Celi requested to merge 327341-filter-issues-by-release-gql into master

What does this MR do and why?

Adds release tag filter to issue resolver in GraphQL

Example Queries

Negated Release Tag

{
  project(fullPath:"Flightjs/flight") {
    issues(not: { releaseTag: ["v1.0"] }) {
      nodes {
        id
      }
    }
  }
}

Release Tag

{
  project(fullPath:"Flightjs/flight") {
    issues(releaseTag: ["v1.0"]) {
      nodes {
        id
      }
    }
  }
}

Release Tag Wildcard

{
  project(fullPath:"Flightjs/flight") {
    issues(releaseTagWildcardId: ANY) {
      nodes {
        id
      }
    }
  }
}

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

Edited by Mario Celi

Merge request reports

Loading