Skip to content

Fix iterations quickaction to show opened iterations

Mario de la Ossa requested to merge 248562-iteration-quickaction-bug into master

What does this MR do?

Due to a missed spot when we refactored Iteration states, the Iteration quickaction was not finding any iterations because it was being sent an invalid 'state'.

Here we also make it so that invalid states raise an ArgumentError so we become aware of these issues immediately.

Screenshots

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

Edited by Mayra Cabrera

Merge request reports

Loading