I am using the Jira Automation tool in Jira Cloud.
I have successfully used this in the past to send custom data via a web request using json.
However, I now need to send form data using the web request jira automation tool. How can I send form data?
Form data is submitted using a POST request. So you would need to put the form data in the Webhook body as Custom data.
I'll admit it's been a while since I've done this, so I had to look it up.
https://stackoverflow.com/a/14551320
You'll likely need to add a header of Content-Type with the value application/x-www-form-urlencoded.
And then in the Webhook body, your form field data would be defined thusly:
parameter=value&also=another
Hope this works for you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.