Step 3: Modify all Stories in a Timebox to the Done status

Now, let's assume we want to move all those Stories into the Done column. Note that we could add as many filter or where clauses to our search pattern to make this more sophisticated, but let's just do the simplest example here.

Before

We see all the Stories on the left in our TeamRoom:

image

Command

From your bash shell, run this:

curl -i -X POST \
   -H "Content-Type:application/json" \
   -H "Authorization:Basic YWRtaW46YWRtaW4=" \
   -d \
'{
  "from": "Story",
  "where": {
    "Timebox": "Timebox:1007"
  },
  "set": {
    "Status": "StoryStatus:135"
  }
}' \
 '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
where:
 Timebox: Timebox:1007
set:
 Status: StoryStatus:135' \
 'http://localhost/VersionOne.Web/api/asset'

After

In our TeamRoom, we should now see this:

image

Note that on the Task and Test panels, you will still see the items on the left. You could have just as easily moved them with a similar command, however.

results matching ""

    No results matching ""