{"action":"closed","issue":{"url":"https://api.github.com/repos/probot/settings/issues/78","repository_url":"https://api.github.com/repos/probot/settings","labels_url":"https://api.github.com/repos/probot/settings/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/probot/settings/issues/78/comments","events_url":"https://api.github.com/repos/probot/settings/issues/78/events","html_url":"https://github.com/probot/settings/issues/78","id":310028450,"node_id":"MDU6SXNzdWUzMTAwMjg0NTA=","number":78,"title":"Label color with leading zeros error","user":{"login":"AshanthaLahiru","id":22785263,"node_id":"MDQ6VXNlcjIyNzg1MjYz","avatar_url":"https://avatars3.githubusercontent.com/u/22785263?v=4","gravatar_id":"","url":"https://api.github.com/users/AshanthaLahiru","html_url":"https://github.com/AshanthaLahiru","followers_url":"https://api.github.com/users/AshanthaLahiru/followers","following_url":"https://api.github.com/users/AshanthaLahiru/following{/other_user}","gists_url":"https://api.github.com/users/AshanthaLahiru/gists{/gist_id}","starred_url":"https://api.github.com/users/AshanthaLahiru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AshanthaLahiru/subscriptions","organizations_url":"https://api.github.com/users/AshanthaLahiru/orgs","repos_url":"https://api.github.com/users/AshanthaLahiru/repos","events_url":"https://api.github.com/users/AshanthaLahiru/events{/privacy}","received_events_url":"https://api.github.com/users/AshanthaLahiru/received_events","type":"User","site_admin":false},"labels":[{"id":523720542,"node_id":"MDU6TGFiZWw1MjM3MjA1NDI=","url":"https://api.github.com/repos/probot/settings/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-30T10:03:01Z","updated_at":"2018-07-05T07:04:15Z","closed_at":"2018-07-05T07:04:15Z","author_association":"CONTRIBUTOR","body":"If the label color code consists of leading zeros, in some cases it will take it as an integer and it will truncate the leading zeros which leads to following error. \r\n\r\n![settings-label-error](https://user-images.githubusercontent.com/22785263/38132909-a28a34c4-342a-11e8-8967-416d5dfbbace.PNG)\r\n\r\nSuggest solution,\r\n![settings-label-solution](https://user-images.githubusercontent.com/22785263/38133756-2f814a40-342e-11e8-88b7-2c970adc0c44.PNG)\r\n"}}
{"actor":{"display_login":"stale"}}