i am trying with few subsequent calls in order be EPICS - story - task - bug
/rest/api/2/search?jql=project=XXXX%20and%20issuetype=%22Epic%22&startAt=0&maxResults=400"
/rest/api/2/search?jql=project=XXXX%20and%20issuetype=%22story%22&startAt=0&maxResults=400"
/rest/api/2/search?jql=project=XXXX%20and%20issuetype=%22task%22&startAt=0&maxResults=400"
/rest/api/2/search?jql=project=XXXX%20and%20issuetype=%22bug%22&startAt=0&maxResults=400"
approach1:
here how can i ignore issuelink and create them after the bug calll
or
approach 2:
how can i create epics first without issuelinks and attach them later?
pr any alternative approach ?
pl advise