Can we use " for loop" in REST API program, to get Multiple Sub-tasks for an Issue ?
Below code i have used for this
REST API code:
for ( int i=1; i <=3; i++)
"description": "Subtask of TEST-10",
For executing I used curl command:
curl -D- -u admin:admin -X POST --data "@MutlipleSubtask.txt" -H "Content-Type: application/json" http://localhost:8081/rest/api/2/issue/
Could someone help me with it?
And also is there any other way to do it in RESTAPI?
Thanks in Advance
you may need to go with following rest api endpoint POST /rest/api/2/issue/bulk
When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events