In Part 1 of this series we looked at putting NancyFX as a simple http wrapper in front of YouTrack. Now we're going to make it more RESTful - i.e. we will display the error page to the user agent and include the exception report form on that page.
We will do this by leveraging Nancy's status code handling features. This will allow us to intercept any status code we want and modify the response. Let's start with the view to collect the bug report:
Getting the business users to try and recreate a bug is difficult to say the least. They may not remember what it is they did to reproduce. But you can bet that if you don't fix it by yesterday you're gonna get an earful. In fact we just did. This is me doing something about it :)
Turns out this is annoyingly easy with Nancy and the YouTrackSharp library, so easy that I'm not going to bother test driving this. Frankly writing this post took longer than the actual code. First, the
Here where I work we use YouTrack for issue tracking. We have a small team, it's easy to use and free.
We're also trying to get the business side more involved with what we're doing - to know that we're not just talking to ourselves / the keyboard all day. Unfortunately the default search leaves much to be desired.