Iteration not added to issue in iterations board list

Summary

Adding a new issue to an iterations board list creates a new issue but does not assign the iteration to the new issue.

Steps to reproduce

  1. Add an iterations list to a board.

  2. Add a new issue using + button.

  3. Check that the created issue doesn't have the iteration assigned.

Screen_Recording_2022-09-01_at_14.48.19

Possible fixes

The GraphQL mutation "CreateIssue" does not set the argument iterationId correctly (note iterationId: null:

variables: {,…}
input: {title: "asdfa", labelIds: [], assigneeIds: [], projectPath: "container-group/some-project",…}
assigneeIds: []
iterationCadenceId: null
iterationId: null
labelIds: []
moveAfterId: "gid://gitlab/Issue/484"
projectPath: "container-group/some-project"
title: "asdfa"
weight: null

Proposed Solution

  • Always assign the list value
    • In the case that a board has an iteration selected but the list on the board has a different iteration"? Assign the list value and not the board value for the iteration.
    • In the case/workflow where a board is created without iteration > a list is created with iteration > and then the board adds an iteration, keep the list value iteration.
Edited by Alana Bellucci