{"info":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","description":"<html><head></head><body><p>The Postman Collections serve as a template which demonstrates a number of ways to post both issue types, links and field type values to Jira Cloud using Epics and Epic Links; \nIf you find any issues, want to request Readme updates etc please dont hesitate to check out the Github Repo:\n<a href=\"https://github.com/Airsickmammal/Jira-Server-Epic-Task-Repeatable-Template-Collections-for-Postman\">https://github.com/Airsickmammal/Jira-Server-Epic-Task-Repeatable-Template-Collections-for-Postman</a> </p>\n<p>You can also find me on Linkedin: <a href=\"https://www.linkedin.com/in/chris-pendlebury/\">https://www.linkedin.com/in/chris-pendlebury/</a>, Twitter, Twitch, Postman and Github under username \"Airsickmammal\". \nAlways happy to hear from and collaborate with the community.</p>\n<hr>\n<p>For Jira Cloud use REST API version 3 (already in the URLs within this collection). </p>\n<p>To use the API you will need to generate a token via Atlassian api-tokens site here: \n<a href=\"https://id.atlassian.com/manage-profile/security/api-tokens\">https://id.atlassian.com/manage-profile/security/api-tokens</a></p>\n<p>Use basic Authentication on the \"Authorization\" tab (above), input your basic username and then the token as your password. </p>\n<p>EPIC and Task Jira issue types must be enabled within your project to work with the vanilla postman collection.\nEpic Name, Epic Link are required fields within your project. Epic Name being specific to the EPIC issue type.</p>\n<p>2 ways to get the custom field number for Epic Name and Epic Link: </p>\n<ol>\n<li>Go to your global settings, Custom Fields, select Epic Name field, the url will contain \"customFieldid=#####\" you need to update in the json file. </li>\n<li>I found a brief explanation of this on the following Atlassian site: <a href=\"https://developer.atlassian.com/cloud/jira/software/rest/#introduction\">https://developer.atlassian.com/cloud/jira/software/rest/#introduction</a></li>\n<li>Use rest API to find the required field(s). You can find this under the \"queries\" folder or simply note down a Jira issue reference which contains the fields you need, and replace [Jira Host] and [ABC-1] with yours (minus the square brackets):\nhttps://[Jira Host]/rest/api/3/search?jql=key=[ABC-1]</li>\n</ol>\n<hr>\n<h2 id=\"please-note---in-the-api-post-calls-i-have-included-a-few-notes-prefixed-with----you-need-to-remove-these-when-you-try-to-send-the-post-or-it-will-fail-these-are-just-to-instruct-with-your-first-time-using-the-template\">PLEASE NOTE - in the API POST calls i have included a few notes, prefixed with \"--\", you need to remove these when you try to send the POST or it will fail, these are just to instruct with your first time using the template.</h2>\n<p>Fill in the following Variables (see above Variables Tab)</p>\n<ul>\n<li>EPIC REF - Reference for your Epic (e.g. ABC)</li>\n<li>EPIC NAME - Summary/Title for your Epic</li>\n<li>Reporter</li>\n<li>Assignee</li>\n<li>Project Key - Key of your project that normally forms the pre-fix (e.g Issues ABC-1, ABC-2, your Project Key is ABC)</li>\n<li>Jira Host - Your Jira Cloud URL e.g. ABC.atlassian.net</li>\n<li>Version - Use the version GET in Queries folder to obtain the version Name if you choose to use this</li>\n<li>Impact Name - Create an Array or List field to use this, exampls shows how to enter in a value, this could be a component, or a client's name, whatever your impact name list is defined with</li>\n<li>Due Date - Due date of the issue if you choose to use this, must be in Jira date format e.g. 2020-06-20T00:00:00.000+0100</li>\n</ul>\n<p>These fields auto populate</p>\n<ul>\n<li>EPIC KEY - Populates with the issue Key of the epic (e.g. ABC-1) using a \"test\" after the API call has run</li>\n<li>Task 2 Key, and Task 3 Key: Used in the Vanilla collection to populate with the \"2) Task With 2 Sub-Tasks\" and \"3) Task With Issue Link\" issue keys, for use with updating ticket links in API call steps 4) and 5)\nTo see the \"test\" which auto populates the values go to either API calls 1), 2) or 3) and select the \"Tests\" tab</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10332232","collectionId":"d59a4db5-c9ef-4079-944d-0895e98f8884","publishedId":"SzzobbJ8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-06-22T21:18:00.000Z"},"item":[{"name":"Queries","item":[{"name":"Get Issue Link Types","id":"73eae68c-c4af-4a23-afff-6cbbf2a18178","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://Your Jira Server URL/rest/api/2/issueLinkType","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","issueLinkType"],"host":["Your Jira Server URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"73eae68c-c4af-4a23-afff-6cbbf2a18178"},{"name":"Get Issue Fields","id":"974a5794-7351-4160-8f89-350b83738f32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://Your Jira Server URL/rest/api/2/search?jql=key=ABC-123","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","search"],"host":["Your Jira Server URL"],"query":[{"key":"jql","value":"key=ABC-123"}],"variable":[]}},"response":[],"_postman_id":"974a5794-7351-4160-8f89-350b83738f32"}],"id":"a84aa0bb-0a44-4932-8b65-8d3bb9f31a46","_postman_id":"a84aa0bb-0a44-4932-8b65-8d3bb9f31a46","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}}},{"name":"Versions","item":[{"name":"Create version","id":"23a83026-d8a3-4aa4-954f-18ce272e5ab9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"description\":\"Project Version (must exist)\",\"name\":\"Project Version (must exist)\",\"archived\":false,\"released\":true,\"releaseDate\":\"YYYY-MM-DD\",\"project\":\"Target Project Key\"}"},"url":"https://Your Jira Server URL/rest/api/2/version","description":"<p>Creates a project version.</p>\n<p>Permissions required: Administer Jira global permission or Administer Projects project permission </p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","version"],"host":["Your Jira Server URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"23a83026-d8a3-4aa4-954f-18ce272e5ab9"},{"name":"Get Project Versions","id":"04c66dcf-a01d-44da-9d99-a6bab4bbf6de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"url":"https://Your Jira Server URL/rest/api/2/project/Target Project Key/version","description":"<p>Returns a project version.</p>\n<p>Permissions required: Browse projects permission</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","project","Target Project Key","version"],"host":["Your Jira Server URL"],"query":[{"disabled":true,"description":{"content":"<p>Use expand to include additional information about version in the response. This parameter accepts multiple values separated by a comma:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>           operations Returns the list of operations available for this version.\n           remotelinks Returns the list of remote links stored against this version.\n           issuesstatus Returns the count of issues in this version for each of the status categories to do,\n           in progress, done, and unmapped. The unmapped\n           property represents the number of issues with a status other than to do, in progress, and done.\n           \n</code></pre>","type":"text/plain"},"key":"expand","value":"{{expand}}"}],"variable":[]}},"response":[],"_postman_id":"04c66dcf-a01d-44da-9d99-a6bab4bbf6de"},{"name":"Update version","id":"3e93f0a6-af45-49cf-ad6c-e3f1fab8aa1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"value":"application/json","key":"Accept"},{"value":"application/json","key":"Content-Type"}],"body":{"mode":"raw","raw":"{\n\t\"self\":\"https://Your Jira Server URL/rest/api/2/version/:id\",\n\t\"id\":\":id\",\n\t\"description\":\"Project Version (must exist)\",\n\t\"name\":\"Project Version (must exist)\",\n\t\"archived\":false,\n\t\"released\":true,\n\t\"releaseDate\":\"YYYY-MM-DD\",\n\t\"overdue\":false\n}"},"url":"https://Your Jira Server URL/rest/api/2/version/:id","description":"<p>Modifies a project version.</p>\n<p>Permissions required: Administer Jira global permission or Administer Projects permission </p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","version",":id"],"host":["Your Jira Server URL"],"query":[],"variable":[{"id":"01380b5b-44d8-4914-8755-5a7ff476fa09","description":{"content":"<p>VERSION ID - USE GET PROJECT VERSIONS FIRST</p>\n","type":"text/plain"},"type":"string","value":"12345","key":"id"}]}},"response":[],"_postman_id":"3e93f0a6-af45-49cf-ad6c-e3f1fab8aa1a"}],"id":"2f16563b-b7c4-4b0e-bd24-f99b1128d2f3","_postman_id":"2f16563b-b7c4-4b0e-bd24-f99b1128d2f3","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}}},{"name":"1) EPIC Post","event":[{"listen":"test","script":{"id":"4b4bafd2-935f-4ed3-8e67-2b734f310cf4","exec":["var jsonData = JSON.parse(responseBody);","var resultKey = jsonData.issues[0].key ","pm.collectionVariables.set(\"EPIC KEY\",jsonData.issues[0].key)"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"df90a5da-4c25-4831-8883-5ab7304b0565","exec":[""],"type":"text/javascript"}}],"id":"be54271d-92fb-4243-99a0-03599f126099","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"issueUpdates\": \r\n    [\r\n        {\r\n      \"fields\":\r\n      {\r\n        \"project\": \r\n          {\r\n          \"key\": \"Target Project Key\"\r\n          },\r\n        \"customfield_#####\": \"Your Epic's Ref for Summary - For Epic Summary Field\", --EPICLINK (Remove this comment before running)\r\n        \"summary\": \"Your Epic's Ref for Summary - For Epic Summary Field\",\r\n        \"issuetype\": \r\n        {\r\n          \"name\": \"Epic\"\r\n        },\r\n        \"priority\": \r\n        {\r\n          \"name\": \"3\",\r\n          \"id\": \"8\" \t\t\t\t\t\t\t\t--IF ID NEEDED (Remove this comment before running)\r\n        },\r\n        \"reporter\": \r\n        {\r\n          \"name\": \"REPORTER\"\r\n        },\r\n        \"versions\":\r\n        [\r\n        {\r\n        \t\"name\":\"Project Version (must exist)\"\r\n        }\r\n        ],\r\n        \"description\": \"For Epic Summary Field\\r\\n\\r\\nThis is a top level EPIC issue.\\r\\n\\r\\nThis relates to ArrayValueClientOrComponent\",\r\n        \"assignee\":{\"name\":\"ASSIGNEE\"},\r\n        \"customfield_#####\":\t\t\t\t\t\t\t--Client or Impact Area (Remove this comment before running)\r\n        [\r\n          {\r\n            \"value\": \"ArrayValueClientOrComponent\"\r\n          }\r\n        ]\r\n       }\r\n    }\r\n    ],\r\n    \r\n  \"links\": []\r\n}"},"url":"https://Your Jira Server URL/rest/api/2/issue/bulk","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","issue","bulk"],"host":["Your Jira Server URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"be54271d-92fb-4243-99a0-03599f126099"},{"name":"2) Task With 2 Sub-Tasks","event":[{"listen":"test","script":{"id":"859a8db0-3db5-4876-a4e7-14739f8f403e","exec":["var jsonData = JSON.parse(responseBody);","var resultKey = jsonData.issues[0].key ","pm.collectionVariables.set(\"Task 2 Key\",jsonData.issues[0].key)"],"type":"text/javascript"}}],"id":"f1cee843-b600-4e08-ac61-0c335904f431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"issueUpdates\": \r\n    [\r\n        \r\n    {\r\n      \"fields\": \r\n      {\r\n          \"project\": \r\n          {\r\n          \"key\": \"Target Project Key\"\r\n          },\r\n          \"customfield_10711\": \"Auto Populates\",\r\n          \"summary\": \"Your Epic's Ref for Summary - Project Version (must exist) - Static Summary Text\",\r\n          \"issuetype\":\r\n          {\r\n              \"name\": \"Task\"\r\n          },\r\n          \"priority\": \r\n          {\r\n              \"name\": \"3\"\r\n          },\r\n          \"reporter\": \r\n          {\r\n              \"name\": \"REPORTER\"\r\n          },\r\n          \"versions\":\r\n          [\r\n          {\r\n        \t\"name\":\"Project Version (must exist)\"\r\n          }\r\n          ],\r\n          \"description\": \"This task has 2 sub-tasks. Below example bullet list:\\r\\n * Point 1\\r\\n * Point 2\\r\\n * Here is a URL - [Click Here|https://www.InsertWebAddress.com]\\r\\n * *{color:#FF0000}Here is some Bold and Red formatted text.{color}*\",\r\n          \"assignee\":{\"name\":\"ASSIGNEE\"},\r\n          \"labels\": \r\n          [\r\n              \"LabelForTicket\",\r\n              \"LabelForTicket2\"\r\n          ],\r\n          \"customfield_#####\": \t\t\t\t\t\t\t--Client or Impact Area (Remove this comment before running)\r\n          [\r\n              {\r\n                  \"value\": \"ArrayValueClientOrComponent\"\r\n              }\r\n          ],\r\n          \"duedate\": \"Jira Date Format\"\r\n        },\r\n            \"subTasks\": [],\r\n  \"links\": []\r\n}\r\n]\r\n}"},"url":"https://Your Jira Server URL/rest/api/2/issue/bulk","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","issue","bulk"],"host":["Your Jira Server URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1cee843-b600-4e08-ac61-0c335904f431"},{"name":"2.1) Sub-Task 1","event":[{"listen":"test","script":{"id":"f40dfd5f-217b-48a7-91a7-e2cf5a1db6b5","exec":[""],"type":"text/javascript"}}],"id":"7dd5e681-6183-42dc-a825-5c0be0a7f5bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"issueUpdates\": \r\n    [\r\n        \r\n    {\r\n      \"fields\": \r\n      {\r\n          \"project\": \r\n          {\r\n          \"key\": \"Target Project Key\"\r\n          },  \r\n          \"parent\":\r\n        {\r\n            \"key\": \"Auto Populates\"\r\n        },\r\n          \"summary\": \"{{EPIC ABC}} - Project Version (must exist) - Static Summary Text\",\r\n          \"issuetype\":\r\n          {\r\n              \"name\": \"Sub-task\"\r\n          },\r\n          \"priority\": \r\n          {\r\n              \"name\": \"3\"\r\n          },\r\n          \"reporter\": \r\n          {\r\n              \"name\": \"REPORTER\"\r\n          },\r\n           \"versions\":\r\n          [\r\n          {\r\n        \t\"name\":\"Project Version (must exist)\"\r\n          }\r\n          ],\r\n          \"description\": \"* This is Sub-Task 1 of 2\",\r\n          \"assignee\":{\"name\":\"ASSIGNEE\"},\r\n          \"labels\": \r\n          [\r\n              \"Sub-Task-1\"\r\n          ],\r\n          \"customfield_#####\": \t\t\t\t\t\t\t--Client or Impact Area (Remove this comment before running)\r\n          [\r\n              {\r\n                  \"value\": \"ArrayValueClientOrComponent\"\r\n              }\r\n          ],\r\n          \"duedate\": \"Jira Date Format\"\r\n        },\r\n  \"subTasks\": [],\r\n  \"links\": []\r\n}\r\n]\r\n}"},"url":"https://Your Jira Server URL/rest/api/2/issue/bulk","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","issue","bulk"],"host":["Your Jira Server URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"7dd5e681-6183-42dc-a825-5c0be0a7f5bc"},{"name":"2.2) Sub-Task 2","event":[{"listen":"test","script":{"id":"9ddc83a3-471a-4c6f-8f01-5bf9c2e58cad","exec":[""],"type":"text/javascript"}}],"id":"5b125de7-95cb-4f10-a7f3-2065c7b02cbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"issueUpdates\": \r\n    [\r\n        \r\n    {\r\n      \"fields\": \r\n      {\r\n          \"project\": \r\n          {\r\n          \"key\": \"Target Project Key\"\r\n          },  \r\n          \"parent\":\r\n        {\r\n            \"key\": \"Auto Populates\"\r\n        },\r\n          \"summary\": \"{{EPIC ABC}} - Project Version (must exist) - Static Summary Text\",\r\n          \"issuetype\":\r\n          {\r\n              \"name\": \"Sub-task\"\r\n          },\r\n          \"priority\": \r\n          {\r\n              \"name\": \"3\"\r\n          },\r\n          \"reporter\": \r\n          {\r\n              \"name\": \"REPORTER\"\r\n          },\r\n           \"versions\":\r\n          [\r\n          {\r\n        \t\"name\":\"Project Version (must exist)\"\r\n          }\r\n          ],\r\n          \"description\": \"This is Sub-Task 2 of 2.\\r\\nh1. list\\r\\n # Item 1\\r\\n # Item 2\\r\\n # Item 3\\r\\n\\r\\nh2. List 2 \\r\\n\\r\\nItem 4\\r\\nh2. List 3\\r\\n * Item 5\\r\\n * Item 6\\r\\n * Item 7\\r\\n * Item 8\\r\\n\\r\\nh2. New Section:\\r\\n\\r\\nSee ([*Bold Webpage Link*|https://www.yourlink.com])\\r\\n\\r\\nMore Format Examples \\r\\n|h3. EG1|h3. Name|h3. EG2|h3. Name|h3. EG3|h3. Name|h3. EG4|h3. Name|h3. EG5)|\\r\\n|{color:#505f79}Red Text{color}|{color:#505f79}Red text{color}|{color:#505f79}Red Text{color}|{color:#505f79}Red Text{color}|{color:#505f79}Red Text{color}|{color:#505f79}Red Text{color}|{color:#505f79}Red Text{color}|{color:#505f79} Red Text{color}|{color:#505f79}Red Text{color}|\\r\\n\\r\\n\",\r\n          \"assignee\":{\"name\":\"ASSIGNEE\"},\r\n          \"labels\": \r\n          [\r\n              \"Sub-Task-2\"\r\n          ],\r\n          \"customfield_#####\": \t\t\t\t\t\t\t--Client or Impact Area (Remove this comment before running)\r\n          [\r\n              {\r\n                  \"value\": \"ArrayValueClientOrComponent\"\r\n              }\r\n          ]\r\n        },\r\n  \"subTasks\": [],\r\n  \"links\": []\r\n}\r\n]\r\n}"},"url":"https://Your Jira Server URL/rest/api/2/issue/bulk","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","issue","bulk"],"host":["Your Jira Server URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b125de7-95cb-4f10-a7f3-2065c7b02cbc"},{"name":"3) Task With Issue Link","event":[{"listen":"test","script":{"id":"92f1c793-6534-4cc9-861a-bfd2c6104637","exec":["var jsonData = JSON.parse(responseBody);","var resultKey = jsonData.issues[0].key ","pm.collectionVariables.set(\"Task 3 Key\",jsonData.issues[0].key)"],"type":"text/javascript"}}],"id":"fde62824-f01c-42b8-8ed6-1681548fa7b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"issueUpdates\": \r\n    [\r\n        \r\n    {\r\n      \"fields\": \r\n      {\r\n          \"project\": \r\n          {\r\n          \"key\": \"Target Project Key\"\r\n          },\r\n          \"customfield_10711\": \"Auto Populates\",\r\n          \"summary\": \"{{EPIC ABC}} - Project Version (must exist) - Static Summary Text\",\r\n          \"issuetype\":\r\n          {\r\n              \"name\": \"Task\"\r\n          },\r\n          \"priority\": \r\n          {\r\n              \"name\": \"3\"\r\n          },\r\n          \"reporter\": \r\n          {\r\n              \"name\": \"REPORTER\"\r\n          },\r\n          \"versions\":\r\n          [\r\n          {\r\n        \t\"name\":\"Project Version (must exist)\"\r\n          }\r\n          ],\r\n          \"description\": \"Sample Description Text\\r\\n\\r\\nSample Description Text\\r\\n\\r\\nLink to GIT Repository(CLICK HERE|https://confluence.kalibrate.com/display/AD2/Continuous+Delivery+-+Phase+1)\",\r\n          \"assignee\":{\"name\":\"ASSIGNEE\"},\r\n          \"labels\": \r\n          [\r\n              \"Label-For-Issue-With-Link-Ticket\"\r\n          ],\r\n          \"customfield_#####\": \t\t\t\t\t\t\t--Client or Impact Area (Remove this comment before running)\r\n          [\r\n              {\r\n                  \"value\": \"ArrayValueClientOrComponent\"\r\n              }\r\n          ]\r\n      \t },\r\n      \t  \"update\":{\r\n        \"issuelinks\":[\r\n         {\r\n            \"add\":{\r\n               \"type\":{\r\n                  \"name\":\"Gantt End to Start\",\r\n                  \"inward\":\"has to be done after\",\r\n                  \"outward\":\"has to be done before\"\r\n               },\r\n               \"inwardIssue\":{\r\n                  \"key\":\"Auto Populates\"\r\n                              }\r\n                   }\r\n         }\r\n               ]\r\n          },\r\n            \"subTasks\": []\r\n    }\r\n  ],\r\n  \"links\": []\r\n}"},"url":"https://Your Jira Server URL/rest/api/2/issue/bulk","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","issue","bulk"],"host":["Your Jira Server URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"fde62824-f01c-42b8-8ed6-1681548fa7b1"},{"name":"4) Update Task Link Only - Do Before","event":[{"listen":"test","script":{"id":"7b35cf11-ccab-4a08-8dfd-cf0bce493e1f","exec":[""],"type":"text/javascript"}}],"id":"268350d0-eb5a-4e83-a7b6-dcb8e2f1b952","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"type\": {\r\n        \"name\": \"Gantt End to Start\",\r\n\t    \"inward\": \"has to be done after\",\r\n\t    \"outward\": \"has to be done before\"\r\n    },\r\n    \"inwardIssue\": {\r\n        \"key\": \"Auto Populates\"\r\n    },\r\n    \"outwardIssue\": {\r\n        \"key\": \"Auto Populates\"\r\n    }\r\n}"},"url":"https://Your Jira Server URL/rest/api/2/issueLink","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","path":["rest","api","2","issueLink"],"host":["Your Jira Server URL"],"query":[],"variable":[]}},"response":[],"_postman_id":"268350d0-eb5a-4e83-a7b6-dcb8e2f1b952"},{"name":"5) Update Task Link Only - Relates","event":[{"listen":"test","script":{"id":"a1e13fc5-7b39-450c-b741-4acb2e21687c","exec":[""],"type":"text/javascript"}}],"id":"9dd98bfe-720a-4903-9420-e98d27c438b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"type\": {\r\n        \"name\": \"Relates\"\r\n    },\r\n    \"inwardIssue\": {\r\n        \"key\": \"Auto Populates\"\r\n    },\r\n    \"outwardIssue\": {\r\n        \"key\": \"Auto Populates\"\r\n    }\r\n}"},"url":"https://jira.kalibrate.com:443/rest/api/2/issueLink","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":true,"source":{"_postman_id":"d59a4db5-c9ef-4079-944d-0895e98f8884","id":"d59a4db5-c9ef-4079-944d-0895e98f8884","name":"Jira Cloud Epic/Task Template Collection","type":"collection"}},"urlObject":{"protocol":"https","port":"443","path":["rest","api","2","issueLink"],"host":["jira","kalibrate","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9dd98bfe-720a-4903-9420-e98d27c438b5"}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]}},"event":[{"listen":"prerequest","script":{"id":"b1557592-dd14-48eb-a294-d211d50469ca","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3c6beb1c-c1a7-4f1b-9c29-2a88ee8bff64","type":"text/javascript","exec":[""]}}],"variable":[{"key":"EPIC REF","value":"Your Epic's Ref for Summary"},{"key":"EPIC NAME","value":"For Epic Summary Field"},{"key":"Reporter","value":"REPORTER"},{"key":"Assignee","value":"ASSIGNEE"},{"key":"Project Key","value":"Target Project Key"},{"key":"EPIC KEY","value":"Auto Populates"},{"key":"JiraHost","value":"Your Jira Server URL"},{"key":"Version","value":"Project Version (must exist)"},{"key":"Impact Name","value":"ArrayValueClientOrComponent"},{"key":"Due Date","value":"Jira Date Format"},{"key":"Task 2 Key","value":"Auto Populates"},{"key":"Task 3 Key","value":"Auto Populates"}]}