Skip to content

Dont show due date in red on epic related issues

What does this MR do?

Similar to the problem in #9202 (closed) issues shown in the epic related items tree have a due shown in red even when the issue is closed. This is because the closed state is not provided to the item-due-date component.

Screenshots or Screencasts (strongly suggested)

Before the fix, due dates of closed issues would appear in red colour, indicating the due date was missed.

before

After the fix, due dates of closed issues appear in normal font color.

after

How to setup and validate locally (strongly suggested)

  1. create an epic
  2. create an issue
  3. set a due date in the past
  4. link it to the epic
  5. create a second issue
  6. set a due date in the past
  7. link it to the epic
  8. close this issue
  9. view the epic and its list of related issues - the due date is now correctly displayed

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 Daniel Ziegenberg

Merge request reports