createSprint(rapidViewId, sprintName, startDate, endDate)
Creates a new sprint for the provided rapid view.
The rapid view id.
|sprintName||string||Yes||The name of the sprint.|
|startDate||date||Yes||The start date of the sprint.|
|endDate||date||Yes||The end date of the sprint.|
Returns the id of the created sprint.
Result: A new sprint with the name "Sprint" is created on the rapid vie with the id 1.
When created with this syntax, the new sprint will be in the "feature" state which means that the sprint is not started yet.
Result: A new sprint with the name "Sprint" is created on the rapid view with id 1 and the starting date 06/Apr/19 10:00 AM and the ending date 20/Apr/19 08:00 AM.
By entering the starting date and the ending date the script will be automatically planned and its state will be "active".