{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/pulls/19","id":46379027,"html_url":"https://github.com/jenkinsci/cloudbees-folder-plugin/pull/19","diff_url":"https://github.com/jenkinsci/cloudbees-folder-plugin/pull/19.diff","patch_url":"https://github.com/jenkinsci/cloudbees-folder-plugin/pull/19.patch","issue_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/issues/19","number":19,"state":"closed","locked":false,"title":"Set folder object for icons that already exist","user":{"login":"0x4a616e","id":5487722,"avatar_url":"https://avatars.githubusercontent.com/u/5487722?v=3","gravatar_id":"","url":"https://api.github.com/users/0x4a616e","html_url":"https://github.com/0x4a616e","followers_url":"https://api.github.com/users/0x4a616e/followers","following_url":"https://api.github.com/users/0x4a616e/following{/other_user}","gists_url":"https://api.github.com/users/0x4a616e/gists{/gist_id}","starred_url":"https://api.github.com/users/0x4a616e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x4a616e/subscriptions","organizations_url":"https://api.github.com/users/0x4a616e/orgs","repos_url":"https://api.github.com/users/0x4a616e/repos","events_url":"https://api.github.com/users/0x4a616e/events{/privacy}","received_events_url":"https://api.github.com/users/0x4a616e/received_events","type":"User","site_admin":false},"body":"When changing the folder icon class using the jenkins dsl plugin or by manually editing the config file, the `FolderIcon` seems not to get the `Folder` object because the icon it already exists when `Folder.init` is called. Setting the folder object for existing icons seems to solve this issue.","created_at":"2015-09-30T09:26:54Z","updated_at":"2015-09-30T18:25:23Z","closed_at":"2015-09-30T18:25:23Z","merged_at":null,"merge_commit_sha":"806201a4f02c2eedf0bbfd80bdade328ad01ef27","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/pulls/19/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/pulls/19/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/issues/19/comments","statuses_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/statuses/b31ec2c70dc4c1a9351ea70ace3b40783e82b4f4","head":{"label":"0x4a616e:master","ref":"master","sha":"b31ec2c70dc4c1a9351ea70ace3b40783e82b4f4","user":{"login":"0x4a616e","id":5487722,"avatar_url":"https://avatars.githubusercontent.com/u/5487722?v=3","gravatar_id":"","url":"https://api.github.com/users/0x4a616e","html_url":"https://github.com/0x4a616e","followers_url":"https://api.github.com/users/0x4a616e/followers","following_url":"https://api.github.com/users/0x4a616e/following{/other_user}","gists_url":"https://api.github.com/users/0x4a616e/gists{/gist_id}","starred_url":"https://api.github.com/users/0x4a616e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x4a616e/subscriptions","organizations_url":"https://api.github.com/users/0x4a616e/orgs","repos_url":"https://api.github.com/users/0x4a616e/repos","events_url":"https://api.github.com/users/0x4a616e/events{/privacy}","received_events_url":"https://api.github.com/users/0x4a616e/received_events","type":"User","site_admin":false},"repo":{"id":43422415,"name":"cloudbees-folder-plugin","full_name":"0x4a616e/cloudbees-folder-plugin","owner":{"login":"0x4a616e","id":5487722,"avatar_url":"https://avatars.githubusercontent.com/u/5487722?v=3","gravatar_id":"","url":"https://api.github.com/users/0x4a616e","html_url":"https://github.com/0x4a616e","followers_url":"https://api.github.com/users/0x4a616e/followers","following_url":"https://api.github.com/users/0x4a616e/following{/other_user}","gists_url":"https://api.github.com/users/0x4a616e/gists{/gist_id}","starred_url":"https://api.github.com/users/0x4a616e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x4a616e/subscriptions","organizations_url":"https://api.github.com/users/0x4a616e/orgs","repos_url":"https://api.github.com/users/0x4a616e/repos","events_url":"https://api.github.com/users/0x4a616e/events{/privacy}","received_events_url":"https://api.github.com/users/0x4a616e/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/0x4a616e/cloudbees-folder-plugin","description":"","fork":true,"url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin","forks_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/forks","keys_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/teams","hooks_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/hooks","issue_events_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/events","assignees_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/tags","blobs_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/languages","stargazers_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/stargazers","contributors_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/contributors","subscribers_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/subscribers","subscription_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/subscription","commits_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/merges","archive_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/downloads","issues_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/labels{/name}","releases_url":"https://api.github.com/repos/0x4a616e/cloudbees-folder-plugin/releases{/id}","created_at":"2015-09-30T08:52:46Z","updated_at":"2015-09-30T08:52:47Z","pushed_at":"2015-09-30T09:48:00Z","git_url":"git://github.com/0x4a616e/cloudbees-folder-plugin.git","ssh_url":"git@github.com:0x4a616e/cloudbees-folder-plugin.git","clone_url":"https://github.com/0x4a616e/cloudbees-folder-plugin.git","svn_url":"https://github.com/0x4a616e/cloudbees-folder-plugin","homepage":"","size":239,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"4f9c9d8a677551c1299b41dab437160e4794933d","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":13481588,"name":"cloudbees-folder-plugin","full_name":"jenkinsci/cloudbees-folder-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/cloudbees-folder-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin","forks_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/releases{/id}","created_at":"2013-10-10T20:02:26Z","updated_at":"2015-09-30T08:52:34Z","pushed_at":"2015-09-30T09:48:00Z","git_url":"git://github.com/jenkinsci/cloudbees-folder-plugin.git","ssh_url":"git@github.com:jenkinsci/cloudbees-folder-plugin.git","clone_url":"https://github.com/jenkinsci/cloudbees-folder-plugin.git","svn_url":"https://github.com/jenkinsci/cloudbees-folder-plugin","homepage":"","size":845,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":4,"forks":18,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/pulls/19"},"html":{"href":"https://github.com/jenkinsci/cloudbees-folder-plugin/pull/19"},"issue":{"href":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/issues/19"},"comments":{"href":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/cloudbees-folder-plugin/statuses/b31ec2c70dc4c1a9351ea70ace3b40783e82b4f4"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":0,"commits":2,"additions":2,"deletions":0,"changed_files":1}}