{"action":"created","issue":{"url":"https://api.github.com/repos/tyarkoni/transitions/issues/40","labels_url":"https://api.github.com/repos/tyarkoni/transitions/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/tyarkoni/transitions/issues/40/comments","events_url":"https://api.github.com/repos/tyarkoni/transitions/issues/40/events","html_url":"https://github.com/tyarkoni/transitions/issues/40","id":116292841,"number":40,"title":"Before and after state change","user":{"login":"omago","id":3735598,"avatar_url":"https://avatars.githubusercontent.com/u/3735598?v=3","gravatar_id":"","url":"https://api.github.com/users/omago","html_url":"https://github.com/omago","followers_url":"https://api.github.com/users/omago/followers","following_url":"https://api.github.com/users/omago/following{/other_user}","gists_url":"https://api.github.com/users/omago/gists{/gist_id}","starred_url":"https://api.github.com/users/omago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omago/subscriptions","organizations_url":"https://api.github.com/users/omago/orgs","repos_url":"https://api.github.com/users/omago/repos","events_url":"https://api.github.com/users/omago/events{/privacy}","received_events_url":"https://api.github.com/users/omago/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tyarkoni/transitions/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-11T09:03:38Z","updated_at":"2015-12-15T20:25:43Z","closed_at":null,"body":"Hi everybody,\r\n\r\nI noticed one thing, \"condition\" callback is triggered before \"before\" callback. I expected that \"before\" is called before \"condition\"? Does my logic make any sense?"},"comment":{"url":"https://api.github.com/repos/tyarkoni/transitions/issues/comments/164886703","html_url":"https://github.com/tyarkoni/transitions/issues/40#issuecomment-164886703","issue_url":"https://api.github.com/repos/tyarkoni/transitions/issues/40","id":164886703,"user":{"login":"omago","id":3735598,"avatar_url":"https://avatars.githubusercontent.com/u/3735598?v=3","gravatar_id":"","url":"https://api.github.com/users/omago","html_url":"https://github.com/omago","followers_url":"https://api.github.com/users/omago/followers","following_url":"https://api.github.com/users/omago/following{/other_user}","gists_url":"https://api.github.com/users/omago/gists{/gist_id}","starred_url":"https://api.github.com/users/omago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omago/subscriptions","organizations_url":"https://api.github.com/users/omago/orgs","repos_url":"https://api.github.com/users/omago/repos","events_url":"https://api.github.com/users/omago/events{/privacy}","received_events_url":"https://api.github.com/users/omago/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T20:25:43Z","updated_at":"2015-12-15T20:25:43Z","body":"I think @aleneum did not understand my point. \r\n\r\nMy point was that \"condition\" is triggered before \"before\" and i would expect that \"before\" is triggered before \"condition\". In this situation where \"condition\" is triggered before \"before\" and \"after\" i am not sure what is the difference between \"before\" and \"after\" - both are always triggered."}}