[#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

   

About these ads

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

  1. Pingback: [English] Visual Studio 2010 ALM | El Bruno

Deja un comentario

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Conectando a %s