How to use renderRequest
Summary
The renderRequest action is similar to curl in the sense that it allows you to send requests to a URL - in this case, an Atlassian server URL. The advantage to using renderRequest is that it does a number of things automatically under the covers including handling authentication, findReplace support, special handling variables, and can be used within CLI scripts and run actions. Some clients implement customization specific to the client.
Parameters
Parameter | Default | Description |
|---|---|---|
request | Partial URL that will be added to the server URL. Required if there are no client specific parameters that will set the URL. | |
requestParameters |
| |
requestType | GET | HTTP request type like GET, POST, PUT, DELETE |
type | HTML | HTTP content type. Any value can be used. The following shortcut values are also available:
|
acceptType | type | HTTP accept type if different than type parameter. |
findReplace | Response data is processed using the standard CLI find and replace support.
| |
findReplaceRegex | Response data is processed using the standard CLI find and replace support.
| |
file | Allow output to a file. | |
encoding | File encoding. |
Client Specific Parameters
Client | Parameter | Description |
|---|---|---|
Jira | project |
|
Jira | issue |
|
Confluence | space |
|
Confluence | title |
|
Bamboo | plan |
|
Bamboo | job |
|
Bamboo | number |
|
No specific parameters are currently available for Bitbucket or HipChat
renderRequest is not currently available for Crucible and FishEye