{"action":"closed","issue":{"url":"https://api.github.com/repos/tbabej/testimportgithubsucks/issues/232","repository_url":"https://api.github.com/repos/tbabej/testimportgithubsucks","labels_url":"https://api.github.com/repos/tbabej/testimportgithubsucks/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/tbabej/testimportgithubsucks/issues/232/comments","events_url":"https://api.github.com/repos/tbabej/testimportgithubsucks/issues/232/events","html_url":"https://github.com/tbabej/testimportgithubsucks/issues/232","id":294209578,"number":232,"title":"[TW-252] task done - Doesn't stop task before marking complete","user":{"login":"tbabej","id":2123868,"avatar_url":"https://avatars2.githubusercontent.com/u/2123868?v=4","gravatar_id":"","url":"https://api.github.com/users/tbabej","html_url":"https://github.com/tbabej","followers_url":"https://api.github.com/users/tbabej/followers","following_url":"https://api.github.com/users/tbabej/following{/other_user}","gists_url":"https://api.github.com/users/tbabej/gists{/gist_id}","starred_url":"https://api.github.com/users/tbabej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbabej/subscriptions","organizations_url":"https://api.github.com/users/tbabej/orgs","repos_url":"https://api.github.com/users/tbabej/repos","events_url":"https://api.github.com/users/tbabej/events{/privacy}","received_events_url":"https://api.github.com/users/tbabej/received_events","type":"User","site_admin":false},"labels":[{"id":826472912,"url":"https://api.github.com/repos/tbabej/testimportgithubsucks/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":826475927,"url":"https://api.github.com/repos/tbabej/testimportgithubsucks/labels/fixed","name":"fixed","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/tbabej/testimportgithubsucks/milestones/17","html_url":"https://github.com/tbabej/testimportgithubsucks/milestone/17","labels_url":"https://api.github.com/repos/tbabej/testimportgithubsucks/milestones/17/labels","id":3087115,"number":17,"title":"2.4.0","description":null,"creator":{"login":"tbabej","id":2123868,"avatar_url":"https://avatars2.githubusercontent.com/u/2123868?v=4","gravatar_id":"","url":"https://api.github.com/users/tbabej","html_url":"https://github.com/tbabej","followers_url":"https://api.github.com/users/tbabej/followers","following_url":"https://api.github.com/users/tbabej/following{/other_user}","gists_url":"https://api.github.com/users/tbabej/gists{/gist_id}","starred_url":"https://api.github.com/users/tbabej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbabej/subscriptions","organizations_url":"https://api.github.com/users/tbabej/orgs","repos_url":"https://api.github.com/users/tbabej/repos","events_url":"https://api.github.com/users/tbabej/events{/privacy}","received_events_url":"https://api.github.com/users/tbabej/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":53,"state":"open","created_at":"2018-02-04T11:37:19Z","updated_at":"2018-02-04T16:25:36Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-02-04T16:25:26Z","updated_at":"2018-02-04T16:25:36Z","closed_at":"2018-02-04T16:25:36Z","author_association":"OWNER","body":"_Renato Alves says:_ \n\n Currently if you use *task done* to finish a task that has been *task start* ed before, the task will be annotated with a \"Stopped time\" but will remain in \"Started\" state\n\nI noticed this when I accidentally executed *task stop* without a task identifier and after the first prompt for all tasks I got repeated prompts for tasks I had already finished.\n\nSteps to reproduce:\n<pre>\n# task add \"Test task\"\nCreated task 1.\n\n# task 1 start\nStarting task 1 'Test task'.\nStarted 1 task.\n\n# task 1 done\nCompleted task 1 'Test task'.\nCompleted 1 task.\n\n# task 1 info\n\nName          Value\nID            1\nDescription   Test task\n                27-01-2014 17:58 Started task\n                27-01-2014 17:58 Stopped task\nStatus        Completed\nStart         27/1/2014 17:58:50\nEnd           27/1/2014 17:58:52\nUUID          8ad1bb44-ca3b-4b3a-b244-8a9d5a681c78\nEntered       27/1/2014 17:58:46 (8 secs)\nUrgency       4.9\nLast modified 27/1/2014 17:58:52 (2 secs)\n\nDate               Modification\n27/1/2014 17:58:50 Annotation of 'Started task' added.\n                   Modified set to '27/1/2014 17:58:50'.\n                   Start set to '27/1/2014 17:58:50'.\n27/1/2014 17:58:52 Annotation of 'Stopped task' added.\n                   End set to '27/1/2014 17:58:52'.\n                   Modified changed from '27/1/2014 17:58:50' to '27/1/2014 17:58:52'.\n                   Status changed from 'pending' to 'completed'.\nTotal active time  0:00:02\n\n# task 1 stop\nStopping task 1 'Test task'.\nStopped 1 task.\n\n# task 1 stop\nTask 1 'Test task' not started.\nStopped 0 tasks.\n\n# task 1 info\n\nName          Value\nID            1\nDescription   Test task\n                27-01-2014 17:58 Started task\n                27-01-2014 17:58 Stopped task\n                27-01-2014 18:00 Stopped task\nStatus        Completed\nEnd           27/1/2014 17:58:52\nUUID          8ad1bb44-ca3b-4b3a-b244-8a9d5a681c78\nEntered       27/1/2014 17:58:46 (1 min)\nUrgency       1\nLast modified 27/1/2014 18:00:16 (3 secs)\n\nDate               Modification\n27/1/2014 17:58:50 Annotation of 'Started task' added.\n                   Modified set to '27/1/2014 17:58:50'.\n                   Start set to '27/1/2014 17:58:50'.\n27/1/2014 17:58:52 Annotation of 'Stopped task' added.\n                   End set to '27/1/2014 17:58:52'.\n                   Modified changed from '27/1/2014 17:58:50' to '27/1/2014 17:58:52'.\n                   Status changed from 'pending' to 'completed'.\n27/1/2014 18:00:16 Start deleted (duration: 0:01:26).\n                   Annotation of 'Stopped task' added.\n                   Modified changed from '27/1/2014 17:58:52' to '27/1/2014 18:00:16'.\nTotal active time  0:00:02\n</pre>"}}
{"actor":{"display_login":"tbabej"}}