{"action":"created","issue":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/5781","repository_url":"https://api.github.com/repos/Kademi/kademi-dev","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/5781/labels{/name}","comments_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/5781/comments","events_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/5781/events","html_url":"https://github.com/Kademi/kademi-dev/issues/5781","id":346805686,"node_id":"MDU6SXNzdWUzNDY4MDU2ODY=","number":5781,"title":"Sales claim / OCR process - capture store","user":{"login":"bradmac","id":826458,"node_id":"MDQ6VXNlcjgyNjQ1OA==","avatar_url":"https://avatars3.githubusercontent.com/u/826458?v=4","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"labels":[{"id":71713771,"node_id":"MDU6TGFiZWw3MTcxMzc3MQ==","url":"https://api.github.com/repos/Kademi/kademi-dev/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"tuzzmaniandevil","id":3378330,"node_id":"MDQ6VXNlcjMzNzgzMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/3378330?v=4","gravatar_id":"","url":"https://api.github.com/users/tuzzmaniandevil","html_url":"https://github.com/tuzzmaniandevil","followers_url":"https://api.github.com/users/tuzzmaniandevil/followers","following_url":"https://api.github.com/users/tuzzmaniandevil/following{/other_user}","gists_url":"https://api.github.com/users/tuzzmaniandevil/gists{/gist_id}","starred_url":"https://api.github.com/users/tuzzmaniandevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuzzmaniandevil/subscriptions","organizations_url":"https://api.github.com/users/tuzzmaniandevil/orgs","repos_url":"https://api.github.com/users/tuzzmaniandevil/repos","events_url":"https://api.github.com/users/tuzzmaniandevil/events{/privacy}","received_events_url":"https://api.github.com/users/tuzzmaniandevil/received_events","type":"User","site_admin":false},"assignees":[{"login":"tuzzmaniandevil","id":3378330,"node_id":"MDQ6VXNlcjMzNzgzMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/3378330?v=4","gravatar_id":"","url":"https://api.github.com/users/tuzzmaniandevil","html_url":"https://github.com/tuzzmaniandevil","followers_url":"https://api.github.com/users/tuzzmaniandevil/followers","following_url":"https://api.github.com/users/tuzzmaniandevil/following{/other_user}","gists_url":"https://api.github.com/users/tuzzmaniandevil/gists{/gist_id}","starred_url":"https://api.github.com/users/tuzzmaniandevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuzzmaniandevil/subscriptions","organizations_url":"https://api.github.com/users/tuzzmaniandevil/orgs","repos_url":"https://api.github.com/users/tuzzmaniandevil/repos","events_url":"https://api.github.com/users/tuzzmaniandevil/events{/privacy}","received_events_url":"https://api.github.com/users/tuzzmaniandevil/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/264","html_url":"https://github.com/Kademi/kademi-dev/milestone/264","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/264/labels","id":3514422,"node_id":"MDk6TWlsZXN0b25lMzUxNDQyMg==","number":264,"title":"Sprint-0023","description":"","creator":{"login":"bradmac","id":826458,"node_id":"MDQ6VXNlcjgyNjQ1OA==","avatar_url":"https://avatars3.githubusercontent.com/u/826458?v=4","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"open_issues":74,"closed_issues":16,"state":"open","created_at":"2018-07-22T20:24:11Z","updated_at":"2018-08-03T03:09:51Z","due_on":"2018-08-03T07:00:00Z","closed_at":null},"comments":2,"created_at":"2018-08-01T23:26:25Z","updated_at":"2018-08-03T04:33:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"We need to associate sales data records with a new field to capture the store it was sold through, even when its attributed to an individual sales person.\r\n\r\nSalesDataRecord has this new field:\r\n```\r\nprivate Organisation salesTeam; // the team a participant is part of which should be associated with the sale\r\n```\r\n\r\nTo support this we need to:\r\n- when an OCR claim is submitted from the front end, the claim should capture the current org. Use services.queryManager.currentTeamOrg (see QueryManager line 209). This should be captured at the claim level (not claim item)\r\n- note that this is optional for claims\r\n- the sales team should be displayed when processing OCR and editing/reviewing the claim (if present)\r\n- this should be enterable when creating a new claim\r\n- when claims are approved this value should be set on all sales data records in the new salesTeam field\r\n\r\nRelated - https://github.com/Kademi/kademi-dev/issues/5673#issuecomment-409757344"},"comment":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/comments/410141685","html_url":"https://github.com/Kademi/kademi-dev/issues/5781#issuecomment-410141685","issue_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/5781","id":410141685,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDE0MTY4NQ==","user":{"login":"tuzzmaniandevil","id":3378330,"node_id":"MDQ6VXNlcjMzNzgzMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/3378330?v=4","gravatar_id":"","url":"https://api.github.com/users/tuzzmaniandevil","html_url":"https://github.com/tuzzmaniandevil","followers_url":"https://api.github.com/users/tuzzmaniandevil/followers","following_url":"https://api.github.com/users/tuzzmaniandevil/following{/other_user}","gists_url":"https://api.github.com/users/tuzzmaniandevil/gists{/gist_id}","starred_url":"https://api.github.com/users/tuzzmaniandevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuzzmaniandevil/subscriptions","organizations_url":"https://api.github.com/users/tuzzmaniandevil/orgs","repos_url":"https://api.github.com/users/tuzzmaniandevil/repos","events_url":"https://api.github.com/users/tuzzmaniandevil/events{/privacy}","received_events_url":"https://api.github.com/users/tuzzmaniandevil/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T04:33:03Z","updated_at":"2018-08-03T04:33:03Z","author_association":"CONTRIBUTOR","body":"@bradmac Found a bug with the salesTeam displaying in the dataseries, the \"getHistory\" method of \"ManageSalesDataSeriesFolder\" is returning a list of \"RecordBean\" which doesn't have the salesTeam field on it yet."}}
{"actor":{"display_login":"tuzzmaniandevil"}}