locked
How to validate a work item depending on other work items RRS feed

  • Question

  • Hi, all.

    Is it posible to create a validation for a work ítem, depending on the value of another work ítem?

    For example, I would like to avoid a requirement is closed until all tasks linked to it are closed. Is this kind of validation supported by TFS?

    Any help will be appreciated.

    Best regards

    Wednesday, December 10, 2014 9:44 PM

Answers

  • TFS does not have that out of the box. You pretty much have to implement a TFS extension. Vincenç Garcia has a sample. If you have the funds, instead of developing it you might want to take a look at AIT's TFS ASAP. From their page it lists a feature that is similar to what you want:

    "State Aggregation: Automatically sets a parent work item to the next state in case all children reach a specific state. For instance if all child tasks are "Closed" the parent requirement will also be set to "Resolved" automatically."

    The difference is that this is a cascading rule. What you want is restriction rule, but it might be there in the newer version at their website. There are other similar tools like that around.

    Regards,


    Clementino de Mendonça ALM Ranger


    Wednesday, December 10, 2014 11:24 PM
    Moderator

All replies

  • TFS does not have that out of the box. You pretty much have to implement a TFS extension. Vincenç Garcia has a sample. If you have the funds, instead of developing it you might want to take a look at AIT's TFS ASAP. From their page it lists a feature that is similar to what you want:

    "State Aggregation: Automatically sets a parent work item to the next state in case all children reach a specific state. For instance if all child tasks are "Closed" the parent requirement will also be set to "Resolved" automatically."

    The difference is that this is a cascading rule. What you want is restriction rule, but it might be there in the newer version at their website. There are other similar tools like that around.

    Regards,


    Clementino de Mendonça ALM Ranger


    Wednesday, December 10, 2014 11:24 PM
    Moderator
  • Hi AjdPC,  

    Thanks for your post.

    As Clementino said, there’s no default work item rule support this validation. For this scenario, please submit it to User Voice site at: http://visualstudio.uservoice.com/forums/121579-visual-studio. Microsoft engineers will evaluate them seriously.  


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, December 11, 2014 2:49 AM
    Moderator