Skip to content

Instantly share code, notes, and snippets.

@beauraines
Last active May 21, 2019 22:17
Show Gist options
  • Save beauraines/f68e568cae2139b92aa9dc622a8e753d to your computer and use it in GitHub Desktop.
Save beauraines/f68e568cae2139b92aa9dc622a8e753d to your computer and use it in GitHub Desktop.
Diff to create bug and agile issue templates
#!/bin/bash
#set -x
git checkout master
git checkout -b issue_templates
git push --set-upstream origin issue_templates
curl https://gist.githubusercontent.com/beauraines/f68e568cae2139b92aa9dc622a8e753d/raw/21d11de58b155e42bde2685aa2e992f765693975/template.diff | git apply
git add .github
git commit -m "Adds two new issue templates a bug and an agile issue template."
git push
## xdg-open https://github.$(git config remote.origin.url | cut -f2 -d. | tr ':' /) ## Ubuntu
open https://github.$(git config remote.origin.url | cut -f2 -d. | tr ':' /)/compare/issue_templates?expand=1
diff --git a/.github/ISSUE_TEMPLATE/agile-issue.md b/.github/ISSUE_TEMPLATE/agile-issue.md
new file mode 100644
index 000000000..4fdc50f6d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/agile-issue.md
@@ -0,0 +1,28 @@
+---
+name: Agile Issue
+about: Documentation for new issues
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+## User Story
+
+As a < type of user >, I want < some goal > so that < some reason >.
+
+## Design
+
+### Functional Notes
+
+* Additional details and notes
+* Links to functional design documents
+
+#### UI Mockups
+
+Links to Balsamiq mockups, screenshots, etc?
+
+### Technical Notes
+
+* Code references
+* Links to technical design documents
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 000000000..f3d5c415e
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,38 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: ''
+labels: bug
+assignees: ''
+
+---
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**To Reproduce**
+Steps to reproduce the behavior:
+1. Go to '...'
+2. Click on '....'
+3. Scroll down to '....'
+4. See error
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
+
+**Desktop (please complete the following information):**
+ - OS: [e.g. iOS]
+ - Browser [e.g. chrome, safari]
+ - Version [e.g. 22]
+
+**Smartphone (please complete the following information):**
+ - Device: [e.g. iPhone6]
+ - OS: [e.g. iOS8.1]
+ - Browser [e.g. stock browser, safari]
+ - Version [e.g. 22]
+
+**Additional context**
+Add any other context about the problem here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment