Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The HTTP Request postfunction lets you make a parametrized HTTP Request in a transition.

...

image-20240621-075930.pngImage Added

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.

Info

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:

Code Block
{
  "fields": {
    "description": "new desc",
    "summary": "summary",
    }
}

You have to configure it like this:

...