Step 4: Execute the QuickClose
Operation on all the Story, Task, and Test Assets
Now that all our Stories are on the board, let's simulate an integration closing all of 'em at once.
Before
Continuing where we left off from the last step, your TeamRoom should still look like this:
Command
From your bash shell, run this:
curl -i -X POST \
-H "Content-Type:application/json" \
-H "Authorization:Basic YWRtaW46YWRtaW4=" \
-d \
'[
{
"from": "Workitem",
"filter": [
"AssetType=\''Task\'',\''Test\''"
],
"execute": "QuickClose"
},
{
"from": "Story",
"execute": "QuickClose"
}
]' \
'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: Workitem
filter:
- AssetType=\''Task\'',\''Test\''
execute: QuickClose
---
from: Story
execute: QuickClose' \
'http://localhost/VersionOne.Web/api/asset'
After
Now you should see all the Stories moved into the Closed panel. Also noticed nothing remains in the selected Testboard panel. You would see an empty Taskboard and Storyboard as well if you opened those now.