Step 2: Move all Stories into a Timebox (Iteration)
Now, assuming we already have a Timebox created, let's move all those newly created Story Assets into it, using the batch
route on our new API.
Before
If we look at our Iteration Scheduling page, we see no items in our Iteration 1, and the Backlog containing all the Story Assets:
Command
From your bash shell, run this:
curl -i -X POST \
-H "Content-Type:application/json" \
-H "Authorization:Basic YWRtaW46YWRtaW4=" \
-d \
'{
"from": "Story",
"set": {
"Timebox": "Timebox:1007"
}
}' \
'http://localhost/VersionOne.Web/api/asset'
Or, if you prefer YAML, run this:
curl -i -X POST \
-H "Content-Type:text/yaml" \
-H "Authorization:Basic YWRtaW46YWRtaW4=" \
-d \
'from: Story
set:
Timebox: Timebox:1007' \
'http://localhost/VersionOne.Web/api/asset'
After
Now, from the Iteration Scheduling view, you should see this:
And, if we look at the TeamRoom, we should see the following: