[#TFS2010] HowTo: Add a State in the definition of a WorkItem (III)

image47dd1de4

Series

  1. HowTo: Add a State in the definition of a WorkItem (I)
  2. HowTo: Add a State in the definition of a WorkItem (II)

Good,

in the previous post we saw how to add a new State to the definition of States of a WorkItem type Task to MSF for Agile5.0. In this post we will add a number of conditions to be fulfilled in the actions of state change.

A condition of business can be the following:

A Task may not pass state [Proposed] to [Active] if the hours estimated, completed, and remaining information defined in the same has not been completed.

To achieve this condition follow the following steps, from the definition of the Task that we completed in the previous post.

Tutorial

1 Edit the definition of a Task and access to the tab [Workflow]

2 Select the transition [Proposed > > Active], we deploy the contextual menu and select the option [Open Details]

3 Select [Fields] tab to add the fields on which we work.

4 Add a new field, select [Microsoft.VSTS.Scheduling.OriginalEstimate]

image

5. In the tab [Rules], add a new rule. In this case to define the field is required

image

6 We also add the fields [Microsoft.VSTS.Scheduling.RemainingWork], and [Microsoft.VSTS.Scheduling.CompletedWork] as required fields in the transition.

image

7. In the Workflow diagram we see as these fields are marked as fields of work in the transition [Proposed > > Active]

image

8 Save the definition of the Task on the server, chill Team Explorer and create a new task.

9 When we create the same we can see that initial state [Proposed] presents no restriction at the time to create it.

10. When the state change to [Active] see that fields of effort (hours) are marked as active, which marks the rule defined for the transition.

image

 

Greetings @ Here

The Bruno

   

One thought on “[#TFS2010] HowTo: Add a State in the definition of a WorkItem (III)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.