HTTP - Adding XML/JSON Request Custom Field
After careful consideration, we have made the decision to retire HTTP Feed Custom Fields. After a few years on the Marketplace, we have seen decreased usage and low interest in this product, making continued development and support not viable.
You may continue using your installed license and we will continue supporting customers with active licenses, but we will no longer release updates through the Atlassian Marketplace. We will archive the app on the Atlassian Marketplace in 90 days, and you will no longer be able to renew your license. We recommend you take a look at Power Custom Fields for Jira or JMCF that are similar in functionality with an even wider set of features
We sincerely appreciate your understanding and we hope the impact to your organization and customers will be minimal. Please don't hesitate to contact our support team if you have any questions
XML / JSON Request Custom Field obtains values from an XML / JSON response via XPath / JSONPath. It enables you to pull and display a list of values from an external system without the need to enter them all manually into Jira or to enter them all into your database.
- To add an XML/JSON Request Custom Field, go to Jira Administration > Issues > Custom Fields, and click Add Custom Field.
- Select XML / JSON Request Custom Field. Click Next.
- Give a name and description to your field, and click Create.Â
- Check Issue screens you want your field to be reflected in, and click Update.
- To configure a created custom field, go to cog wheel menu and click Configure.
- Configure the default value. To set the 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 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 | URL to the required resource. For the GET requests it can contain GET parameters. |
Basic Auth Username | Username for basic access authentication (optional) |
Basic Auth Password | Password for basic access authentication (optional) |
Request Type | An HTTP request type (GET, POST) |
Headers | The operating parameters of an HTTP transaction (available in v2.0.2 and above) |
Request Data | Body of the HTTP Post request |
XPath or JSON Path | Path for getting values |
Proxy port | Port number of a proxy server. Proxy settings are available starting with v1.2.11. |
Proxy host | IP address of a proxy server. Proxy settings are available starting with v1.2.11. |
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. Proxy settings are available starting with v1.2.11. |