Skip to content

3Dr00N3Y/github-issues-via-feedback-form

 
 

Repository files navigation

GitHub Issues via Feedback Form

Push user feedback from your website directly to GitHub Issues. This CSharp ASP.NET MVC 3 project uses RestSharp to connect with the GitHub API v3. Here's an example of an issue created from the website.

Building

To run the project you'll have to first rename the file appSettings.dll.config.example to appSettings.dll.config. Open the renamed file and substitute the values in this section with your information:

<appSettings>
  <add key="username" value="your github username"/>
  <add key="password" value="your github password"/>
  <add key="repo" value="github-repo"/>
  <add key="defaultlabel" value="feedback"/>
</appSettings>

With the defaultlabel you can enter anything you want, if the label is not already created for this repo it will be created on the fly. We chose to use a unique label named feedback to distinguish issues generated directly by website users. You could also assign more than one label to the issue by separating each label with a comma.

Side note

You'll see that the issue created contains some useful troubleshooting information about the user's browser. It would be useful if the issue also contained a screenshot of the user's browser at the time they submitted the feedback. Anyone know how to accomplish that?

License

Licensed under the Apache License, Version 2.0, included in the repo.

About

Create GitHub Issues via a feedback form on your website using the GitHub api v3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.9%
  • C# 6.0%
  • Classic ASP 0.1%