{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/3819","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/3819/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/3819/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/3819/events","html_url":"https://github.com/openshift/origin/issues/3819","id":96458307,"number":3819,"title":"Posting a V1 `ProjectRequest` drops Labels and Annotations","user":{"login":"cianclarke","id":512937,"avatar_url":"https://avatars0.githubusercontent.com/u/512937?v=4","gravatar_id":"","url":"https://api.github.com/users/cianclarke","html_url":"https://github.com/cianclarke","followers_url":"https://api.github.com/users/cianclarke/followers","following_url":"https://api.github.com/users/cianclarke/following{/other_user}","gists_url":"https://api.github.com/users/cianclarke/gists{/gist_id}","starred_url":"https://api.github.com/users/cianclarke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cianclarke/subscriptions","organizations_url":"https://api.github.com/users/cianclarke/orgs","repos_url":"https://api.github.com/users/cianclarke/repos","events_url":"https://api.github.com/users/cianclarke/events{/privacy}","received_events_url":"https://api.github.com/users/cianclarke/received_events","type":"User","site_admin":false},"labels":[{"id":210156210,"url":"https://api.github.com/repos/openshift/origin/labels/component/restapi","name":"component/restapi","color":"0052cc","default":false},{"id":210151819,"url":"https://api.github.com/repos/openshift/origin/labels/priority/P1","name":"priority/P1","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":{"login":"soltysh","id":576341,"avatar_url":"https://avatars2.githubusercontent.com/u/576341?v=4","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"assignees":[{"login":"soltysh","id":576341,"avatar_url":"https://avatars2.githubusercontent.com/u/576341?v=4","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2015-07-22T02:17:05Z","updated_at":"2017-12-25T19:27:30Z","closed_at":null,"author_association":"NONE","body":"When POSing this (valid JSON, just console.logs like this):  \r\n\r\n```\r\n{ kind: 'ProjectRequest',\r\n  apiVersion: 'v1',\r\n  metadata: \r\n   { name: 'welcomeprojectcloos3y432',\r\n     creationTimestamp: null,\r\n     annotations: { 'rhmap.io/description': '' } },\r\n  labels: \r\n   { 'rhmap.io/env': 'os3',\r\n     'rhmap.io/guid': 'ujzozs3h5ldwo4orxsaky432',\r\n     'rhmap.io/project': 'ujzozs773araip3o2zi7mwhp',\r\n     'rhmap.io/domain': 'testing' },\r\n  displayName: 'Welcome Project-cloud' }\r\n```\r\n\r\nboth the annotations and labels are dropped. Could use `projects` API, but using project requests API so regular users can do the creation too. \r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/353886836","html_url":"https://github.com/openshift/origin/issues/3819#issuecomment-353886836","issue_url":"https://api.github.com/repos/openshift/origin/issues/3819","id":353886836,"user":{"login":"stevekuznetsov","id":7328370,"avatar_url":"https://avatars1.githubusercontent.com/u/7328370?v=4","gravatar_id":"","url":"https://api.github.com/users/stevekuznetsov","html_url":"https://github.com/stevekuznetsov","followers_url":"https://api.github.com/users/stevekuznetsov/followers","following_url":"https://api.github.com/users/stevekuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/stevekuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekuznetsov/subscriptions","organizations_url":"https://api.github.com/users/stevekuznetsov/orgs","repos_url":"https://api.github.com/users/stevekuznetsov/repos","events_url":"https://api.github.com/users/stevekuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/stevekuznetsov/received_events","type":"User","site_admin":false},"created_at":"2017-12-25T19:27:30Z","updated_at":"2017-12-25T19:27:30Z","author_association":"CONTRIBUTOR","body":"/cc @mfojtik @deads2k @soltysh "}}
{"actor":{"display_login":"stevekuznetsov"}}