Skip to content

Expired Iterations don't appear in the sidebar

Summary

The issue sidebar shows the current iteration, or No iteration if none is assigned. If an expired iteration is assigned, however, it shows nothing.

Steps to reproduce

  1. Create an iteration
  2. Assign an issue it
  3. Wait for it to expire
  4. Observe the issue sidebar

Example Project

Issue with no iteration: #210452 (closed) Issue with a current iteration (at time of writing): #249181 (closed) Issue with expired iteration: #13984 (closed)

What is the current bug behavior?

Iteration is blank

What is the expected correct behavior?

Expired iteration is shown

Relevant logs and/or screenshots

Issue with no iteration:

image

Issue with current iteration:

image

Issue with expired iteration:

image

GraphQL Request Example response

[{"data":{"project":{"issue":{"iteration":{"id":"gid://gitlab/Iteration/1100","title":"gitlab-org: #10","__typename":"Iteration"},"__typename":"Issue"},"__typename":"Project"}}}]

Possible fixes

Edited by John Hope