Skip to content

Allow iteration ids to be passed as a Global ID

Brett Walker requested to merge bw-iteration-globalid into master

What does this MR do?

For query such as

query issue_iteration {
  project(fullPath: "h5bp/html5-boilerplate") {
    name
    issues(iterationId: "gid://gitlab/Iteration/1") {
      edges {
        node {
          id
          iid
          title
          iteration {
            title
            id
            iid
          }
        }
      }
    }
  }
}

only a raw id could be passed in as iterationId. Added support for using a GlobalID

Screenshots (strongly suggested)

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

Related to #284011 (closed)

Edited by Brett Walker

Merge request reports

Loading