{"action":"closed","issue":{"url":"https://api.github.com/repos/Tocea/redmine_audit_assistant/issues/21","labels_url":"https://api.github.com/repos/Tocea/redmine_audit_assistant/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Tocea/redmine_audit_assistant/issues/21/comments","events_url":"https://api.github.com/repos/Tocea/redmine_audit_assistant/issues/21/events","html_url":"https://github.com/Tocea/redmine_audit_assistant/issues/21","id":82351334,"number":21,"title":"bug when trying to call a hook after running the action of a status button","user":{"login":"dmichel35","id":7405934,"avatar_url":"https://avatars.githubusercontent.com/u/7405934?v=3","gravatar_id":"","url":"https://api.github.com/users/dmichel35","html_url":"https://github.com/dmichel35","followers_url":"https://api.github.com/users/dmichel35/followers","following_url":"https://api.github.com/users/dmichel35/following{/other_user}","gists_url":"https://api.github.com/users/dmichel35/gists{/gist_id}","starred_url":"https://api.github.com/users/dmichel35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmichel35/subscriptions","organizations_url":"https://api.github.com/users/dmichel35/orgs","repos_url":"https://api.github.com/users/dmichel35/repos","events_url":"https://api.github.com/users/dmichel35/events{/privacy}","received_events_url":"https://api.github.com/users/dmichel35/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Tocea/redmine_audit_assistant/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"dmichel35","id":7405934,"avatar_url":"https://avatars.githubusercontent.com/u/7405934?v=3","gravatar_id":"","url":"https://api.github.com/users/dmichel35","html_url":"https://github.com/dmichel35","followers_url":"https://api.github.com/users/dmichel35/followers","following_url":"https://api.github.com/users/dmichel35/following{/other_user}","gists_url":"https://api.github.com/users/dmichel35/gists{/gist_id}","starred_url":"https://api.github.com/users/dmichel35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmichel35/subscriptions","organizations_url":"https://api.github.com/users/dmichel35/orgs","repos_url":"https://api.github.com/users/dmichel35/repos","events_url":"https://api.github.com/users/dmichel35/events{/privacy}","received_events_url":"https://api.github.com/users/dmichel35/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Tocea/redmine_audit_assistant/milestones/4","html_url":"https://github.com/Tocea/redmine_audit_assistant/milestones/Version%201.1.2","labels_url":"https://api.github.com/repos/Tocea/redmine_audit_assistant/milestones/4/labels","id":1139656,"number":4,"title":"Version 1.1.2","description":"","creator":{"login":"dmichel35","id":7405934,"avatar_url":"https://avatars.githubusercontent.com/u/7405934?v=3","gravatar_id":"","url":"https://api.github.com/users/dmichel35","html_url":"https://github.com/dmichel35","followers_url":"https://api.github.com/users/dmichel35/followers","following_url":"https://api.github.com/users/dmichel35/following{/other_user}","gists_url":"https://api.github.com/users/dmichel35/gists{/gist_id}","starred_url":"https://api.github.com/users/dmichel35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmichel35/subscriptions","organizations_url":"https://api.github.com/users/dmichel35/orgs","repos_url":"https://api.github.com/users/dmichel35/repos","events_url":"https://api.github.com/users/dmichel35/events{/privacy}","received_events_url":"https://api.github.com/users/dmichel35/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":4,"state":"open","created_at":"2015-05-29T09:19:23Z","updated_at":"2015-05-29T12:19:00Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-05-29T09:29:57Z","updated_at":"2015-05-29T12:19:00Z","closed_at":"2015-05-29T12:19:00Z","body":"Stacktrace\r\n--------------------------------------------------------------------------------------------------------------------------------------------------------------\r\n\r\nStarted GET \"/redmine/issues-status-actions-run?action_id=1&issue_id=18505\" for 192.168.1.211 at 2015-05-29 11:12:51 +0200\r\nProcessing by IssuesCustomActionsController#run as HTML\r\n  Parameters: {\"action_id\"=>\"1\", \"issue_id\"=>\"18505\"}\r\n  Current user: dmichel (id=22)\r\nrunning AutoCloseIssueHook...\r\nCompleted 500 Internal Server Error in 566.4ms\r\n\r\nNoMethodError (undefined method `[]' for nil:NilClass):\r\n  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'\r\n  lib/redmine/hook.rb:61:in `each'\r\n  lib/redmine/hook.rb:61:in `block in call_hook'\r\n  lib/redmine/hook.rb:58:in `tap'\r\n  lib/redmine/hook.rb:58:in `call_hook'\r\n"}}