JIRA Update
On this Page
Snap type: | Write | |||||||
---|---|---|---|---|---|---|---|---|
Description: | This Snap provides the functionality to execute the HTTP Put method to a JIRA REST API service endpoint to update JIRA issues.
{ "id": "17000", "fields": { "comment": "this is an example of JIRA Update Snap to insert comment" }
{ "headers": { "strict-transport-security": "max-age=315360000;includeSubdomains", "x-content-type-options": "nosniff", "x-seraph-loginreason": "OK", "connection": "keep-alive", "set-cookie": "atlassian.xsrf.token=BWCK-SR48-JN93-ESFC|9516f97dabdfcb95ea739defda6ffec0caa1ece7|lin; Path=/; Secure", "content-type": "application/json;charset=UTF-8", "date": "Mon, 08 Dec 2014 17:20:18 GMT", "x-arequestid": "560x115x1", "x-asen": "SEN-2848532", "content-length": "0", "x-asessionid": "1es5ykj", "cache-control": "no-cache, no-store, no-transform", "x-ausername": "admin", "server": "nginx" }, "statusLine": { "reasonPhrase": "No Content", "statusCode": 204, "protoVersion": "HTTP/1.1" }, "entity": "No Content", "original": { "id": "17000" "fields": {}, "update": { "comment": [ { "add": { "body": "this is an example of JIRA Update Snap to insert comment" } } ] } } } | |||||||
Prerequisites: | [None] | |||||||
Support and limitations: | Works in Ultra Tasks. | |||||||
Account: | 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. | |||||||
Views: |
| |||||||
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 | The JIRA REST API version number. Example: 2 Default value: 2 | |||||||
Snap execution | Select one of the three modes in which the Snap executes. Available options are: Disabled: Disables the Snap and all Snaps that are downstream from it. |
Examples
For a simple update to a JIRA item, you can use a simple Mapper + JIRA Update pipeline.
Â
When the JIRAÂ Update Snap has a valid account, the target schema is displayed in the Mapper Snap.Â
Specify the ID of the JIRA issue by mapping a value to $id, then update the fields you need to. In the following screen, JIRA issue FULL-8 will update the Assignee in JIRA to the value of the pipeline parameter _assignee.
Â
Â
Use the JIRA Get fields API to determine what your custom fields are.
See Also
Snap Pack History
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.