Skip to content

feat: add incident note command

Vitali Tatarintev requested to merge add-incident-note-command into main

Description

Add incident note command.

Note: There are two commits in the MR. First commit moves issue subscribe code into issuable directory. We need to avoid squashing commits on merge to keep the commit history for that file.

Related Issues

Resolves #1369 (closed)

How has this been tested?

Using extended tests and the following commands:

  • glab issue note <ISSUE_ID> -m "Comment"
  • glab issue note <ISSUE_ID>
  • glab issue note <ISSUE_ID> -m " "
  • glab incident note <INCIDENT_ID> -m "Comment"
  • glab incident note <INCIDENT_ID>
  • glab incident note <ISSUE_ID>
  • glab incident note --help
  • glab incident --help

Screenshots (if appropriate):

issue note inline issue note editor issue blank message incident note on issue incident note issue view incident view
Screenshot_2023-06-27_at_13.59.03 Screenshot_2023-06-27_at_13.59.25 Screenshot_2023-06-27_at_13.59.33 Screenshot_2023-06-27_at_13.59.42 Screenshot_2023-06-27_at_13.59.54 Screenshot_2023-06-27_at_14.00.08 Screenshot_2023-06-27_at_14.00.35

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap

Merge request reports