Skip to content

Correct status for moved and reopened issues on issue list

charlie ablett requested to merge 219331-cablett-issues-list-reopened-issue into master

What does this MR do?

Slightly modify the conditional for displaying issue status in list page.

If an issue is moved and then reopened, the status is showed inconsistently in show and index. This MR shows a moved, re-opened issue as open rather than CLOSED (MOVED) on the issue index page.

Related to #219331 (closed)

Screenshots

before:

image

after:

image

And when I close it, the following appears on the "closed issues" tab:

image

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

Closes #219331 (closed)

Edited by Douglas Barbosa Alexandre

Merge request reports