{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/2137","labels_url":"https://api.github.com/repos/grafana/grafana/issues/2137/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/2137/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/2137/events","html_url":"https://github.com/grafana/grafana/issues/2137","id":86766404,"number":2137,"title":"[1.9] datasource in scripted dashboard not used","user":{"login":"dennisjac","id":500583,"avatar_url":"https://avatars.githubusercontent.com/u/500583?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisjac","html_url":"https://github.com/dennisjac","followers_url":"https://api.github.com/users/dennisjac/followers","following_url":"https://api.github.com/users/dennisjac/following{/other_user}","gists_url":"https://api.github.com/users/dennisjac/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisjac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisjac/subscriptions","organizations_url":"https://api.github.com/users/dennisjac/orgs","repos_url":"https://api.github.com/users/dennisjac/repos","events_url":"https://api.github.com/users/dennisjac/events{/privacy}","received_events_url":"https://api.github.com/users/dennisjac/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T23:19:45Z","updated_at":"2015-06-10T04:28:09Z","closed_at":"2015-06-10T04:28:09Z","body":"I just tried to create a scripted dashboard that uses a datasource other than the default but this doesn't seem to work. Looking at the panel JSON I can see the correct datasource information filled in but the graph still uses the default one."},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/110585075","html_url":"https://github.com/grafana/grafana/issues/2137#issuecomment-110585075","issue_url":"https://api.github.com/repos/grafana/grafana/issues/2137","id":110585075,"user":{"login":"torkelo","id":10999,"avatar_url":"https://avatars.githubusercontent.com/u/10999?v=3","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T04:28:09Z","updated_at":"2015-06-10T04:28:09Z","body":"Can you show the panel json and config.js?"}}