XML/JSON Multi Request Custom Field obtains values from an XML/JSON response via XPath/JSONPath. Retrieve end-user data from external systems and display it on a support ticket.
- To add XML/JSON Multi Request Custom Field, go to Jira Administration > Issues > Custom Fields. Click Add Custom Field.
- Select XML/JSON Multi Request Custom Field. Click Next.
- Give a name and description to your field. Click Create. Check Issue screens you want your field to be reflected in. Click Update.
- To configure created custom field go to cog wheel menu and click Configure.
- Default value should be configured. To set field write 'default' and click Set Default.
- To configure custom field settings click Edit XML/JSON HTTP Settings.
- Configure the parameters as described in the table below. The following picture shows an example of how you can configure the fields.
- To finish configuration click Save. Your configuration is ready.
- That's it. Now, multi select list custom field is available in your create and edit issue screens.
Fields description
For each XML/JSON custom field that you add, there is a set of parameters to configure on the field configuration page.
Field | Description |
---|---|
URL | An URL to required resource. For GET request may contain GET parameters. |
Basic Auth Username | A Username for basic access authentication (optional). |
Basic Auth Password | A Password for basic access authentication (optional). |
Request Type | An HTTP request type (GET, POST). |
Request Data | The body of HTTP Post request. |
XPath or JSON Path | The path for getting values. |
Proxy port | A port number of a proxy server. |
Proxy host | An IP address of a proxy server. |
Proxy scheme (http or https) | The protocol that defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. |
See also
HTTP - Adding XML/JSON Request Custom Field