Closed. This question needs to be more
[UPDATE]
You can do like as below to create the parent sprint and the child sprints:
Use the following command to login to your Azure DevOps Organization. When running this command, you need to provide a valid PAT as the authentication.
az devops login --org "https://dev.azure.com/{OrganizationName}"
Use the following command to create the parent sprint under the root path.
az boards iteration project create --name {ParentSprintName} --project {ProjectName} --start-date "{StartDate}" --finish-date "{FinishDate}"

Use the following command to create the child sprints under the parent sprint. Normally, the {RootName}
is same as the {ProjectName}
by default.
az boards iteration project create --name {ChildSprintName} --project {ProjectName} --path "\\{RootName}\\Iteration\\{ParentSprintName}" --start-date "{StartDate}" --finish-date "{FinishDate}"
