Skip to content

Fix fetch iteration cadence by id

Alexandru Croitor requested to merge fix-fetch-iteration-cadence-by-id into master

What does this MR do?

This is being behind FF iteration_cadences. To try it out make sure to enable the FF either globally or for a specific group

Feature.enable(:iteration_cadences)

Fix iteration cadence fetching by ID. There is no related issue for this but I did find it fails by testing out iteration cadences management at https://gitlab.com/groups/gitlab-org/plan-stage/-/cadences/491/edit

GraphQL query:

query($id: ID!){
  project(fullPath: "top-group/sub-group/test-empty-project"){
    iterationCadences(id: $id){      
      nodes{
        id
      }
    }
  }
}

// id: as integer
{ "id": 13547 }

// id: as global id
{ "id": "gid://gitlab/Iterations::Cadence/13547" }

Screen_Recording_2021-09-02_at_13.58.19

Screenshots or Screencasts (strongly suggested)

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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 Alexandru Croitor

Merge request reports