{"action":"created","issue":{"url":"https://api.github.com/repos/j0nscalet/QualityKitchen.Mobile/issues/66","repository_url":"https://api.github.com/repos/j0nscalet/QualityKitchen.Mobile","labels_url":"https://api.github.com/repos/j0nscalet/QualityKitchen.Mobile/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/j0nscalet/QualityKitchen.Mobile/issues/66/comments","events_url":"https://api.github.com/repos/j0nscalet/QualityKitchen.Mobile/issues/66/events","html_url":"https://github.com/j0nscalet/QualityKitchen.Mobile/issues/66","id":221865077,"number":66,"title":"As a developer I shouldn't be able to flag a task that's already expired","user":{"login":"j0nscalet","id":1328795,"avatar_url":"https://avatars2.githubusercontent.com/u/1328795?v=3","gravatar_id":"","url":"https://api.github.com/users/j0nscalet","html_url":"https://github.com/j0nscalet","followers_url":"https://api.github.com/users/j0nscalet/followers","following_url":"https://api.github.com/users/j0nscalet/following{/other_user}","gists_url":"https://api.github.com/users/j0nscalet/gists{/gist_id}","starred_url":"https://api.github.com/users/j0nscalet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0nscalet/subscriptions","organizations_url":"https://api.github.com/users/j0nscalet/orgs","repos_url":"https://api.github.com/users/j0nscalet/repos","events_url":"https://api.github.com/users/j0nscalet/events{/privacy}","received_events_url":"https://api.github.com/users/j0nscalet/received_events","type":"User","site_admin":false},"labels":[{"id":552762394,"url":"https://api.github.com/repos/j0nscalet/QualityKitchen.Mobile/labels/Bug","name":"Bug","color":"ee0701","default":false},{"id":566814700,"url":"https://api.github.com/repos/j0nscalet/QualityKitchen.Mobile/labels/Small","name":"Small","color":"128A0C","default":false}],"state":"open","locked":false,"assignee":{"login":"mgpaja8","id":20258077,"avatar_url":"https://avatars3.githubusercontent.com/u/20258077?v=3","gravatar_id":"","url":"https://api.github.com/users/mgpaja8","html_url":"https://github.com/mgpaja8","followers_url":"https://api.github.com/users/mgpaja8/followers","following_url":"https://api.github.com/users/mgpaja8/following{/other_user}","gists_url":"https://api.github.com/users/mgpaja8/gists{/gist_id}","starred_url":"https://api.github.com/users/mgpaja8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgpaja8/subscriptions","organizations_url":"https://api.github.com/users/mgpaja8/orgs","repos_url":"https://api.github.com/users/mgpaja8/repos","events_url":"https://api.github.com/users/mgpaja8/events{/privacy}","received_events_url":"https://api.github.com/users/mgpaja8/received_events","type":"User","site_admin":false},"assignees":[{"login":"mgpaja8","id":20258077,"avatar_url":"https://avatars3.githubusercontent.com/u/20258077?v=3","gravatar_id":"","url":"https://api.github.com/users/mgpaja8","html_url":"https://github.com/mgpaja8","followers_url":"https://api.github.com/users/mgpaja8/followers","following_url":"https://api.github.com/users/mgpaja8/following{/other_user}","gists_url":"https://api.github.com/users/mgpaja8/gists{/gist_id}","starred_url":"https://api.github.com/users/mgpaja8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgpaja8/subscriptions","organizations_url":"https://api.github.com/users/mgpaja8/orgs","repos_url":"https://api.github.com/users/mgpaja8/repos","events_url":"https://api.github.com/users/mgpaja8/events{/privacy}","received_events_url":"https://api.github.com/users/mgpaja8/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-04-14T18:35:44Z","updated_at":"2017-05-07T23:16:58Z","closed_at":null,"body":"**Problem**\r\nAs a developer I shouldn't be able to flag a task that's already expired.\r\n\r\n**Solution**\r\nWe need to add a business rule to `Task` that restricts this from happening. If a Task is in a finished state either flagged (UnableToComplete) or Expired (Incomplete). It's status should not change.\r\n\r\nThere is a business rule that triggers when attempting to expire a task that's been flagged but not when attempting to flag a task that's expired. See:\r\n![image](https://cloud.githubusercontent.com/assets/1328795/25052478/d6ce6152-2106-11e7-8dac-d609fc2b2612.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/j0nscalet/QualityKitchen.Mobile/issues/comments/299742727","html_url":"https://github.com/j0nscalet/QualityKitchen.Mobile/issues/66#issuecomment-299742727","issue_url":"https://api.github.com/repos/j0nscalet/QualityKitchen.Mobile/issues/66","id":299742727,"user":{"login":"j0nscalet","id":1328795,"avatar_url":"https://avatars2.githubusercontent.com/u/1328795?v=3","gravatar_id":"","url":"https://api.github.com/users/j0nscalet","html_url":"https://github.com/j0nscalet","followers_url":"https://api.github.com/users/j0nscalet/followers","following_url":"https://api.github.com/users/j0nscalet/following{/other_user}","gists_url":"https://api.github.com/users/j0nscalet/gists{/gist_id}","starred_url":"https://api.github.com/users/j0nscalet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0nscalet/subscriptions","organizations_url":"https://api.github.com/users/j0nscalet/orgs","repos_url":"https://api.github.com/users/j0nscalet/repos","events_url":"https://api.github.com/users/j0nscalet/events{/privacy}","received_events_url":"https://api.github.com/users/j0nscalet/received_events","type":"User","site_admin":false},"created_at":"2017-05-07T23:16:58Z","updated_at":"2017-05-07T23:16:58Z","body":"Update- We need to make sure this doesn't happen in the UI either."}}
{"actor":{"display_login":"j0nscalet"}}