Update issue "Closed" badge to link to relevant system note

Problem to solve

Sometimes it can be difficult to locate the system note where an issue state changed, such as when the issue was closed. It would be very useful if clicking on the status badge took you to the relevant system note under the discussion tab for the context by which an issue was closed.

Intended users

Persona: Software developer Persona: Development Team Lead Persona: Product Manager

Further details

Proposal

Linkify status badge to point at relevant system note:

  1. If an issue is Open, do not link (or link to start of notes)
  2. If an issue is Closed, link to last closure event
  3. If an issue is Reopened, link to reopen event

Permissions and Security

No change to permissions

Documentation

No change to documentation

Testing

What does success look like, and how can we measure that?

It becomes easier to understand why the state of an issue had changed without having to scroll or Ctrl+F through an entire issue's history

Links / references