{"action":"created","issue":{"url":"https://api.github.com/repos/sford/yet-another-commit-checker/issues/132","repository_url":"https://api.github.com/repos/sford/yet-another-commit-checker","labels_url":"https://api.github.com/repos/sford/yet-another-commit-checker/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/sford/yet-another-commit-checker/issues/132/comments","events_url":"https://api.github.com/repos/sford/yet-another-commit-checker/issues/132/events","html_url":"https://github.com/sford/yet-another-commit-checker/issues/132","id":193592452,"number":132,"title":"No JIRA issue found... yet jira issue is included","user":{"login":"simpsonar77","id":5796810,"avatar_url":"https://avatars.githubusercontent.com/u/5796810?v=3","gravatar_id":"","url":"https://api.github.com/users/simpsonar77","html_url":"https://github.com/simpsonar77","followers_url":"https://api.github.com/users/simpsonar77/followers","following_url":"https://api.github.com/users/simpsonar77/following{/other_user}","gists_url":"https://api.github.com/users/simpsonar77/gists{/gist_id}","starred_url":"https://api.github.com/users/simpsonar77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpsonar77/subscriptions","organizations_url":"https://api.github.com/users/simpsonar77/orgs","repos_url":"https://api.github.com/users/simpsonar77/repos","events_url":"https://api.github.com/users/simpsonar77/events{/privacy}","received_events_url":"https://api.github.com/users/simpsonar77/received_events","type":"User","site_admin":false},"labels":[{"id":74499422,"url":"https://api.github.com/repos/sford/yet-another-commit-checker/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-05T19:47:27Z","updated_at":"2016-12-31T17:18:02Z","closed_at":null,"body":"I have configured the plugin to match valid JIRA issues, prevent unknown JIRA projects, and also enforce a Commit Message REGEX.  For a rececent push, I found that the commit was denied with NO JIRA issue found in commit message.  However, I ran the commit message through the REGEX(s) manually and found that the regex's matched.\r\n\r\nDesired commit Message format:  [MYPROJNAME-1234] some other commit message, could be multiline, etc...\r\n\r\n( I do not \"care\" about finding multiple JIRA issues as valid, just as long as one of them is valid, I will be happy)\r\n\r\nCommit Message Regex:  ^\\[([A-Z]+)-(\\d+)\\](.|\\n)+\r\n\r\nRequire valid Jira Issues:  checked\r\nIgnore Unknown JIRA Project Keys:  checked\r\n\r\nJql Matcher:  status=Assigned OR status=\"In Progress\" OR status=Review\r\n\r\nError output:\r\n\r\nremote: Pre-Commit Check - Server Side - ERROR!\r\nremote: \r\nremote: refs/heads/XXXX/astyle: 60de6e3ccbc2e5ec15dbXXX076c9751421db42e: No JIRA Issue found in commit message.\r\nremote: \r\nremote: End of error message\r\nremote: \r\n\r\n\r\nThe commit message in question:\r\n*****************************************************\r\nAuthor: Some Guy <some.guy@something.com>\r\n\r\n    [MYPROJECT-725] Do Some Work\r\n    \r\n    Moved quite a bit of scattered functionality related to low level EOD\r\n    channel control into XXX_XYZ, then modified stuff. There are a\r\n    lot of lines of change, but most of it is just 1:1 translations of\r\n    struct manipulation into function calls - in order to be sure all\r\n    functionality was captured, the Command message was moved into\r\n    XXX_XYZ and made inaccessible to the rest of the system, thus\r\n    making it impossible to bypass the new functions.\r\n**********************************************************\r\n\r\nideas?  going to test without having the JIRA Issue check enabled, but that's definitely not what I want.  "},"comment":{"url":"https://api.github.com/repos/sford/yet-another-commit-checker/issues/comments/269874166","html_url":"https://github.com/sford/yet-another-commit-checker/issues/132#issuecomment-269874166","issue_url":"https://api.github.com/repos/sford/yet-another-commit-checker/issues/132","id":269874166,"user":{"login":"sford","id":1066452,"avatar_url":"https://avatars.githubusercontent.com/u/1066452?v=3","gravatar_id":"","url":"https://api.github.com/users/sford","html_url":"https://github.com/sford","followers_url":"https://api.github.com/users/sford/followers","following_url":"https://api.github.com/users/sford/following{/other_user}","gists_url":"https://api.github.com/users/sford/gists{/gist_id}","starred_url":"https://api.github.com/users/sford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sford/subscriptions","organizations_url":"https://api.github.com/users/sford/orgs","repos_url":"https://api.github.com/users/sford/repos","events_url":"https://api.github.com/users/sford/events{/privacy}","received_events_url":"https://api.github.com/users/sford/received_events","type":"User","site_admin":false},"created_at":"2016-12-31T17:18:02Z","updated_at":"2016-12-31T17:18:02Z","body":"@szc001 , I spot checked your regex and it appears to be fine. Maybe you can try [enabling debug logging](https://github.com/sford/yet-another-commit-checker#enable-logging) and trying again? That might help figure out why the commit is being rejected."}}
{"actor":{"display_login":"sford"}}