Versions Compared

Key

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

...

  1. The endpoint of the REST service. You can type any dynamic parameter here using double curly braces. (e.g. http://mycompany.com/api/book/{{bookId}} assuming bookId is defined within the Parameters section which is described below.
  2. Select the Http Method (GET, POST, PUT, DELETE).
  3. Define your HTTP header key/value sets in separate lines (as shown in the screenshot).
  4. Type the JSON request body - you can use dynamic parameters here as well.
  5. Define all your dynamic parameters here. You can add static values as well as the dynamic values of fields/custom fields in the Jira issue. Below are some sample usages.
  6. Choose the authorization type. Currently, BASIC Authentication is supported. If you choose the Basic Authorization Type, the credential will become active and the credentials you defined in the Credentials section will be listed.

Headers code example:

...


For more details on parameter assigning and utils, see the Parameters Usage Examples page.
Also see ComponentAccessorUserIssue and Status API for all properties and methods.

...

  1. First, tick the Update custom field checkbox.
  2. Select the custom field that you want to update from the drop-down menu.
  3. Type the jsonpath accordingly to select the value. If the result is not JSON and you want to update a custom field with the body itself, just leave this textbox empty.


See the jsonpath examples page for jsonpath samples.

...