{"action":"created","issue":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/1450","repository_url":"https://api.github.com/repos/snipe/snipe-it","labels_url":"https://api.github.com/repos/snipe/snipe-it/issues/1450/labels{/name}","comments_url":"https://api.github.com/repos/snipe/snipe-it/issues/1450/comments","events_url":"https://api.github.com/repos/snipe/snipe-it/issues/1450/events","html_url":"https://github.com/snipe/snipe-it/issues/1450","id":120618338,"number":1450,"title":"Importing into custom fields?","user":{"login":"rootAmeen","id":1254418,"avatar_url":"https://avatars.githubusercontent.com/u/1254418?v=3","gravatar_id":"","url":"https://api.github.com/users/rootAmeen","html_url":"https://github.com/rootAmeen","followers_url":"https://api.github.com/users/rootAmeen/followers","following_url":"https://api.github.com/users/rootAmeen/following{/other_user}","gists_url":"https://api.github.com/users/rootAmeen/gists{/gist_id}","starred_url":"https://api.github.com/users/rootAmeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootAmeen/subscriptions","organizations_url":"https://api.github.com/users/rootAmeen/orgs","repos_url":"https://api.github.com/users/rootAmeen/repos","events_url":"https://api.github.com/users/rootAmeen/events{/privacy}","received_events_url":"https://api.github.com/users/rootAmeen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snipe/snipe-it/labels/advanced","name":"advanced","color":"c5def5"},{"url":"https://api.github.com/repos/snipe/snipe-it/labels/backend","name":"backend","color":"c5def5"},{"url":"https://api.github.com/repos/snipe/snipe-it/labels/open%20discussion","name":"open discussion","color":"1d76db"},{"url":"https://api.github.com/repos/snipe/snipe-it/labels/php","name":"php","color":"c5def5"},{"url":"https://api.github.com/repos/snipe/snipe-it/labels/roadmap","name":"roadmap","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-06T08:33:03Z","updated_at":"2016-04-19T07:01:34Z","closed_at":null,"body":"Hello!\r\n\r\nI'm really excited about custom fields. I've set them up and they are doing wonders.\r\n\r\nNow, I want to re-import my data with custom fields in mind, I tried to figure out how the sample import file you have is structured against fields but I couldn't relate the two. \r\n\r\nAny hints on how I can do that? \r\nThanks!"},"comment":{"url":"https://api.github.com/repos/snipe/snipe-it/issues/comments/211762525","html_url":"https://github.com/snipe/snipe-it/issues/1450#issuecomment-211762525","issue_url":"https://api.github.com/repos/snipe/snipe-it/issues/1450","id":211762525,"user":{"login":"varjen","id":13483437,"avatar_url":"https://avatars.githubusercontent.com/u/13483437?v=3","gravatar_id":"","url":"https://api.github.com/users/varjen","html_url":"https://github.com/varjen","followers_url":"https://api.github.com/users/varjen/followers","following_url":"https://api.github.com/users/varjen/following{/other_user}","gists_url":"https://api.github.com/users/varjen/gists{/gist_id}","starred_url":"https://api.github.com/users/varjen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varjen/subscriptions","organizations_url":"https://api.github.com/users/varjen/orgs","repos_url":"https://api.github.com/users/varjen/repos","events_url":"https://api.github.com/users/varjen/events{/privacy}","received_events_url":"https://api.github.com/users/varjen/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T07:01:34Z","updated_at":"2016-04-19T07:01:34Z","body":"I have made a proof of concept importscript that imports into custom fields, so it CAN be done.\r\nThe trouble is that you have to make a really tricky and clever script if you are not a coder yourself.\r\nThe cause of this is of course that the import script cannot forsee the name users give their custom fields, hence it cannot import into them.\r\n\r\nMy next test, if i get the time, is a more flexible script that reads the DB for customfields and asks the user which ones to include in the import. It CAN be done, it's just a little...tricky...\r\nIf i had any skills in UI's i would love to make the import webbased."}}