{"class_fqid":"com-snaplogic-pipeline_8","snode_id":"598a027577a1f66cb94e333b","instance_id":"b89fc3d0-bb39-4712-860e-46733d84c009","instance_version":2,"link_map":{"link113":{"src_view_id":"output0","dst_view_id":"input0","src_id":"3dd04d88-e470-4f72-a607-455082db59a8","dst_id":"312247cd-1077-4a42-b7c6-9e97bebe47b1","isGoto":false},"link120":{"src_view_id":"output0","dst_view_id":"input0","src_id":"96c6b60f-4ce3-4bfb-9d72-567f1e64eb3f","dst_id":"d772300f-4e7a-4067-9f1b-34e69cea0859","isGoto":false},"link121":{"src_view_id":"output0","dst_view_id":"input0","src_id":"ded5c0b5-68e5-42b7-80c1-fd13993144a1","dst_id":"96c6b60f-4ce3-4bfb-9d72-567f1e64eb3f","isGoto":false},"link119":{"src_view_id":"output0","dst_view_id":"input103","src_id":"6d04f84d-872e-4da2-b7c8-a4f149552cdd","dst_id":"3dd04d88-e470-4f72-a607-455082db59a8","isGoto":false},"link101":{"src_view_id":"output0","dst_view_id":"input0","src_id":"90bae51d-c470-4a18-94f4-b6d2618cc4ed","dst_id":"6d04f84d-872e-4da2-b7c8-a4f149552cdd","isGoto":false},"link115":{"src_view_id":"output0","dst_view_id":"input101","src_id":"312247cd-1077-4a42-b7c6-9e97bebe47b1","dst_id":"ded5c0b5-68e5-42b7-80c1-fd13993144a1","isGoto":false}},"link_serial":122,"property_map":{"info":{"notes":{"value":null},"author":{"value":"dmiller@snaplogic.com"},"purpose":{"value":null},"pipeline_doc_uri":{"value":"https://snaplogic.axosoft.com/ViewItem.aspx?type=features&id=5774"},"label":{"value":"REST Snap Pack"}},"input":{},"settings":{"param_table":{"value":[]}},"error":{"error_behavior":{"value":"none"}},"output":{"d772300f-4e7a-4067-9f1b-34e69cea0859_output0":{"view_type":{"value":"document"},"label":{"value":"Mapper (Data) - output0"}}}},"render_map":{"pan_x_num":0,"default_snaplex":"52b330f2cc370d57633746cd","scale_ratio":1,"detail_map":{"96c6b60f-4ce3-4bfb-9d72-567f1e64eb3f":{"grid_x_int":6,"error":{},"grid_y_int":2,"rot_tail_int":0,"input":{},"output":{},"rot_int":0},"90bae51d-c470-4a18-94f4-b6d2618cc4ed":{"grid_x_int":1,"error":{},"grid_y_int":2,"rot_tail_int":0,"input":{},"output":{},"rot_int":0},"6d04f84d-872e-4da2-b7c8-a4f149552cdd":{"grid_x_int":2,"error":{},"grid_y_int":2,"rot_tail_int":0,"input":{},"output":{},"rot_int":0},"3dd04d88-e470-4f72-a607-455082db59a8":{"grid_x_int":3,"error":{},"grid_y_int":2,"rot_tail_int":0,"input":{},"output":{},"rot_int":0},"d772300f-4e7a-4067-9f1b-34e69cea0859":{"grid_x_int":7,"error":{},"grid_y_int":2,"rot_tail_int":0,"input":{},"output":{},"rot_int":0},"312247cd-1077-4a42-b7c6-9e97bebe47b1":{"grid_x_int":4,"error":{},"grid_y_int":2,"rot_tail_int":0,"input":{},"output":{},"rot_int":0},"ded5c0b5-68e5-42b7-80c1-fd13993144a1":{"grid_x_int":5,"error":{},"grid_y_int":2,"rot_tail_int":0,"input":{},"output":{},"rot_int":0}},"pan_y_num":0},"snap_map":{"96c6b60f-4ce3-4bfb-9d72-567f1e64eb3f":{"class_fqid":"com-snaplogic-snaps-rest-delete_1-SNAPSHOT","class_id":"com-snaplogic-snaps-rest-delete","class_version":1,"instance_fqid":"96c6b60f-4ce3-4bfb-9d72-567f1e64eb3f_1","instance_id":"96c6b60f-4ce3-4bfb-9d72-567f1e64eb3f","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"REST Delete"}},"view_serial":100,"account":{},"input":{"input0":{"label":{"value":"input0"},"view_type":{"value":"document"}}},"settings":{"trustAllCerts":{"value":false},"timeout":{"value":900},"batchSize":{"value":null},"executable_during_suggest":{"value":true},"entity":{"expression":false,"value":null},"header":{"value":[]},"rawData":{"value":false},"serviceUrl":{"expression":true,"value":"\"https://snaplogic.atlassian.net/rest/api/2/issue/\" + $entity.id"},"queryParams":{"value":[]}},"error":{"error0":{"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}}},"class_build_tag":"SNAPSHOT"},"90bae51d-c470-4a18-94f4-b6d2618cc4ed":{"class_fqid":"com-snaplogic-snaps-transform-jsongenerator_2-SNAPSHOT","class_id":"com-snaplogic-snaps-transform-jsongenerator","class_version":2,"instance_fqid":"90bae51d-c470-4a18-94f4-b6d2618cc4ed_1","instance_id":"90bae51d-c470-4a18-94f4-b6d2618cc4ed","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"JSON Generator"}},"view_serial":100,"settings":{"editable_content":{"value":"## Enter your JSON-encoded data in this space. Note that this text is\n## treated as an Apache Velocity template, so you can substitute values\n## from input documents or the pipeline parameters. See the following\n## URL for more information about Velocity:\n## https://velocity.apache.org/engine/devel/user-guide.html\n\n[\n {\n \"fields\": {\n \"project\": {\n \"key\": \"JIRASNAP\"\n },\n \"summary\": \"Test JIRA Snaps (create/update/delete a Jira issue)\",\n \"description\": \"Create, update and delete JIRA issues using the JIRA Create, Put and Delete Snaps\",\n \"issuetype\": {\n \"name\": \"New Feature\"\n }\n }\n }\n]\n\n\n## Tips:\n## * The sample data above will generate a single empty document, uncomment\n## the line in the middle to include the sample fields. Adding more\n## objects to the root array will cause the snap to generate more\n## than one document.\n## * Pipeline parameters can be referenced by prefixing the parameter\n## name with an underscore, like so:\n## ${_pipelineParamName}\n## * If you add an input view to the snap, this template will be\n## evaluated for each input document.\n## * Fields in the input documents can be referenced by prefixing them\n## with a dollar-sign ($), like so:\n## $parent.child[0].value\n## * Any referenced document values and pipeline parameters will\n## automatically be JSON-encoded when they are inserted into the final\n## JSON document. You should not have to worry about escaping values\n## yourself.\n## * If you are having troubles getting a template to produce valid JSON,\n## you can add an error view to the snap to get a document that\n## contains the output of the template evaluation."},"arrayElementsAsDocuments":{"value":true}},"output":{"output0":{"view_type":{"value":"document"},"label":{"value":"output0"}}},"error":{"error0":{"view_type":{"value":"document"},"label":{"value":"error0"}},"error_behavior":{"value":"fail"}}},"class_build_tag":"SNAPSHOT"},"6d04f84d-872e-4da2-b7c8-a4f149552cdd":{"class_fqid":"com-snaplogic-snaps-rest-post_1-SNAPSHOT","class_id":"com-snaplogic-snaps-rest-post","class_version":1,"instance_fqid":"6d04f84d-872e-4da2-b7c8-a4f149552cdd_1","instance_id":"6d04f84d-872e-4da2-b7c8-a4f149552cdd","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"REST Post"}},"view_serial":100,"account":{},"settings":{"trustAllCerts":{"value":false},"timeout":{"value":null},"batchSize":{"value":null},"executable_during_suggest":{"value":true},"entity":{"expression":true,"value":"$"},"header":{"value":[{"headerKey":{"expression":false,"value":"Content-Type"},"headerValue":{"expression":false,"value":"application/json"}}]},"rawData":{"value":false},"serviceUrl":{"expression":false,"value":"https://snaplogic.atlassian.net/rest/api/2/issue/"},"queryParams":{"value":[]}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}},"error":{"error0":{"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"fail"}},"input":{"input0":{"label":{"value":"input0"},"view_type":{"value":"document"}}}},"class_build_tag":"SNAPSHOT"},"3dd04d88-e470-4f72-a607-455082db59a8":{"class_fqid":"com-snaplogic-snaps-transform-jsongenerator_2-SNAPSHOT","class_id":"com-snaplogic-snaps-transform-jsongenerator","class_version":2,"instance_fqid":"3dd04d88-e470-4f72-a607-455082db59a8_1","instance_id":"3dd04d88-e470-4f72-a607-455082db59a8","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"JSON Generator1"}},"view_serial":103,"input":{"input103":{"label":{"value":"input0"},"view_type":{"value":"document"}}},"settings":{"editable_content":{"value":"## Enter your JSON-encoded data in this space. Note that this text is\n## treated as an Apache Velocity template, so you can substitute values\n## from input documents or the pipeline parameters. See the following\n## URL for more information about Velocity:\n## https://velocity.apache.org/engine/devel/user-guide.html\n\n[\n {\n \"id\": $response.entity.id,\n \"update\": {\n \"comment\": [\n {\n \"add\": {\n \"body\": \"Bug has been fixed.\"\n }\n }\n ]\n }\n }\n]\n\n\n## Tips:\n## * The sample data above will generate a single empty document, uncomment\n## the line in the middle to include the sample fields. Adding more\n## objects to the root array will cause the snap to generate more\n## than one document.\n## * Pipeline parameters can be referenced by prefixing the parameter\n## name with an underscore, like so:\n## ${_pipelineParamName}\n## * If you add an input view to the snap, this template will be\n## evaluated for each input document.\n## * Fields in the input documents can be referenced by prefixing them\n## with a dollar-sign ($), like so:\n## $parent.child[0].value\n## * Any referenced document values and pipeline parameters will\n## automatically be JSON-encoded when they are inserted into the final\n## JSON document. You should not have to worry about escaping values\n## yourself.\n## * If you are having troubles getting a template to produce valid JSON,\n## you can add an error view to the snap to get a document that\n## contains the output of the template evaluation."},"arrayElementsAsDocuments":{"value":true}},"error":{"error0":{"snap_schema_fqid":{"instance_id":"69ee2229-f4ef-4326-91ec-d16c04443256","output_view_id":"output0"},"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}}},"class_build_tag":"SNAPSHOT"},"d772300f-4e7a-4067-9f1b-34e69cea0859":{"class_fqid":"com-snaplogic-snaps-transform-datatransform_4-SNAPSHOT","class_id":"com-snaplogic-snaps-transform-datatransform","class_version":4,"instance_fqid":"d772300f-4e7a-4067-9f1b-34e69cea0859_1","instance_id":"d772300f-4e7a-4067-9f1b-34e69cea0859","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"Mapper (Data)"}},"view_serial":100,"input":{"input0":{"label":{"value":"input0"},"view_type":{"value":"document"}}},"settings":{"nullSafeAccess":{"value":false},"passThrough":{"value":false},"transformations":{"value":{"mappingTable":{"value":[{"targetPath":{"value":"$statusCode"},"expression":{"expression":true,"value":"$response.statusLine.statusCode"}}]},"mappingRoot":{"value":"$"}}}},"error":{"error0":{"snap_schema_fqid":{"instance_id":"0061dd8c-565d-4829-8254-ed6e74e2f2a7","output_view_id":"output0"},"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}}},"class_build_tag":"SNAPSHOT"},"312247cd-1077-4a42-b7c6-9e97bebe47b1":{"class_fqid":"com-snaplogic-snaps-rest-put_1-SNAPSHOT","class_id":"com-snaplogic-snaps-rest-put","class_version":1,"instance_fqid":"312247cd-1077-4a42-b7c6-9e97bebe47b1_1","instance_id":"312247cd-1077-4a42-b7c6-9e97bebe47b1","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"REST Put"}},"view_serial":100,"account":{},"input":{"input0":{"label":{"value":"input0"},"view_type":{"value":"document"}}},"settings":{"trustAllCerts":{"value":false},"timeout":{"value":900},"batchSize":{"value":null},"executable_during_suggest":{"value":true},"entity":{"expression":true,"value":"$"},"header":{"value":[{"headerKey":{"expression":false,"value":"Content-Type"},"headerValue":{"expression":false,"value":"application/json"}}]},"rawData":{"value":false},"serviceUrl":{"expression":true,"value":"\"https://snaplogic.atlassian.net/rest/api/2/issue/\" + $id"},"queryParams":{"value":[]}},"error":{"error0":{"label":{"value":"error0"},"view_type":{"value":"document"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"label":{"value":"output0"},"view_type":{"value":"document"}}}},"class_build_tag":"SNAPSHOT"},"ded5c0b5-68e5-42b7-80c1-fd13993144a1":{"class_fqid":"com-snaplogic-snaps-rest-get_2-SNAPSHOT","class_id":"com-snaplogic-snaps-rest-get","class_version":2,"instance_fqid":"ded5c0b5-68e5-42b7-80c1-fd13993144a1_1","instance_id":"ded5c0b5-68e5-42b7-80c1-fd13993144a1","instance_version":1,"property_map":{"info":{"notes":{"value":null},"label":{"value":"REST Get"}},"view_serial":101,"account":{},"input":{"input101":{"label":{"value":"input0"},"view_type":{"value":"document"}}},"settings":{"trustAllCerts":{"value":false},"timeout":{"value":900},"processArray":{"value":false},"header":{"value":[]},"rawData":{"value":false},"serviceUrl":{"expression":true,"value":"\"https://snaplogic.atlassian.net/rest/api/2/issue/\" + $original.id"},"queryParams":{"value":[]}},"error":{"error0":{"view_type":{"value":"document"},"label":{"value":"error0"}},"error_behavior":{"value":"fail"}},"output":{"output0":{"view_type":{"value":"document"},"label":{"value":"output0"}}}},"class_build_tag":"SNAPSHOT"}},"path_id":"/snaplogic/Doc Patterns/REST Examples","path_snode":"598a0201c27b73058e93f92b"}