{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/11450","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/11450/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/11450/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/11450/events","html_url":"https://github.com/elastic/kibana/pull/11450","id":224538654,"number":11450,"title":"Report shard failures in the field_capabilities response","user":{"login":"Bargs","id":6239176,"avatar_url":"https://avatars0.githubusercontent.com/u/6239176?v=3","gravatar_id":"","url":"https://api.github.com/users/Bargs","html_url":"https://github.com/Bargs","followers_url":"https://api.github.com/users/Bargs/followers","following_url":"https://api.github.com/users/Bargs/following{/other_user}","gists_url":"https://api.github.com/users/Bargs/gists{/gist_id}","starred_url":"https://api.github.com/users/Bargs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bargs/subscriptions","organizations_url":"https://api.github.com/users/Bargs/orgs","repos_url":"https://api.github.com/users/Bargs/repos","events_url":"https://api.github.com/users/Bargs/events{/privacy}","received_events_url":"https://api.github.com/users/Bargs/received_events","type":"User","site_admin":false},"labels":[{"id":135307740,"url":"https://api.github.com/repos/elastic/kibana/labels/review","name":"review","color":"0052cc","default":false},{"id":578161815,"url":"https://api.github.com/repos/elastic/kibana/labels/v5.3.2","name":"v5.3.2","color":"ffffff","default":false},{"id":521125876,"url":"https://api.github.com/repos/elastic/kibana/labels/v5.4.0","name":"v5.4.0","color":"ffffff","default":false},{"id":525828970,"url":"https://api.github.com/repos/elastic/kibana/labels/v5.5.0","name":"v5.5.0","color":"ffffff","default":false},{"id":351295427,"url":"https://api.github.com/repos/elastic/kibana/labels/v6.0.0","name":"v6.0.0","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-26T17:11:58Z","updated_at":"2017-04-26T19:26:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/11450","html_url":"https://github.com/elastic/kibana/pull/11450","diff_url":"https://github.com/elastic/kibana/pull/11450.diff","patch_url":"https://github.com/elastic/kibana/pull/11450.patch"},"body":"Fixes https://github.com/elastic/kibana/issues/11379\r\n\r\nThe Kibana field_capabilities API will now include any shard failures in its response so that the user can be notified when an error has occurred while creating an index pattern or refreshing a pattern's fields.\r\n\r\n<img width=\"1280\" alt=\"screen shot 2017-04-26 at 1 09 30 pm\" src=\"https://cloud.githubusercontent.com/assets/6239176/25447054/a2b31e4c-2a81-11e7-9884-26956cca7ee3.png\">\r\n\r\nI wasn't totally sure how to how to submit this PR since the error isn't reproducible in master, since you can't migrate an index directly from 2.x -> 6.x. You could theoretically get a shard failure for other reasons though, so we do want this fix in master. I've submitted the PR against 5.x for ease of testing but I'll merge into master first once it's approved."},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/297515875","html_url":"https://github.com/elastic/kibana/pull/11450#issuecomment-297515875","issue_url":"https://api.github.com/repos/elastic/kibana/issues/11450","id":297515875,"user":{"login":"tsullivan","id":908371,"avatar_url":"https://avatars2.githubusercontent.com/u/908371?v=3","gravatar_id":"","url":"https://api.github.com/users/tsullivan","html_url":"https://github.com/tsullivan","followers_url":"https://api.github.com/users/tsullivan/followers","following_url":"https://api.github.com/users/tsullivan/following{/other_user}","gists_url":"https://api.github.com/users/tsullivan/gists{/gist_id}","starred_url":"https://api.github.com/users/tsullivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsullivan/subscriptions","organizations_url":"https://api.github.com/users/tsullivan/orgs","repos_url":"https://api.github.com/users/tsullivan/repos","events_url":"https://api.github.com/users/tsullivan/events{/privacy}","received_events_url":"https://api.github.com/users/tsullivan/received_events","type":"User","site_admin":false},"created_at":"2017-04-26T19:26:59Z","updated_at":"2017-04-26T19:26:59Z","body":"The code looks good to me. Need to set up the test case and run it. \r\n\r\nThanks for doing this!"}}
{"actor":{"display_login":"tsullivan"}}