I have a similar issue with that. I have created a webhook to trigger a job and added the options -field1 ${data.field1} -field2 ${data.field2} I want to trigger this job remotely from a rundeck instance so I run this command.
curl -X POST "https://......" \ -H "Content-Type: application/json" \ -d '{"field1":"test", "field2": "testServer"}'
The webhook does run the job but the options are not being passed.
any ideas?