{"action":"created","issue":{"url":"https://api.github.com/repos/cnorthwood/django-jira/issues/1","labels_url":"https://api.github.com/repos/cnorthwood/django-jira/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cnorthwood/django-jira/issues/1/comments","events_url":"https://api.github.com/repos/cnorthwood/django-jira/issues/1/events","html_url":"https://github.com/cnorthwood/django-jira/pull/1","id":58836649,"number":1,"title":"Use Django view in issue title if possible","user":{"login":"rpatterson","id":222721,"avatar_url":"https://avatars.githubusercontent.com/u/222721?v=3","gravatar_id":"","url":"https://api.github.com/users/rpatterson","html_url":"https://github.com/rpatterson","followers_url":"https://api.github.com/users/rpatterson/followers","following_url":"https://api.github.com/users/rpatterson/following{/other_user}","gists_url":"https://api.github.com/users/rpatterson/gists{/gist_id}","starred_url":"https://api.github.com/users/rpatterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpatterson/subscriptions","organizations_url":"https://api.github.com/users/rpatterson/orgs","repos_url":"https://api.github.com/users/rpatterson/repos","events_url":"https://api.github.com/users/rpatterson/events{/privacy}","received_events_url":"https://api.github.com/users/rpatterson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-25T01:38:56Z","updated_at":"2015-02-25T20:52:04Z","closed_at":"2015-02-25T20:52:04Z","pull_request":{"url":"https://api.github.com/repos/cnorthwood/django-jira/pulls/1","html_url":"https://github.com/cnorthwood/django-jira/pull/1","diff_url":"https://github.com/cnorthwood/django-jira/pull/1.diff","patch_url":"https://github.com/cnorthwood/django-jira/pull/1.patch"},"body":"There are many exceptions whose type and the function in which they're raised may be the same for multiple distinct bugs.  For example, two different views may have compiling or rendering errors that are the same but for very different causes.  Since this is already a Django specific add-on, I add introspection to the middleware to lookup the Django view being called and add use it's module and name in the issue title instead of the place in the stack that the error was raised.\r\n\r\nI also added a global except clause to fallback to the previous name if there's any problem with the assumptions  in my additions.  I've tested both cases locally and they work for me."},"comment":{"url":"https://api.github.com/repos/cnorthwood/django-jira/issues/comments/76053987","html_url":"https://github.com/cnorthwood/django-jira/pull/1#issuecomment-76053987","issue_url":"https://api.github.com/repos/cnorthwood/django-jira/issues/1","id":76053987,"user":{"login":"cnorthwood","id":462992,"avatar_url":"https://avatars.githubusercontent.com/u/462992?v=3","gravatar_id":"","url":"https://api.github.com/users/cnorthwood","html_url":"https://github.com/cnorthwood","followers_url":"https://api.github.com/users/cnorthwood/followers","following_url":"https://api.github.com/users/cnorthwood/following{/other_user}","gists_url":"https://api.github.com/users/cnorthwood/gists{/gist_id}","starred_url":"https://api.github.com/users/cnorthwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnorthwood/subscriptions","organizations_url":"https://api.github.com/users/cnorthwood/orgs","repos_url":"https://api.github.com/users/cnorthwood/repos","events_url":"https://api.github.com/users/cnorthwood/events{/privacy}","received_events_url":"https://api.github.com/users/cnorthwood/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T20:52:04Z","updated_at":"2015-02-25T20:52:04Z","body":"Actually, given @nickburns2006 appears to be maintaining this better than I could (I'm now using Sentry in my application) I'd perhaps suggest that it'd be better if any PRs were directed at his fork."}}