This Snap provides the functionality to execute the HTTP Get method to a JIRA REST API service endpoint to retrieve information on JIRA issues. All fields and values of each issue are returned by the operation.Â
Expected upstream Snaps: Â Any Snap with a document output view
Expected downstream Snaps: Â Any Snap with a document input view
Expected input: Â No input data is required. However, if the Issue ID property value is an expression like "$id", each input document should contain a key/value pair to evaluate the expression, such as:
{
"id": "JIRASNAP4037"
}
Expected output: Â Output document contains all fields and values for a given JIRA issue ID. An example of an output document is attached below.
This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. The Snap supports the JIRA basic auth account. The JIRA sites may or may not allow anonymous access.
Views:
Input
This Snap has at most one input view and receives documents in the view. Each document is expected to contain data for the issue ID if the JSON path is provided in the Issue ID property.
Output
This Snap has exactly one output view and produces documents in the view. Each document contains response data from the JIRA REST API service endpoint.
Error
This Snap has at most one document error view and produces zero or more documents in the view. Each document contains the response from the JIRA REST API service endpoint.
Settings
Label
Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.
API version
Required. The JIRA REST API version number.
Example: 2
Default value: 2
Issue ID
Required. The JIRA issue ID or key, or the JSON path to the issue ID data in the input document. It can be a JavaScript expression. You must click the expression toggle (=) if the property is a JSON path or a JavaScript expression.
Examples:
10012
EPROJECT-17
$id
_id
Default value: Â [None]
Snap Execution
Select one of the following three modes in which the Snap executes:
Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.
Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.
Disabled: Disables the Snap and all Snaps that are downstream from it.
Default Value:Â Execute only Example: Validate & Execute
Downloads
Important steps to successfully reuse Pipelines
Download and import the pipeline into the SnapLogic application.