{"action":"created","issue":{"url":"https://api.github.com/repos/projectsecure/projectsecure-api/issues/40","repository_url":"https://api.github.com/repos/projectsecure/projectsecure-api","labels_url":"https://api.github.com/repos/projectsecure/projectsecure-api/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/projectsecure/projectsecure-api/issues/40/comments","events_url":"https://api.github.com/repos/projectsecure/projectsecure-api/issues/40/events","html_url":"https://github.com/projectsecure/projectsecure-api/pull/40","id":197376386,"number":40,"title":"Move challenges into separate packages","user":{"login":"nikriek","id":2924261,"avatar_url":"https://avatars.githubusercontent.com/u/2924261?v=3","gravatar_id":"","url":"https://api.github.com/users/nikriek","html_url":"https://github.com/nikriek","followers_url":"https://api.github.com/users/nikriek/followers","following_url":"https://api.github.com/users/nikriek/following{/other_user}","gists_url":"https://api.github.com/users/nikriek/gists{/gist_id}","starred_url":"https://api.github.com/users/nikriek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikriek/subscriptions","organizations_url":"https://api.github.com/users/nikriek/orgs","repos_url":"https://api.github.com/users/nikriek/repos","events_url":"https://api.github.com/users/nikriek/events{/privacy}","received_events_url":"https://api.github.com/users/nikriek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-23T14:16:11Z","updated_at":"2016-12-25T17:24:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/projectsecure/projectsecure-api/pulls/40","html_url":"https://github.com/projectsecure/projectsecure-api/pull/40","diff_url":"https://github.com/projectsecure/projectsecure-api/pull/40.diff","patch_url":"https://github.com/projectsecure/projectsecure-api/pull/40.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/projectsecure/projectsecure-api/issues/comments/269130760","html_url":"https://github.com/projectsecure/projectsecure-api/pull/40#issuecomment-269130760","issue_url":"https://api.github.com/repos/projectsecure/projectsecure-api/issues/40","id":269130760,"user":{"login":"nicoknoll","id":1143670,"avatar_url":"https://avatars.githubusercontent.com/u/1143670?v=3","gravatar_id":"","url":"https://api.github.com/users/nicoknoll","html_url":"https://github.com/nicoknoll","followers_url":"https://api.github.com/users/nicoknoll/followers","following_url":"https://api.github.com/users/nicoknoll/following{/other_user}","gists_url":"https://api.github.com/users/nicoknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/nicoknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicoknoll/subscriptions","organizations_url":"https://api.github.com/users/nicoknoll/orgs","repos_url":"https://api.github.com/users/nicoknoll/repos","events_url":"https://api.github.com/users/nicoknoll/events{/privacy}","received_events_url":"https://api.github.com/users/nicoknoll/received_events","type":"User","site_admin":false},"created_at":"2016-12-25T17:24:30Z","updated_at":"2016-12-25T17:24:30Z","body":"Kannst du nicht einfach noch einmal mapping rüberlaufen lassen? Also einfach sowas wie das hier nur in python halt:\r\n\r\n```js\r\ndata.steps.map((step) => {\r\n    if(status = data[`${step}_status`]) {\r\n        step.status = status; // move status to step\r\n        delete data[`${step}_status`]; // remove status from data object\r\n    } else {\r\n        step.status = 'NOT_STARTED'; // some default status\r\n    }\r\n    return step;\r\n});\r\n\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"nicoknoll"}}