{"action":"opened","issue":{"url":"https://api.github.com/repos/ambientwanderer/issues-template/issues/1","labels_url":"https://api.github.com/repos/ambientwanderer/issues-template/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ambientwanderer/issues-template/issues/1/comments","events_url":"https://api.github.com/repos/ambientwanderer/issues-template/issues/1/events","html_url":"https://github.com/ambientwanderer/issues-template/issues/1","id":115435176,"number":1,"title":"Github Issue template (edit later)","user":{"login":"ambientwanderer","id":10511430,"avatar_url":"https://avatars.githubusercontent.com/u/10511430?v=3","gravatar_id":"","url":"https://api.github.com/users/ambientwanderer","html_url":"https://github.com/ambientwanderer","followers_url":"https://api.github.com/users/ambientwanderer/followers","following_url":"https://api.github.com/users/ambientwanderer/following{/other_user}","gists_url":"https://api.github.com/users/ambientwanderer/gists{/gist_id}","starred_url":"https://api.github.com/users/ambientwanderer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ambientwanderer/subscriptions","organizations_url":"https://api.github.com/users/ambientwanderer/orgs","repos_url":"https://api.github.com/users/ambientwanderer/repos","events_url":"https://api.github.com/users/ambientwanderer/events{/privacy}","received_events_url":"https://api.github.com/users/ambientwanderer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-06T05:19:26Z","updated_at":"2015-11-06T05:19:26Z","closed_at":null,"body":"# Issue Template\r\n\r\nA way for GitHub projects to make templates for GitHub issues.\r\n\r\n## Brief Overview\r\n\r\nThis tool was originally created for the [AngularJS](http://github.com/angular/angular.js) project because at the time of this writing it has almost 1,000 open issues. Triaging that many issues can be extremely difficult. However, using an issue template makes it much easier to quickly get an idea of what the issue is referring to (and if you have an automated account like [Mary Poppins](https://github.com/mary-poppins) you can even automatically assign the issue and give it the proper labels). It's a huge win for both the issue reporter and the project maintainer(s).\r\n\r\n## Creating a Template\r\n\r\nSimply go to http://issuetemplate.com/#/new-template to begin. Fill out the form and submit the template.\r\n\r\n### Form Details\r\n\r\nI'll be making a template for feature requests for http://github.com/kentcdodds/genie as an example.\r\n\r\n - Owner: kentcdodds\r\n - Repo: genie\r\n - Template Name: feature\r\n - Issue Title Template: Feature {{title}} (use {{title}} to fill in what they will type, this is parsed to create the issue title).\r\n - Template... er... Template: (See below)\r\n\r\n#### Fields\r\n\r\n - Name: Feature Summary (this is what will be used for the field label)\r\n - Element: input (this is the html form element)\r\n - Element Type: text (an sensible html form element type if applicable)\r\n - Value(s): `blank` (Any pre-filled comma separated value(s) you wish to have for this field. In the case of `select` element or `checkbox/radio` input element types, these will be the values available for selection)\r\n\r\n#### Template\r\n\r\nThe actual template is what the body of the issue will become (post-parsing). The parsing is extremely simple. You can use `{{title}}` to be whatever the user enters as a title and `{{field0}}` which references the value for the first field, and `{{field1}}` for the second field, etc.\r\n\r\n#### Comments\r\n\r\nEvery template will also be given a comment `textfield` automatically and this will be inserted at the bottom of the issue body.\r\n\r\n### Submitting\r\n\r\nUpon template submission, you'll be given a URL for the template you just created which will follow this standard: `/{{owner}}/{{repo}}/{{templateName}}`. If you wish to edit your template, simply go to that page, and an edit button will appear at the top of the page (or you can append `/edit` to the end of the template's URL.\r\n  \r\n## Submitting an Issue\r\n\r\nOn the home page you can search repository templates. Select the one you want and fill out the form. It's fairly simple. You can also get to the template form by going to: `/{{owner}}/{{repo}}/{{templateName}}` (for example `/kentcdodds/genie/feature/`)\r\n\r\n### Updating an issue\r\n\r\nIf you have an existing issue you wish to change to a form, you can have it pre-loaded by appending the issue number like so: `/{{owner}}/{{repo}}/{{templateName}}/{{number}}` (for example `/kentcdodds/genie/feature/18`)\r\n\r\n## Basic Security\r\n\r\n - Only contributors to a repository can create/edit/delete templates for that repository\r\n - Anyone with a GitHub account can see the template and make a copy of it.\r\n - Anyone with a GitHub account can create issues for public repositories\r\n\r\n## Other\r\n - I don't know how this will behave with private repositories... I don't have any to test with. If you have trouble, consider making a [PR](https://github.com/kentcdodds/issue-template/pulls) :)\r\n \r\n## Questions & Issues\r\n\r\nPlease don't hesitate to [submit an issue](http://github.com/kentcdodds/issue-template). (Note: I'm not using this project for this repo because it's not too difficult for me to triage issues :D)\r\n"}}