{"action":"created","issue":{"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/12","repository_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior","labels_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/12/comments","events_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/12/events","html_url":"https://github.com/GothenburgBitFactory/taskwarrior/issues/12","id":296246892,"number":12,"title":"[EX-8] 'increment' command to add a number to another in a task description","user":{"login":"taskwarrior","id":146045,"avatar_url":"https://avatars0.githubusercontent.com/u/146045?v=4","gravatar_id":"","url":"https://api.github.com/users/taskwarrior","html_url":"https://github.com/taskwarrior","followers_url":"https://api.github.com/users/taskwarrior/followers","following_url":"https://api.github.com/users/taskwarrior/following{/other_user}","gists_url":"https://api.github.com/users/taskwarrior/gists{/gist_id}","starred_url":"https://api.github.com/users/taskwarrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskwarrior/subscriptions","organizations_url":"https://api.github.com/users/taskwarrior/orgs","repos_url":"https://api.github.com/users/taskwarrior/repos","events_url":"https://api.github.com/users/taskwarrior/events{/privacy}","received_events_url":"https://api.github.com/users/taskwarrior/received_events","type":"User","site_admin":false},"labels":[{"id":825679219,"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":834573594,"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/labels/won't%20fix","name":"won't fix","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/milestones/1","html_url":"https://github.com/GothenburgBitFactory/taskwarrior/milestone/1","labels_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/milestones/1/labels","id":3106475,"number":1,"title":"Backlog","description":null,"creator":{"login":"taskwarrior","id":146045,"avatar_url":"https://avatars0.githubusercontent.com/u/146045?v=4","gravatar_id":"","url":"https://api.github.com/users/taskwarrior","html_url":"https://github.com/taskwarrior","followers_url":"https://api.github.com/users/taskwarrior/followers","following_url":"https://api.github.com/users/taskwarrior/following{/other_user}","gists_url":"https://api.github.com/users/taskwarrior/gists{/gist_id}","starred_url":"https://api.github.com/users/taskwarrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskwarrior/subscriptions","organizations_url":"https://api.github.com/users/taskwarrior/orgs","repos_url":"https://api.github.com/users/taskwarrior/repos","events_url":"https://api.github.com/users/taskwarrior/events{/privacy}","received_events_url":"https://api.github.com/users/taskwarrior/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":4,"state":"open","created_at":"2018-02-12T01:22:28Z","updated_at":"2018-02-12T01:32:03Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-02-12T01:31:47Z","updated_at":"2018-02-12T01:33:51Z","closed_at":"2018-02-12T01:32:03Z","author_association":"CONTRIBUTOR","body":"_Paul Beckingham on 2012-02-03T20:52:10Z says:_ \n\n https://twitter.com/#!/Donearm/status/165073790068465666"},"comment":{"url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/comments/364810753","html_url":"https://github.com/GothenburgBitFactory/taskwarrior/issues/12#issuecomment-364810753","issue_url":"https://api.github.com/repos/GothenburgBitFactory/taskwarrior/issues/12","id":364810753,"user":{"login":"taskwarrior","id":146045,"avatar_url":"https://avatars0.githubusercontent.com/u/146045?v=4","gravatar_id":"","url":"https://api.github.com/users/taskwarrior","html_url":"https://github.com/taskwarrior","followers_url":"https://api.github.com/users/taskwarrior/followers","following_url":"https://api.github.com/users/taskwarrior/following{/other_user}","gists_url":"https://api.github.com/users/taskwarrior/gists{/gist_id}","starred_url":"https://api.github.com/users/taskwarrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskwarrior/subscriptions","organizations_url":"https://api.github.com/users/taskwarrior/orgs","repos_url":"https://api.github.com/users/taskwarrior/repos","events_url":"https://api.github.com/users/taskwarrior/events{/privacy}","received_events_url":"https://api.github.com/users/taskwarrior/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T01:33:51Z","updated_at":"2018-02-12T01:33:51Z","author_association":"CONTRIBUTOR","body":"_David Patrick on 2012-02-05T21:53:35Z says:_ \n\n With all due respect, my Captain, I think we are seeing this completely differently;\n\nIf I understand correctly, you are suggesting a new \"user-defined\" attribute be added (in this case \"headcount\") and to manipulate that with new commands *increment* and *decrement*, and while I think that would address the use-case in question, it is quite narrow in scope and misses the implications of a full and flexible UDA-lite implementation, as hinted at above, and to manipulate those values with a more general command; *set*.\n\nEssentially, what I'm proposing is that while taskwarrior core should strictly parse only a core set of attributes, users should be able to define attributes on-the-fly by simply using a name:value pair as part of the description (after the --, or it will not parse) and the command \"set\" is used specifically to manipulate those values. This is \"script candy\", and those name:value pairs will be easy to increment, decrement, sum, average, order, list what-have-you. The only difference between this and a \"full-fledged\" implementation of UDA is that they cannot (yet) be listed in with core reports. \n\nso if it's\n\n % task add proj:party make giftbaskets -- headcount:16\n\nthen all it would take would be \n\n % task proj:party set headcount:+3\n\nevery task in proj:party that has \"headcount:\" in a description, that value goes up by 3 \n(unless it encounters data-type mismatch, in which case: error)\n\nunlimited uses, tiny impact to core.. pretty please ?"}}
{"actor":{"display_login":"taskwarrior"}}