fix: nil pointer dereference in DisplayIssueList and DisplayIssue when CreatedAt is null

What does this MR do and why?

Fixes a SIGSEGV panic in glab mr issues when the GitLab API returns issue objects with a null created_at field.

This happens when a project has issues disabled and returns linked external issues (e.g. Jira issues). These proxy objects have null for created_at, iid: 0, and other zero values. Dereferencing the nil *time.Time pointer in DisplayIssueList and DisplayIssue caused the panic.

MR acceptance checklist

  • This MR does not have a documentation impact
  • I have evaluated the MR acceptance checklist

Closes #8235 (closed)

Merge request reports

Loading