This Snap provides the functionality to execute an HTTP Post method to a JIRA REST API service endpoint to create JIRA issues. The new issue ID and key are assigned automatically and returned by the operation.
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.
This Snap has exactly one input view and receives documents in the view. Each document contains data to be recorded at the JIRA REST API service endpoint. The Snap provides the schema on the input view.
This Snap has at most one output view and produces documents in the view. Each document contains response data from the JIRA REST API service endpoint.
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.
You must select the Snap Execution check box to see errors during validation.
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.
Required. The JIRA REST API version number.
Default value: 2
Select one of the three modes in which the Snap executes. Available options are:
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.
This option must be set to see errors during validation.
In this example, we are reading an issue from another issue tracking system and creating it in JIRA. The pipeline uses:
a REST Get Snap is used to read an issue from another system
a Mapper Snap to map corresponding fields
a JIRA Create Snap to send it to JIRA
optionally, a JSON Formatter and File Writer Snaps can be added to catch any errors from the JIRA Create Snap.
Configure a REST Get Snap to connect to the REST API of the other issue tracking system.
Configure the JIRA Create with an account to your JIRA instance. Optionally configure an error view and pipeline segment to capture any errors.
Within the Mapper Snap, both the input and target schema should now be viewable. Map the appropriate fields between the two systems.