Bitzu

GH-900 ยท Collaboration tools

What is a GitHub issue used for?

What an issue is used for (bugs, tasks, ideas), assignees, labels, and how issues are opened and closed.

Key points

  • An issue tracks a unit of work or a conversation for a repository: a bug, a task or an idea. It can have assignees, labels and a milestone, and it is open until someone closes it. Closing keeps the history and the issue can be reopened.

Source: https://docs.github.com/en/issues/tracking-your-work-with-issues/about-issues

Practice questions

Single choice

Which use is the best fit for a GitHub issue?

  1. Tracking a bug, task or idea for a repository
  2. Storing compiled release binaries
  3. Hosting a static website
  4. Sharing a private code snippet
Show answer

Answer: A. Tracking a bug, task or idea for a repository

Issues track bugs, tasks and ideas. Hosting sites is Pages, and snippets are gists.

Select all that apply

Which of these can be set on an issue?

  1. Assignee
  2. Label
  3. Squash merge option
  4. Approving review
  5. Milestone
Show answer

Answer: A. Assignee, B. Label, E. Milestone

Assignees, labels and milestones are issue metadata. Merge options and approving reviews belong to pull requests.

True or false

Closing an issue deletes it permanently.

Show answer

Answer: False

False. A closed issue stays in the repository, remains searchable and can be reopened. Closing only changes its state.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More GH-900 topics in this module