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
Which use is the best fit for a GitHub issue?
- Tracking a bug, task or idea for a repository
- Storing compiled release binaries
- Hosting a static website
- 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.
Which of these can be set on an issue?
- Assignee
- Label
- Squash merge option
- Approving review
- 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.
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.
