{"action":"opened","issue":{"url":"https://api.github.com/repos/Vaccano/TFS-Aggregator/issues/4","labels_url":"https://api.github.com/repos/Vaccano/TFS-Aggregator/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Vaccano/TFS-Aggregator/issues/4/comments","events_url":"https://api.github.com/repos/Vaccano/TFS-Aggregator/issues/4/events","html_url":"https://github.com/Vaccano/TFS-Aggregator/issues/4","id":57697269,"number":4,"title":"Condition Based on Source Item field","user":{"login":"giuliov","id":1869724,"avatar_url":"https://avatars.githubusercontent.com/u/1869724?v=3","gravatar_id":"","url":"https://api.github.com/users/giuliov","html_url":"https://github.com/giuliov","followers_url":"https://api.github.com/users/giuliov/followers","following_url":"https://api.github.com/users/giuliov/following{/other_user}","gists_url":"https://api.github.com/users/giuliov/gists{/gist_id}","starred_url":"https://api.github.com/users/giuliov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuliov/subscriptions","organizations_url":"https://api.github.com/users/giuliov/orgs","repos_url":"https://api.github.com/users/giuliov/repos","events_url":"https://api.github.com/users/giuliov/events{/privacy}","received_events_url":"https://api.github.com/users/giuliov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Vaccano/TFS-Aggregator/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-14T15:59:37Z","updated_at":"2015-02-14T15:59:37Z","closed_at":null,"body":"Hi,\r\nI adjusted the code using one of the examples in the discussions section.\r\nhttps://tfsaggregator.codeplex.com/discussions/532379\r\n\r\nI would like to be able to perform the aggregation process from one item to another based on a condition that targets the source, and not target item.\r\nFor example, if this is the structure and I want to sum work hrs for Development tasks only while ignoring Testing:\r\n---Story (Parent)\r\n--------Task (Child)\r\n\r\nWhen \"total work hrs\" field is changed on Task --> check if field \"Discipline does not equal \"Test\" (on task work item)\r\n\r\nCurrently the condition is only allowed on the parent.\r\n\r\nWhat can be done?\r\n\r\nSource: [CodePlex Issue 1190](https://tfsaggregator.codeplex.com/workitem/1190)"}}