{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/661","repository_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin","labels_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/661/comments","events_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/661/events","html_url":"https://github.com/jenkinsci/blueocean-plugin/pull/661","id":196011091,"number":661,"title":"JENKINS-40209 Introduce specialised types for organization folders so…","user":{"login":"i386","id":50156,"avatar_url":"https://avatars.githubusercontent.com/u/50156?v=3","gravatar_id":"","url":"https://api.github.com/users/i386","html_url":"https://github.com/i386","followers_url":"https://api.github.com/users/i386/followers","following_url":"https://api.github.com/users/i386/following{/other_user}","gists_url":"https://api.github.com/users/i386/gists{/gist_id}","starred_url":"https://api.github.com/users/i386/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i386/subscriptions","organizations_url":"https://api.github.com/users/i386/orgs","repos_url":"https://api.github.com/users/i386/repos","events_url":"https://api.github.com/users/i386/events{/privacy}","received_events_url":"https://api.github.com/users/i386/received_events","type":"User","site_admin":false},"labels":[{"id":334266774,"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/labels/work-in-progress","name":"work-in-progress","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-16T09:04:56Z","updated_at":"2016-12-21T05:57:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/pulls/661","html_url":"https://github.com/jenkinsci/blueocean-plugin/pull/661","diff_url":"https://github.com/jenkinsci/blueocean-plugin/pull/661.diff","patch_url":"https://github.com/jenkinsci/blueocean-plugin/pull/661.patch"},"body":"# Description\r\n\r\nYou can now determine the type of Folder by its `_class`. Also includes a link to its icon.\r\n\r\n*Github Org folder*\r\n```\r\n{\r\n  \"_class\": \"io.jenkins.blueocean.rest.impl.pipeline.GithubOrganizationFolder\",\r\n  \"_links\": {\r\n    \"activities\": {\r\n      \"_class\": \"io.jenkins.blueocean.rest.hal.Link\",\r\n      \"href\": \"/blue/rest/organizations/jenkins/pipelines/cloudbeers/activities/\"\r\n    },\r\n    \"self\": {\r\n      \"_class\": \"io.jenkins.blueocean.rest.hal.Link\",\r\n      \"href\": \"/blue/rest/organizations/jenkins/pipelines/cloudbeers/\"\r\n    },\r\n    \"actions\": {\r\n      \"_class\": \"io.jenkins.blueocean.rest.hal.Link\",\r\n      \"href\": \"/blue/rest/organizations/jenkins/pipelines/cloudbeers/actions/\"\r\n    },\r\n    \"runs\": {\r\n      \"_class\": \"io.jenkins.blueocean.rest.hal.Link\",\r\n      \"href\": \"/blue/rest/organizations/jenkins/pipelines/cloudbeers/runs/\"\r\n    },\r\n    \"queue\": {\r\n      \"_class\": \"io.jenkins.blueocean.rest.hal.Link\",\r\n      \"href\": \"/blue/rest/organizations/jenkins/pipelines/cloudbeers/queue/\"\r\n    }\r\n  },\r\n  \"actions\": [],\r\n  \"displayName\": \"cloudbeers\",\r\n  \"fullDisplayName\": \"cloudbeers\",\r\n  \"fullName\": \"cloudbeers\",\r\n  \"name\": \"cloudbeers\",\r\n  \"organization\": \"jenkins\",\r\n  \"permissions\": {\r\n    \"create\": true,\r\n    \"read\": true,\r\n    \"start\": true,\r\n    \"stop\": true\r\n  },\r\n  \"numberOfFolders\": 0,\r\n  \"numberOfPipelines\": 0,\r\n  \"icon\": \"/jenkins/static/c653c0ab/plugin/cloudbees-folder/images/32x32/folder.png\"\r\n}\r\n```\r\n\r\n*Bitbucket org folder*\r\n```\r\n{\r\n  \"_class\": \"io.jenkins.blueocean.rest.impl.pipeline.BitbucketOrganizationFolder\",\r\n  \"_links\": {\r\n    \"activities\": {\r\n      \"_class\": \"io.jenkins.blueocean.rest.hal.Link\",\r\n      \"href\": \"/blue/rest/organizations/jenkins/pipelines/bitbuckety/activities/\"\r\n    },\r\n    \"self\": {\r\n      \"_class\": \"io.jenkins.blueocean.rest.hal.Link\",\r\n      \"href\": \"/blue/rest/organizations/jenkins/pipelines/bitbuckety/\"\r\n    },\r\n    \"actions\": {\r\n      \"_class\": \"io.jenkins.blueocean.rest.hal.Link\",\r\n      \"href\": \"/blue/rest/organizations/jenkins/pipelines/bitbuckety/actions/\"\r\n    },\r\n    \"runs\": {\r\n      \"_class\": \"io.jenkins.blueocean.rest.hal.Link\",\r\n      \"href\": \"/blue/rest/organizations/jenkins/pipelines/bitbuckety/runs/\"\r\n    },\r\n    \"queue\": {\r\n      \"_class\": \"io.jenkins.blueocean.rest.hal.Link\",\r\n      \"href\": \"/blue/rest/organizations/jenkins/pipelines/bitbuckety/queue/\"\r\n    }\r\n  },\r\n  \"actions\": [],\r\n  \"displayName\": \"bitbuckety\",\r\n  \"fullDisplayName\": \"bitbuckety\",\r\n  \"fullName\": \"bitbuckety\",\r\n  \"name\": \"bitbuckety\",\r\n  \"organization\": \"jenkins\",\r\n  \"permissions\": {\r\n    \"create\": true,\r\n    \"read\": true,\r\n    \"start\": true,\r\n    \"stop\": true\r\n  },\r\n  \"numberOfFolders\": 0,\r\n  \"numberOfPipelines\": 0,\r\n  \"icon\": \"/jenkins/static/c653c0ab/plugin/cloudbees-folder/images/32x32/folder.png\"\r\n}\r\n```\r\n\r\nSee [JENKINS-40209](https://issues.jenkins-ci.org/browse/JENKINS-40209).\r\n\r\n# Submitter checklist\r\n- [ ] Link to JIRA ticket in description, if appropriate.\r\n- [ ] Change is code complete and matches issue description\r\n- [ ] Appropriate unit or acceptance tests or explanation to why this change has no tests\r\n- [ ] Reviewer's manual test instructions provided in PR description. See Reviewer's first task below.\r\n- [ ] Ran Acceptance Test Harness against PR changes.\r\n\r\n# Reviewer checklist\r\n- [ ] Run the changes and verified the change matches the issue description\r\n- [ ] Reviewed the code\r\n- [ ] Verified that the appropriate tests have been written or valid explanation given\r\n\r\n@reviewbybees \r\n\r\n… that they can be detected in the client"},"comment":{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/comments/268442476","html_url":"https://github.com/jenkinsci/blueocean-plugin/pull/661#issuecomment-268442476","issue_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/661","id":268442476,"user":{"login":"i386","id":50156,"avatar_url":"https://avatars.githubusercontent.com/u/50156?v=3","gravatar_id":"","url":"https://api.github.com/users/i386","html_url":"https://github.com/i386","followers_url":"https://api.github.com/users/i386/followers","following_url":"https://api.github.com/users/i386/following{/other_user}","gists_url":"https://api.github.com/users/i386/gists{/gist_id}","starred_url":"https://api.github.com/users/i386/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i386/subscriptions","organizations_url":"https://api.github.com/users/i386/orgs","repos_url":"https://api.github.com/users/i386/repos","events_url":"https://api.github.com/users/i386/events{/privacy}","received_events_url":"https://api.github.com/users/i386/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T05:57:44Z","updated_at":"2016-12-21T05:57:44Z","body":"@vivek perhaps I'll go ahead and put the BB org folder in a similar module \"bitbucket-pipeline\"?"}}
{"actor":{"display_login":"i386"}}