Issue Templates: How to Write Reproducible Problem Reports
Learn which fields help a team reproduce an observed software problem, how to distinguish bug reports from requests and incidents, and how to protect sensitive evidence.
An issue template is an intake form that collects the context another person needs to assess and reproduce a problem that has already been observed. A useful form asks first for the minimum reproduction steps, expected and actual behavior, and relevant environment, while avoiding unnecessary questions and sensitive data. This guide covers reports about software defects or unexpected behavior, not general work requests, incident response, or vulnerability disclosure.
An issue template collects what people need to assess and reproduce a problem
When someone finds a problem, a developer or maintainer cannot infer its cause from a screen alone. The same symptom may appear only with a particular version, browser, setting, or input, and without a description of intended behavior it may be impossible to tell a defect from an intentional design. A template gathers that context in one place, reduces repeated questions, and gives the next person a starting point for investigation or reproduction.
The goal is not to force reporters to write a long report. Do not omit information essential to checking the problem, but make irrelevant fields optional or conditional. Do not ask for a version or account detail that the system records automatically, and do not require lengthy background that will not help narrow the cause. More fields can collect more data, but can also lead people to abandon a report or fill it with boilerplate. Be able to explain what decision each field supports.
Distinguish a defect report from other kinds of work
People often use “issue” as a general word for a problem, request, or task. If one form accepts all of these without distinction, a defect report that needs reproduction steps may contain only a feature idea, or a service outage may arrive through a public discussion. Ask the reporter to choose a type or provide separate forms so the questions match the purpose.
| Record type | Main question | What its template should ask first |
|---|---|---|
| Defect or problem report | Under what conditions does behavior differ from what was expected? | Actual and expected results, minimum reproduction, environment, impact, evidence |
| Feature proposal | Whose user problem should be improved, and how? | User context, problem to solve, key use cases, success conditions |
| Incident record | When did service impact begin, and how was it mitigated and resolved? | Impact window, detection/response/recovery, decisions, follow-up actions |
| General work request | What result will make the request complete? | Outcome, owner, reason for priority, completion check |
| Security vulnerability report | How can the vulnerability be assessed safely and disclosed in coordination? | The organization’s designated private reporting route and required technical detail |
Defects, incidents, and vulnerabilities may all be called “problems,” but their exposure and response needs differ. An incident review focuses on restoration and prevention; a feature proposal focuses on a user problem and intended benefit. Do not use this reproduction-focused form as a replacement for those forms. If you suspect a security vulnerability, do not put exploit details or secrets about affected systems in a public issue. Find the operator’s private reporting instructions.
Ask for evidence in the order an investigation needs it
Add a short instruction or example to explain what a useful answer looks like. The requiredness below is a starting point. Set it according to information already collected automatically, reporter permissions, visibility, and investigation cost.
| Field | What to request and why | Suggested requirement |
|---|---|---|
| Title | Name the affected feature and observed result, such as “An error appears for this file after selecting Save.” Lead with the symptom. | Required |
| Actual and expected results | Compare what happens now with what should happen. Link to documentation or a requirement when it supports the expectation. | Required |
| Reproduction steps | Give the shortest numbered sequence and input conditions that make the problem happen again. Put one action in each step. | Required for defects |
| Frequency and first observed | Say whether it happens every time or only under certain conditions, and when it was first seen. Do not guess at a frequency. | Recommended |
| Environment | Ask for relevant product version, operating system, browser/device, or settings. Do not ask for every device detail if it will not aid investigation. | Required when relevant |
| Minimal case and evidence | Request a reduced reproduction case, relevant logs, or a screenshot. Explain access, size, and sensitive-data removal rules. | Conditional |
| Impact | State which users or functions are affected, any workaround, and the practical consequence. Ask for a severity rating only when the team defines the scale. | Recommended |
| Duplicate check and contact | Ask whether similar reports were searched and request links. Ask for a follow-up contact only within a scope safe to disclose. | Optional |
“Environment” depends on the software. A web app may need a browser and operating system; a desktop app may need its version and device; an API may need the endpoint, request conditions, and response code. Bugzilla’s guide is one implementation that separates product, version, operating system, and platform. It does not mean every team must require the same fields.
Follow six steps from observation to a checked report form
Define what the form accepts. Decide whether it is for an observed defect, an improvement idea, or an incident in progress, and whether each type needs a different form.
List only the questions a reviewer needs to classify or reproduce the problem. For each one, identify the investigation step it supports; remove data that is already available automatically or will not be used.
Write reproduction steps from the perspective of someone checking the problem for the first time. Put prerequisites and input conditions first. Ask for an observable expected result, not a vague phrase such as “works normally.”
Separate required fields from optional ones. A required answer that the reporter cannot know or verify can block a report. Allow “unknown” or “not reproduced” and treat it as information for investigation.
Review the evidence rules and visibility. Explain that logs and screenshots may contain credentials, access tokens, or customer data; provide a safe attachment route or redaction method. Route suspected vulnerabilities away from the public form.
Submit a test report through the real workflow. Ask a first-time reporter and a reviewer whether it supplies enough to reproduce the issue. If too many fields are blank or questions repeat, revise the guidance and requiredness before rollout.
This is a form-design process, not a feature of a particular tool. Examples can help reporters state observations instead of guesses. Requiring every reporter to know the internal cause or proposed fix asks for information they may not have. Keep root-cause analysis with the investigators; the intake form only needs enough to begin reproduction and assess impact.
Hypothetical example: search sorting resets after moving to another page
The following is a hypothetical example of how to complete fields. It does not describe a real product, confirmed defect, or measured result. The title reports a symptom rather than asserting a cause, and the reproduction conditions are separate from the expected and actual results.
| Template field | Hypothetical report |
|---|---|
| Title | Opening the next page of search results resets the selected sort order |
| Expected result | The selected sort order remains active after moving to another page |
| Actual result | Selecting the next page changes the sort indicator to its default; the result order must be checked again |
| Minimum reproduction | 1. Search for a sample term. 2. Change sorting to “Recently added.” 3. Open the next page. |
| Environment | Fictional product SampleDesk 2.4; record the browser version available at the time of reporting |
| Frequency and impact | Record the number of reproductions honestly and explain that users must select the preferred order again |
| Evidence | Attach a screenshot or reduced reproduction case only if it contains no sensitive search term or account information |
The report does not label this a “pagination bug” before investigation. A maintainer can check whether the difference comes from URL state, screen state, or sorting behavior. If the reporter has not checked another browser, the report should say so rather than generalize. Separate the tested environment from conditions that remain unknown.
After implementation, verify the template in the actual tool
Tools may use Markdown files, issue forms, or another mechanism. GitLab’s documentation describes Markdown templates in the project’s default branch under .gitlab/issue_templates, followed by a check that the template appears in the new-issue template chooser. Group or instance templates and default descriptions have inheritance and plan conditions, so verify the current GitLab offering and plan before depending on them. These steps do not automatically apply to other products.
GitHub Issue Forms use YAML files to define input types and validation, and can set default assignees or labels; responses are converted into Markdown in the issue body. GitHub’s documentation currently labels Issue Forms as public preview and subject to change. Do not treat a product-specific format or file path as a universal standard; check official documentation and repository policy immediately before rollout.
Once saved, create a test issue using both reporter and reviewer permissions. Check that required questions behave as intended, a selected template appears in the submitted description, attachments work as described, and visibility is clear. If the form does not appear as expected, check its priority relative to other defaults, storage path, and whether it is on the default branch using the product’s documentation.
Keep secrets and personal data out of public reports
When an issue appears in a public repository or customer-visible support portal, logs, screenshots, and test data may have the same audience. Explicitly tell reporters to remove or mask credentials, passwords, session cookies, personal identifiers, and raw customer data. Provide an alternative safe sharing route when available and say who can access it. If sensitive information has already been posted, do not assume that editing the visible report removes exposure; follow the organization’s response process for access and credential handling.
Security vulnerabilities should not be collected through the same public issue form as ordinary defects. GitHub documents private vulnerability reporting for public repositories where an owner has enabled it; when it is unavailable, reporters should follow the repository’s security policy. This is a GitHub-specific workflow. Other organizations need to state their own security contact or coordinated-disclosure process. If a safe, dedicated route is not known, direct reporters to confirm a private contact with the operator rather than encourage a public disclosure.
Connect intake to triage and the next action
Submitting a template starts an investigation; it does not automatically solve the problem or set its priority. Reviewers should first search for duplicates and ask observable follow-up questions when evidence is missing. If the issue can be reproduced, name an owner and next investigation step. If it currently stops work, connect it to blocker tracking. A possible future event should not be mixed into a defect report; it can be tracked in a risk register.
Do not immediately dismiss an issue as invalid just because it cannot be reproduced. Version, settings, permissions, or data may differ; record what was tried and under which conditions it did not recur. Conversely, if the expected behavior conflicts with product documentation, first check whether the problem is in the software, documentation, or a requirement. MDN’s browser-bug guidance recommends checking where the problem lies, building a minimal reproduction, searching existing reports, and including the version and expected versus actual behavior. That diagnostic sequence comes from browser guidance and is not every product’s official intake procedure.
Sources
GitLab Docs, [Description templates](https://docs.gitlab.com/user/project/description_templates/), checked November 21, 2026. Consulted for Markdown template location, application, verification, and the bug-report example. GitLab-specific behavior.
GitHub Docs, [Syntax for issue forms](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms), checked November 21, 2026. Consulted for input types, validation, and response conversion. The documentation’s public-preview qualification is preserved.
MDN, [When and how to file bugs with browsers](https://developer.mozilla.org/en-US/docs/Learn_web_development/Howto/Web_mechanics/File_browser_bugs), checked November 21, 2026. Consulted for minimal reproductions, initial diagnosis, duplicate search, version, and expected/actual results. Browser-specific guidance.
Bugzilla User Guide, [Filing a Bug](https://bugzilla.readthedocs.io/en/stable/using/filing.html), Bugzilla 5.0.4+ documentation, checked November 21, 2026. Consulted as one implementation of product/version/platform fields and concise reproduction steps; installations may differ.