{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/5901","repository_url":"https://api.github.com/repos/elastic/kibana","labels_url":"https://api.github.com/repos/elastic/kibana/issues/5901/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/5901/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/5901/events","html_url":"https://github.com/elastic/kibana/issues/5901","id":126523228,"number":5901,"title":"visState title is always \"New Visualization\" instead of actual title","user":{"login":"LeeDr","id":13542669,"avatar_url":"https://avatars.githubusercontent.com/u/13542669?v=3","gravatar_id":"","url":"https://api.github.com/users/LeeDr","html_url":"https://github.com/LeeDr","followers_url":"https://api.github.com/users/LeeDr/followers","following_url":"https://api.github.com/users/LeeDr/following{/other_user}","gists_url":"https://api.github.com/users/LeeDr/gists{/gist_id}","starred_url":"https://api.github.com/users/LeeDr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeeDr/subscriptions","organizations_url":"https://api.github.com/users/LeeDr/orgs","repos_url":"https://api.github.com/users/LeeDr/repos","events_url":"https://api.github.com/users/LeeDr/events{/privacy}","received_events_url":"https://api.github.com/users/LeeDr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/kibana/labels/bug","name":"bug","color":"ff0000"},{"url":"https://api.github.com/repos/elastic/kibana/labels/P2","name":"P2","color":"000000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-13T21:46:39Z","updated_at":"2016-05-11T15:57:59Z","closed_at":"2016-05-11T15:57:59Z","body":"Version \t4.4.0-snapshot\r\nBuild \t9684\r\nCommit SHA \t57ca6dc\r\n\r\n1. Create a new visualization\r\n2. save it with any unique name\r\n3. go to Settings > Objects and export the new visualization\r\n4. open the exported JSON file\r\n5. In the JSON below you see the \"title\" is \"New Line Chart\", but in visState the title is \"New Visualization\"\r\n\r\nThis is a regression from Kibana 4.3.1.  But I don't know what that visState title is used for so I'm not sure of the priority of this issue.\r\n\r\n\r\n```\r\n[\r\n  {\r\n    \"_id\": \"New-Line-Chart\",\r\n    \"_type\": \"visualization\",\r\n    \"_source\": {\r\n      \"title\": \"New Line Chart\",\r\n      \"visState\": \"{\\\"title\\\":\\\"New Visualization\\\",\\\"type\\\":\\\"line\\\",\\\"params\\\":{\\\"shareYAxis\\\":true,\\\"addTooltip\\\":true,\\\"addLegend\\\":true,\\\"showCircles\\\":true,\\\"smoothLines\\\":false,\\\"interpolate\\\":\\\"linear\\\",\\\"scale\\\":\\\"linear\\\",\\\"drawLinesBetweenPoints\\\":true,\\\"radiusRatio\\\":9,\\\"times\\\":[],\\\"addTimeMarker\\\":false,\\\"defaultYExtents\\\":false,\\\"setYExtents\\\":false,\\\"yAxis\\\":{}},\\\"aggs\\\":[{\\\"id\\\":\\\"1\\\",\\\"type\\\":\\\"count\\\",\\\"schema\\\":\\\"metric\\\",\\\"params\\\":{}},{\\\"id\\\":\\\"2\\\",\\\"type\\\":\\\"date_histogram\\\",\\\"schema\\\":\\\"segment\\\",\\\"params\\\":{\\\"field\\\":\\\"@timestamp\\\",\\\"interval\\\":\\\"auto\\\",\\\"customInterval\\\":\\\"2h\\\",\\\"min_doc_count\\\":1,\\\"extended_bounds\\\":{}}}],\\\"listeners\\\":{}}\",\r\n      \"uiStateJSON\": \"{}\",\r\n      \"description\": \"\",\r\n      \"version\": 1,\r\n      \"kibanaSavedObjectMeta\": {\r\n        \"searchSourceJSON\": \"{\\\"index\\\":\\\"logstash-*\\\",\\\"query\\\":{\\\"query_string\\\":{\\\"query\\\":\\\"*\\\",\\\"analyze_wildcard\\\":true}},\\\"filter\\\":[]}\"\r\n      }\r\n    }\r\n  }\r\n]\r\n```"}}