MSDN > 論壇首頁 > Team Foundation Server - Work Item Tracking > Trying to move work-items from one Team Project to another..
發問發問
 

已答覆Trying to move work-items from one Team Project to another..

  • Monday, 7 April, 2008 22:56Info_Peter 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

     

    I'm trying to move existing work-items from one team project to another.  I have run my query and have my list of work-items I want to move to another team-project, I export the list to Excel and see the field Team Project; this is what I want to change.  However in Excel it tells me that the field is 'Read-only' and I cannot change the value.  Is there another/better way to move existing work-items to another Team Project?

     

    I simply want to move existing work-items to another Team Project.

     

    Any ideas/suggestions/information would be very helpful.

     

    Thank you for your time,

    Peter

解答

所有回覆

  • Tuesday, 8 April, 2008 9:53Martin Woodward版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    In the current versions of TFS, work items are fixed to a particular team project.  This is because the work item templates are scoped to a team project so there is no way to guarentee that the particular work item type or workflow is valid in that other project.

    Therefore, what you do in this case is you copy the work item (right click on the work item form and select "Create Copy of Work Item".  You then can close the work item that the new one was copied from.

    Hope that helps,

    Martin.
  • Tuesday, 8 April, 2008 15:21Info_Peter 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

     

    Martin,

     

    Thank you for the information.  I understand what you're saying about templates being scoped for individual team projects and there is no way to know that workflow between two projects is the same - in my case I can say they are identical (the projects share the same custom template).  Is there a way for me to override the 'Read Only' attribute of the field when the list is exported to Excel?

     

    Does the TFS team have a plan/idea on how to resolve the manual labor of individually addressing each work-item to move from one team project to another?

     

    Thank you for your time and help.

     

    Peter

  • Tuesday, 8 April, 2008 15:33Martin Woodward版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Peter,

     

    Does this thread help?

     

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=169471&SiteID=1

     

    I'm not aware of any work being planned to make this any easier for you - but someone from Microsoft might be able to comment.

     

    M.

  • Tuesday, 8 April, 2008 17:04Info_Peter 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Martin,

     

    The post does address a similar issue - I understand that there is no utility to automate the move of work-items.  At this point I would just like to know if there is a way to override the 'Read Only' attribute of the field when an item is exported to Excel - ideally someone from Microsoft could explain that.

     

    Again, thank you for your time and help.

     

    Peter

     

  • Friday, 11 April, 2008 23:11Aliaksei BaturytskiMSFT, 版主使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    If you want to move entire work items, you should consider using TFS migration toolkit and TFS 2 TFS migration tool; both are available on CodePlex and can be downloaded with source codes from codeplex. The tool will copy your work items with historical revisions, attachments and, optionally, links.

     

    Thanks,

    Alex.