{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/scriptler-plugin/issues/22","labels_url":"https://api.github.com/repos/jenkinsci/scriptler-plugin/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/scriptler-plugin/issues/22/comments","events_url":"https://api.github.com/repos/jenkinsci/scriptler-plugin/issues/22/events","html_url":"https://github.com/jenkinsci/scriptler-plugin/pull/22","id":107950053,"number":22,"title":"Upon uploading a script, its parameter list is not set, causing a NPE…","user":{"login":"dcoraboeuf","id":1206964,"avatar_url":"https://avatars.githubusercontent.com/u/1206964?v=3","gravatar_id":"","url":"https://api.github.com/users/dcoraboeuf","html_url":"https://github.com/dcoraboeuf","followers_url":"https://api.github.com/users/dcoraboeuf/followers","following_url":"https://api.github.com/users/dcoraboeuf/following{/other_user}","gists_url":"https://api.github.com/users/dcoraboeuf/gists{/gist_id}","starred_url":"https://api.github.com/users/dcoraboeuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcoraboeuf/subscriptions","organizations_url":"https://api.github.com/users/dcoraboeuf/orgs","repos_url":"https://api.github.com/users/dcoraboeuf/repos","events_url":"https://api.github.com/users/dcoraboeuf/events{/privacy}","received_events_url":"https://api.github.com/users/dcoraboeuf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-23T15:48:53Z","updated_at":"2015-10-28T13:02:02Z","closed_at":"2015-10-28T09:55:33Z","pull_request":{"url":"https://api.github.com/repos/jenkinsci/scriptler-plugin/pulls/22","html_url":"https://github.com/jenkinsci/scriptler-plugin/pull/22","diff_url":"https://github.com/jenkinsci/scriptler-plugin/pull/22.diff","patch_url":"https://github.com/jenkinsci/scriptler-plugin/pull/22.patch"},"body":"… when running it using the REST end point.\r\n\r\n1. Upload a script\r\n2. Run it from the command line using a Curl command\r\n\r\nThe root cause is that the parameter list is not set (or set to `null`) when uploading a script."},"comment":{"url":"https://api.github.com/repos/jenkinsci/scriptler-plugin/issues/comments/151836858","html_url":"https://github.com/jenkinsci/scriptler-plugin/pull/22#issuecomment-151836858","issue_url":"https://api.github.com/repos/jenkinsci/scriptler-plugin/issues/22","id":151836858,"user":{"login":"imod","id":543297,"avatar_url":"https://avatars.githubusercontent.com/u/543297?v=3","gravatar_id":"","url":"https://api.github.com/users/imod","html_url":"https://github.com/imod","followers_url":"https://api.github.com/users/imod/followers","following_url":"https://api.github.com/users/imod/following{/other_user}","gists_url":"https://api.github.com/users/imod/gists{/gist_id}","starred_url":"https://api.github.com/users/imod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imod/subscriptions","organizations_url":"https://api.github.com/users/imod/orgs","repos_url":"https://api.github.com/users/imod/repos","events_url":"https://api.github.com/users/imod/events{/privacy}","received_events_url":"https://api.github.com/users/imod/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T13:02:02Z","updated_at":"2015-10-28T13:02:02Z","body":"yes, I'll plan to do one today - there is just one more issue I'm currently looking into"}}