< Previous | Next >

Lesson 2.2: Develop a story

In this lesson, you complete the development work for the story. You review the requirement, and then implement, build, test, and deliver changes.

About this task

In this lesson, you learn how to complete these tasks:

  • Complete a task work item.
  • Implement a story and notify a tester that the story is ready for testing.
  • Deliver changes, so that they are shared with the team.

Updating a work item

About this task

View a list of new work:

Procedure

  1. Start the IBM® Rational® Team Concert® client. Use the Deb user workspace, which you created during setup.
  2. In the Work Items perspective, select My Work view.
    Note: The Inbox has several story and task work items assigned to Deb, including the recently created story and implementation task.
  3. Click and drag the Implement - Allocate Dividends To Multiple Causes task to the top of the Today list under Current Work.
  4. Open the Implement - Allocate Dividends To Multiple Causes task.
  5. From the Status list, select Start Working.
    Note: From the Links page, you can navigate to the parent story to learn more about the story requirements.
  6. Set Estimate to 24 hours.
  7. Set Priority to High.
  8. Click Save.

    Implementation work item

Creating unit tests and code

About this task

Write unit tests and code for the new requirement. For simplicity, the code and test implementation are done and are in a change set that the sample includes. Find the change set, review the changes at high level, and associate the change set with the implementation work item.

Associate the changes with the implementation work item:

Procedure

  1. In the Team Artifacts view, expand My Source Control.
  2. Right-click Deb BRM Stream Workspace; then click Load.
  3. Click Find and load Eclipse projects, and click Finish.
  4. Go to the Java perspective.
  5. Optional: Review the Java Project structure.
  6. From the menu, click Search > Jazz Source Control > Change sets.
  7. In the Creator field, select Current User.
  8. Click Search.
    Note: There are a number of change sets that implement the new requirement, including the unit test. They are identified by the comment Requirement: Allow to donate to multiple organizations.
  9. Select all change sets with the comment Requirement: Allow to donate to multiple organizations (Press Ctrl-Left and click each set.)
  10. In the highlighted Change sets area, right-click; then click Accept.
  11. If prompted, in the Confirm check in changes window, click Check in and Accept.
  12. From the Work Items perspective, open the Pending Changes view.
  13. Right-click the component with change sets; then click Expand Children to review the outgoing change sets.
  14. To associate the changes with the implementation task, select each change set, and right-click; then click Related Artifacts > Associate Work Item.
  15. In the Select Work Items window, select the implementation task, and click OK.
  16. Deb starts working on another task:
    1. From the My Work view, drag the Implement - Allocate Dividends with Web Service task to the top of the Today list in the Current Work section.
    2. Open the Implement - Allocate Dividends with Web Service task.
    3. Set the status to Start Working, and click Save.
  17. Optional: Deep dive (CM): Learn how to conduct a personal build with unit test to ensure Deb's changes don't break the team build.

Results

After implementing and testing Allocate Dividends with Web Service, Deb determines that the use of jetty for this solution will not support the performance requirements. She makes a comment in the Implement - Allocate Dividends with Web Service task, and subscribes @al and @marco. The story will be discussed at the next sprint meeting and as a result, the story is scoped out of this sprint.

Delivering changes

About this task

Deliver changes, so that they are shared with the team:

Procedure

  1. In the upper-right corner of the Pending Changes view, click the Deliver All Outgoing Baselines and Change sets icon.

    Associate work item

  2. In the Confirm Deliver All window, click OK.
  3. In the implementation task, from the Status list, select Complete and click Save. The status field is changed to Done.
    Note: The change set links are in the implementation task.
  4. Navigate to the parent story (Allocate Dividends To Multiple Causes) and change the story status to Set Implemented. Click Save.

Lesson checkpoint

In this lesson, you learned how to complete these tasks:
  • Complete a task work item.
  • Implement a story and notify a tester that the story is ready for testing.
  • Deliver changes, so that they are shared with the team.
< Previous | Next >

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki