Is it possible to copy all custom change request fields from one StarTeam Server to another?

0 Likes

Problem:

Is it possible to copy all custom change request fields from one StarTeam Server to another?

Resolution:


  • Product Name: StarTeam
  • Product Version: 2006-2008
  • Product Component: CPC
  • Platform/OS Version: All

Before running the attached file you need to open it in a text editor and ensure it is pointing to your current StarTeam Server configuration. The JavaScript file will do the following:

  1. Connect to your current StarTeam Server
  2. Read all change request fields and their enumerated values
  3. Create a new "CRCustom.js" file in the same location as this file

Once the new "CRCustom.js" file is created you need to edit that in a text editor and point it to your new StarTeam Server configuration. The lines that need edited in the file are shown below:

var strAddress = "localhost";
var nPort = 49201;
var strUser = "Administrator";
var strPassword = "Administrator";

After you execute the "CRCustom.js" it will create a copy of all the custom fields from your old server in your new server.

Please ensure this is tested on a non-production environment to ensure all fields created on the new server are exactly those you expected to see.


CreateCRCustom.js
Old KB# 30025
Comment List
Related
Recommended