{"action":"created","issue":{"url":"https://api.github.com/repos/HumanExposure/factotum/issues/467","repository_url":"https://api.github.com/repos/HumanExposure/factotum","labels_url":"https://api.github.com/repos/HumanExposure/factotum/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/HumanExposure/factotum/issues/467/comments","events_url":"https://api.github.com/repos/HumanExposure/factotum/issues/467/events","html_url":"https://github.com/HumanExposure/factotum/issues/467","id":370858490,"node_id":"MDU6SXNzdWUzNzA4NTg0OTA=","number":467,"title":"upload data to product model","user":{"login":"kdionisio","id":16561576,"node_id":"MDQ6VXNlcjE2NTYxNTc2","avatar_url":"https://avatars3.githubusercontent.com/u/16561576?v=4","gravatar_id":"","url":"https://api.github.com/users/kdionisio","html_url":"https://github.com/kdionisio","followers_url":"https://api.github.com/users/kdionisio/followers","following_url":"https://api.github.com/users/kdionisio/following{/other_user}","gists_url":"https://api.github.com/users/kdionisio/gists{/gist_id}","starred_url":"https://api.github.com/users/kdionisio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdionisio/subscriptions","organizations_url":"https://api.github.com/users/kdionisio/orgs","repos_url":"https://api.github.com/users/kdionisio/repos","events_url":"https://api.github.com/users/kdionisio/events{/privacy}","received_events_url":"https://api.github.com/users/kdionisio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mwfrost","id":201835,"node_id":"MDQ6VXNlcjIwMTgzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/201835?v=4","gravatar_id":"","url":"https://api.github.com/users/mwfrost","html_url":"https://github.com/mwfrost","followers_url":"https://api.github.com/users/mwfrost/followers","following_url":"https://api.github.com/users/mwfrost/following{/other_user}","gists_url":"https://api.github.com/users/mwfrost/gists{/gist_id}","starred_url":"https://api.github.com/users/mwfrost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwfrost/subscriptions","organizations_url":"https://api.github.com/users/mwfrost/orgs","repos_url":"https://api.github.com/users/mwfrost/repos","events_url":"https://api.github.com/users/mwfrost/events{/privacy}","received_events_url":"https://api.github.com/users/mwfrost/received_events","type":"User","site_admin":false},"assignees":[{"login":"mwfrost","id":201835,"node_id":"MDQ6VXNlcjIwMTgzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/201835?v=4","gravatar_id":"","url":"https://api.github.com/users/mwfrost","html_url":"https://github.com/mwfrost","followers_url":"https://api.github.com/users/mwfrost/followers","following_url":"https://api.github.com/users/mwfrost/following{/other_user}","gists_url":"https://api.github.com/users/mwfrost/gists{/gist_id}","starred_url":"https://api.github.com/users/mwfrost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwfrost/subscriptions","organizations_url":"https://api.github.com/users/mwfrost/orgs","repos_url":"https://api.github.com/users/mwfrost/repos","events_url":"https://api.github.com/users/mwfrost/events{/privacy}","received_events_url":"https://api.github.com/users/mwfrost/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/HumanExposure/factotum/milestones/31","html_url":"https://github.com/HumanExposure/factotum/milestone/31","labels_url":"https://api.github.com/repos/HumanExposure/factotum/milestones/31/labels","id":4609759,"node_id":"MDk6TWlsZXN0b25lNDYwOTc1OQ==","number":31,"title":"Yellow Jacket","description":"","creator":{"login":"dmlyons2","id":1336349,"node_id":"MDQ6VXNlcjEzMzYzNDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1336349?v=4","gravatar_id":"","url":"https://api.github.com/users/dmlyons2","html_url":"https://github.com/dmlyons2","followers_url":"https://api.github.com/users/dmlyons2/followers","following_url":"https://api.github.com/users/dmlyons2/following{/other_user}","gists_url":"https://api.github.com/users/dmlyons2/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlyons2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlyons2/subscriptions","organizations_url":"https://api.github.com/users/dmlyons2/orgs","repos_url":"https://api.github.com/users/dmlyons2/repos","events_url":"https://api.github.com/users/dmlyons2/events{/privacy}","received_events_url":"https://api.github.com/users/dmlyons2/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2019-08-28T12:51:15Z","updated_at":"2019-10-02T20:15:05Z","due_on":"2019-11-06T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-10-17T01:09:52Z","updated_at":"2019-10-17T13:28:05Z","closed_at":null,"author_association":"NONE","body":"As a Factotum data curator\nI would like the ability to batch upload product data for products that do not yet exist\nSo that I can efficiently load extracted data specific to products\n\nDefinition of Done:\n1. Ability on datagroup page to batch upload product data\n  - product data upload csv should accept the following columns:\n    - data document ID (required; this is only column that is required to be populated)\n     - dashboard_product.upc\n     - dashboard_product.url\n     - dashboard_product.brand_name\n     - dashboard_product.size\n     - dashboard_product.color\n     - dashboard_product.item_id\n     - dashboard_product.parent_item_id\n     - dashboard_product.short_description\n     - dashboard_product.long_description\n     - dashboard_product.thumb_image\n     - dashboard_product.medium_image\n     - dashboard_product.large_image\n     - dashboard_product.model_number\n     - dashboard_product.manufacturer\n2. Upon upload, new product(s) are created associated with the data document indicated in data document ID within the upload\n3. If no UPC is included in the upload, a stub UPC is created when the new product record is created\n4. If a UPC is included in the upload, application must check to ensure that UPC does not already exists. If UPC already exists, record is rejected. Upon completion of the upload, user sees a message listing all data document IDs for which the upload failed due to already existing UPCs (ie the 'rejected records').\n5. Download template for above product upload csv is available on data group page; downloadable template includes all above columns, plus a column for data document filename\n6. Multiple products can be created for a single document. If user attempts to upload product data for a document which already has an associated product, a new product is created with the newly uploaded data (rather than trying to insert data into the existing product record). If a user uploads a product file which includes multiple rows for a single data document ID, each row should be assumed to be a different product for that document\n"},"comment":{"url":"https://api.github.com/repos/HumanExposure/factotum/issues/comments/543174756","html_url":"https://github.com/HumanExposure/factotum/issues/467#issuecomment-543174756","issue_url":"https://api.github.com/repos/HumanExposure/factotum/issues/467","id":543174756,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MzE3NDc1Ng==","user":{"login":"mwfrost","id":201835,"node_id":"MDQ6VXNlcjIwMTgzNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/201835?v=4","gravatar_id":"","url":"https://api.github.com/users/mwfrost","html_url":"https://github.com/mwfrost","followers_url":"https://api.github.com/users/mwfrost/followers","following_url":"https://api.github.com/users/mwfrost/following{/other_user}","gists_url":"https://api.github.com/users/mwfrost/gists{/gist_id}","starred_url":"https://api.github.com/users/mwfrost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwfrost/subscriptions","organizations_url":"https://api.github.com/users/mwfrost/orgs","repos_url":"https://api.github.com/users/mwfrost/repos","events_url":"https://api.github.com/users/mwfrost/events{/privacy}","received_events_url":"https://api.github.com/users/mwfrost/received_events","type":"User","site_admin":false},"created_at":"2019-10-17T13:28:05Z","updated_at":"2019-10-17T13:28:05Z","author_association":"CONTRIBUTOR","body":"@kdionisio Are there any Data Group types for which this feature should be disabled?"}}
{"actor":{"display_login":"mwfrost"}}