Ask a questionAsk a question
 

AnswerRemove 'resolve' from Check-in Action list

  • Wednesday, May 30, 2007 8:05 AMOwin Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi All,

     

    I'd like to remove the 'resolve' option in the list where you can choose the check-in action in the Check-in screen for the task workitem. Or, even better, change the order of the 2 available options.

    In this article http://www.woodwardweb.com/vsts/000230.html , there is a description of how to remove the resolve option for the Bug workitem. So, I have used the Process Template Editor v1.2 to download the xml for a Task workitem, but the <actions> section described in the article is not there for the Task woriktem (it is for the Bug workitem).

     

    Anyone know how to remove the resolve option or change the order the check-in actions for the Task workitem?

Answers

  • Friday, June 01, 2007 12:08 PMOwin Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

     Dmytro ,

     

    Thanx for the reply.

    You are absolutely right. I was using XML notepad v2.1. This version does not set a default node to start searching from and finds nothing. Either selecting a node or installing v2.4 does the trick.

     

    Thanx

All Replies

  • Friday, June 01, 2007 10:38 AMDmytro LapshynMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Owin,

     

    The check-in actions per se are not a part of a work item type definition, however, there's a way to disable the "Resolve" option with a little bit of trickery. Open the Task work item's XML and locate the following lines: 

    Code Snippet

     <ACTIONS>
       <ACTION value="Microsoft.VSTS.Actions.Checkin"/>
      </ACTIONS>

     

    Now, remove these lines altogether (be sure to back up the XML before making any changes to it!) and upload the WI type definition back to the server. This should effectively disable the "Resolve" option. Unfortunately, there is no way to swap "Associate" and "Resolve".

     

    P.S. I've checked this on my instance of TFS and Task.xml does have the quoted lines by default.

  • Friday, June 01, 2007 12:08 PMOwin Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

     Dmytro ,

     

    Thanx for the reply.

    You are absolutely right. I was using XML notepad v2.1. This version does not set a default node to start searching from and finds nothing. Either selecting a node or installing v2.4 does the trick.

     

    Thanx

  • Tuesday, September 29, 2009 7:25 PMblanza Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    unfortunately, that did not do the trick for me. what could i be missing?
    I uploaded the xml using the commandline witimport.exe and verified that it when in. But I still get that "Resolve" dropdown when i try to check something in