I'm scheduling creation of Issues with Sub-Tasks. I plan to do this via API, and have created the JSON file for creating a Story. No problem.
What I'm trying to do now is create a number of Sub-Tasks for that newly created issue. My understanding is that this can't all be done via a single action. If I want to bulk create 5 Sub-Tasks for the story, would I have to do a GET request to return the latest issue created in my project and then insert that via variable into the next POST for creating the Sub-Tasks? All the examples I've found for Sub-Task creation have hard-coded issuekeys in them.