title: JIRA API create issue and subtask in a single api call
body: <p>I am working on creating a script where I want to create a jira ticket along with several sub tasks. I am able to figure out creation of issue as well as sub tasks in different API calls with the following payload:</p>
  
  <pre><code>{
      "fields": {
         "project":
         { 
            "key": "TEST"
         },
         "summary": "TEST summary",
         "description": "TEST Description",
         "issuetype": {
            "name": "Bug"
         }
     }
  }
  </code></pre>
  
  <p>Create a sub-task and attach it to the issue from above API call:</p>
  
  <pre><code>{
      "fields":
      {
          "project":
          {
              "key": "TEST"
          },
          "parent":
          {
              "key": "TEST-1"
          },
          "summary": "Sub-task of TEST-1",
          "description": "TEST-1 desc",
          "issuetype":
          {
              "id": "5"
          }
      }
  }
  </code></pre>
  
  <p>However, I want to do both in a single API call. Is it something that can be done ?</p>