ON THIS PAGE
we will show you how to set up your project with a backlog and manage your work into a schedule.
- You have read the Agile Git Workflows Intro Page.
- You have already created a Microsoft Account (if not, Sign up).
- You have already created a Visual Studio Team Services account (if not, Create a Team Services Account).
- You have already completed the Getting Started walkthrough.
Create a Backlog
Throughout all of the pages in this walkthrough, we consistently use some sample code written in Java and AngularJS. The project is called DeepSpace. All of our instructions in the walkthough assume you are using this same sample code, but would also apply if you have your own code (with names changed appropriately).
Following the instructions below, you will set up your agile planning environment for the DeepSpace project. We will lead you through the steps to: 1) Create a team; 2) Define an iteration; 3) Create a backlog item; 4) Create a bug.
Create a Team
In this walkthrough you do not need to add team members. However, if you would like to, follow the steps laid out in How to Add Team Members.
Define an Iteration
To define an iteration for your team, choose the
Work menu option in the top left of the Team Services webpage. On the left side of the page you will see that Iteration 1, 2, and 3 have already been automatically
created for you. Iteration 1 is the current iteration. Click on Iteration 1 and you will see that it is empty. Edit Iteration 1 to be
tailored to this specific project. Click on the
Set dates link in the top right portion of the window. The Edit Iteration dialog will appear. Change the iteration's name to
"Sprint 1", the start date to today, the end date to tomorrow, and leave the location as is. Choose
Save and close and you will see your iteration's information change
to fit the development planning cycle for this walkthrough.
Create a Backlog Item
To create a new item in the backlog, select the
Work menu and then
Backlogs submenu option in the top left of the Team Services web page. The page will automatically have the
option selected to add a User Story item. For this exercise, we are going to create a new user story to add a start count slider to the project. In the Title input section, type
"As a user I would like to be able to control the star count" and then click
Add to add the item to the backlog. The item will show up in the the backlog list below. Double-click
on the item to open up the User Story. Once it's open, use the menu options on the right side of the dialog to make the following changes to the work item: 1) Change the
State to Active, 2) Assign 1 point to Story Points, 3) Change the Risk to Low, and 4) Assign Sprint 1 as the Iteration. Click
Save and close to update the work item.
If you click on Sprint 1 now, you will see the work item assigned to your sprint. To further break down the story into tasks, click on the plus sign in front
of the story and choose
Task from the dropdown (the plus sign won't appear until you hover over the user story). The New Task menu will appear. Set the following fields for the task: 1) Change the title to "Add Star Count Slider", 2)
Assign Original Estimate to 1 unit of work, 3) Set Remaining to 1 unit, and 4) Set Completed to 0 units. Click
Save and close. You now have a work item
assigned to your iteration with a task assigned to it.
Create a Bug
To create a bug, we will again create a User Story like we did for the backlog item. First, make sure Sprint 1 is still selected on the left-hand side of the page. Next, create
a user story to handle any missed requirements that might have occurred. To do that, select the
New option and in the Title input box type "Missed Requirements" and click
Add. Now double-click
on the item and make the following changes: 1) Assign the work item to you, 2) Change the State to Active, 3) Assign 1 point to Story Points, 4) Change the Risk to High, and 5)
Assign Sprint 1 as the Iteration. Click
Save and close once you're finished to update the story. Now click on the plus sign in front of the Missed Requirements story and select
Bug from the dropdown. In the New Bug dialog, set the following: 1) Change the title to "Add Missing Earth", 2) Set the Severity to 2, 3) Set the Activity to Requirements, 4) Assign
Original Estimate to 1 unit, 5) Set Remaining to 1 unit, and 6) Set Completed to 0 units. Click
Save and close. You now have a bug assigned to your current iteration.
Plan the Work - Learn how to start working on tasks and how to set up a Continuous Integration (CI) build for validating changes.
Q: What is an iteration?
A: It's a cycle of work that you plan for and is also known as a sprint.
Q: How can I add more iterations?
A: The following documenation for adding more iterations and/or sprints can be found here.