GitLab Ticket Templates
Templates for the different types of tickets in GitLab.
1. Overview
The following templates help document tickets (issues) in GitLab. They are a starting point and reference for anyone unfamiliar with the ticketing process. There are two main templates given here; one for reporting bugs, and one for the implementation of a User Story (new feature).
Required fields listed below may not be required (strictly speaking) in GitLab when submitting a new ticket. The information in these fields are required for our team to handle bug fixes and new features with speed and efficiency. A few extra minutes of your time now can save the team hours or days in the long run.
2. Bug Tickets
A bug is a defect in something that already exists. When found, bugs need to be documented in tickets to be tracked like any other work item. Bugs are unique in that they can be difficult to reproduce, have obscure root causes, and may not present themselves in all contexts. This is why providing detailed tickets is key to solving these issues.
Key Elements of a Bug ticket:
Title (Required): Short title that clearly states the Bug.
Type (Required):
Issue
(for general work) orIncident
(For investigating IT service disruptions or outages).Description (Required): Detailed enough so that QA does not need to ask questions in order to test the ticket. This should include the following sections:
Description: Describe the bug.
Preconditions: If necessary in order to run the Scenario steps properly.
Affected Version(s): If known, list the build(s) where the issue has been observed.
Scenario: The steps to reproduce the issue. Should be clear, direct, and have enough details to be reproducible.
Current Bugged Behavior: The observed issue as it actually happens.
Expected Correct Behavior: The requirements that describe a successful outcome. Simply, what should happen.
Attempted Fixes: What has already been done to try to solve the issue, and the results of the attempts.
Possible Fixes: If possible, link to the line of code that might be responsible for the problem. Or list other insights into the problem.
Attachments: This is the visual proof (screenshots, logs, video, etc.) of the existing issue. Any other useful information should be attached as well.
Quick Actions: If necessary, use quick actions to relate issues to this ticket. (
/relate #issue1 #issue2
) See Quick Actions for more info.
Assignees: If known, adding the appropriate individual(s) here will save time.
Weight: Estimate of the effort needed to solve the issue. See Time Tracking > Weight for more info.
Epic: If known, select the best related epic.
Due Date: Can be left blank. It's useful if the issue is blocking something with a deadline.
Milestone: If known, select the best related milestone.
Labels (Required): The following three label types must be provided, but others can be added if necessary. See Labels > Scoped Labels for more info.
Priority: (low, medium, high, or critical) see the chart in Appendix A for help deciding the priority level.
Type: bug (in the case of this template!)
State: pending (for new tickets)
3. User Story / Implementation of a New Feature
A user story is a simple way to describe features that need to be implemented (and does not yet exist). The template below is built to help fully describe the task(s) that needs to be completed to satisfy the requirements of a user story. In this case, a user story may be an improvement, a previously missed requirement or functional spec, or even a brand new feature.
Key Elements of a User Story:
Title (Required): Short title that clearly states the User Story.
Type (Required):
Issue
(for general work) orIncident
(For investigating IT service disruptions or outages).Description (Required): A clear explanation of the required story's content so that QA does not need to ask questions in order to test and close the story ticket. Additional notes are welcome. This should include the following sections:
Description: Describe the user story.
Affected Version(s): If necessary, list the build(s) where the issue applies.
Acceptance Criteria: The clear definition of the final solution. What does the goal look like?
Attachments: If helpful, provide screenshots, logs, video, diagrams, documents, etc. pertaining to the issue. Any other useful information should be attached as well.
Quick Actions: If necessary, use quick actions to relate issues to this ticket or provide a time estimate. (
/relate #issue1 #issue2
) See Quick Actions for more info.
Assignees: If known, adding the appropriate individual(s) here will save time.
Weight: Estimate of the effort needed to solve the issue. See Time Tracking > Weight for more info.
Epic: If known, select the best related epic.
Due Date: Can be left blank. It's useful if the issue is blocking something with a deadline.
Milestone: If known, select the best related milestone.
Labels (Required): The following three label types must be provided, but others can be added if necessary. See Labels > Scoped Labels for more info.
Priority: (low, medium, high, or critical) see the chart in Appendix A for help deciding the priority level.
Type: feature (in the case of this template!)
State: pending (for new tickets)
Appendix A - Determining Ticket Priority
The priority of a ticket depends on a mix of aspects. Applying a priority is subjective. But we can help classify the priority by thinking in terms of impact and urgency:
Appendix B - Copy / Paste Description Templates
Bugs
Here is a template that you can quickly copy and paste into the Description field in the new GitLab bug ticket. This one has information to help guide you when entering information into the ticket.
Or just the section headers if you prefer...
User Stories
Here is a template that you can quickly copy and paste into the Description field in the new GitLab user story ticket. This one has information to help guide you when entering information into the ticket.
Or just the section headers if you prefer...
Last updated