gitlab

Cancel/strike out a checklist item in GitLab


In GitLab issues, you can implement interactive checklists in markdown by utilizing square brackets:

Checklist:

  * [x] ToDo one
  * [ ] ToDo two

You can check items by clicking on them or by inserting an x into the square brackets in markdown. Is there a way to cancel an item? In other words, to mark an item as will not be done instead of leaving it as TODO?


Solution

  • Since GitLab 15.3 (released in August 2022), you can mark a checklist item as "inapplicable" by using a tilde (~):

    - [ ] to do
    - [x] done
    - [~] cancelled