HTTP Request
The HTTP Request postfunction lets you make a parametrized HTTP Request in a transition.
Fields
Path: This is the URL that will be called. Example:
https://mycompany/confluence/rest/api/content/
Method: A selector of HTTP methods. Available options: GET, POST, PUT, DELETE.
Headers:
Add header button: Click it to add a new empty header.
Header name - Header value: The name and value of one header. The header name can’t be empty.
Remove button: Click it to remove the corresponding header.
Request body: The body of the request.
You can use Smart Values in the Path, Header name, Header value and Request body inputs.
Add fields: Optionally, you can update Jira issue fields based on the response.
In these cases, you need to select the field to be updated and specify the path within the response where the field value is located. WMBC can only process JSON responses.
For example, if you want to update the description field based on a response formatted like this:
{
"fields": {
"description": "new desc",
"summary": "summary",
}
}
You have to configure it like this: