{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-xd/issues/1910","repository_url":"https://api.github.com/repos/spring-projects/spring-xd","labels_url":"https://api.github.com/repos/spring-projects/spring-xd/issues/1910/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-xd/issues/1910/comments","events_url":"https://api.github.com/repos/spring-projects/spring-xd/issues/1910/events","html_url":"https://github.com/spring-projects/spring-xd/issues/1910","id":154040098,"number":1910,"title":"Batch-job with parameters insert through REST -> shell&http","user":{"login":"pentchomakov","id":11916376,"avatar_url":"https://avatars.githubusercontent.com/u/11916376?v=3","gravatar_id":"","url":"https://api.github.com/users/pentchomakov","html_url":"https://github.com/pentchomakov","followers_url":"https://api.github.com/users/pentchomakov/followers","following_url":"https://api.github.com/users/pentchomakov/following{/other_user}","gists_url":"https://api.github.com/users/pentchomakov/gists{/gist_id}","starred_url":"https://api.github.com/users/pentchomakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pentchomakov/subscriptions","organizations_url":"https://api.github.com/users/pentchomakov/orgs","repos_url":"https://api.github.com/users/pentchomakov/repos","events_url":"https://api.github.com/users/pentchomakov/events{/privacy}","received_events_url":"https://api.github.com/users/pentchomakov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mminella","id":630743,"avatar_url":"https://avatars.githubusercontent.com/u/630743?v=3","gravatar_id":"","url":"https://api.github.com/users/mminella","html_url":"https://github.com/mminella","followers_url":"https://api.github.com/users/mminella/followers","following_url":"https://api.github.com/users/mminella/following{/other_user}","gists_url":"https://api.github.com/users/mminella/gists{/gist_id}","starred_url":"https://api.github.com/users/mminella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mminella/subscriptions","organizations_url":"https://api.github.com/users/mminella/orgs","repos_url":"https://api.github.com/users/mminella/repos","events_url":"https://api.github.com/users/mminella/events{/privacy}","received_events_url":"https://api.github.com/users/mminella/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-05-10T15:45:03Z","updated_at":"2016-05-10T20:57:38Z","closed_at":null,"body":"Hi guys,\r\n\r\n[SpringXD] - Perhaps this is already possible, but I'm having trouble executing a batch job with new params through the shell. I'm trying to do: http post --target http://localhost:9393/jobs/executions?jobname=my-job-name --data {\"key1\":\"value1\", \"key2\":\"value2\",...,\"keyn\":\"valuen\"}. I can launch the job if I send dummy data, but it won't map to the params that the job is set to accept. That being said, if I manually launch the job through the admin-ui and add params one-by-one, there is no problem.\r\n\r\nThank you in advance for your help!"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-xd/issues/comments/218289144","html_url":"https://github.com/spring-projects/spring-xd/issues/1910#issuecomment-218289144","issue_url":"https://api.github.com/repos/spring-projects/spring-xd/issues/1910","id":218289144,"user":{"login":"mminella","id":630743,"avatar_url":"https://avatars.githubusercontent.com/u/630743?v=3","gravatar_id":"","url":"https://api.github.com/users/mminella","html_url":"https://github.com/mminella","followers_url":"https://api.github.com/users/mminella/followers","following_url":"https://api.github.com/users/mminella/following{/other_user}","gists_url":"https://api.github.com/users/mminella/gists{/gist_id}","starred_url":"https://api.github.com/users/mminella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mminella/subscriptions","organizations_url":"https://api.github.com/users/mminella/orgs","repos_url":"https://api.github.com/users/mminella/repos","events_url":"https://api.github.com/users/mminella/events{/privacy}","received_events_url":"https://api.github.com/users/mminella/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T20:57:38Z","updated_at":"2016-05-10T20:57:38Z","body":"Ok, I'm still working out how to make this work with our shell.  However, here is the `curl` command that works:\r\n```\r\n$ curl -X POST --data 'jobname=foo&jobParameters={\"%2Bfoo(string)\":\"bar\"}' http://localhost:9393/jobs/executions\r\n```"}}