OnRoad Test Management

Welcome to OnRoad Test Management Sign in | Join | Help
in Search

Upgrade from v2.1 to v2.2

Last post 03-25-2010 12:00 by fmkg. 31 replies.
Page 2 of 3 (32 items) < Previous 1 2 3 Next >
Sort Posts: Previous Next
  • 03-11-2010 18:58 In reply to

    • fmkg
    • Top 10 Contributor
    • Joined on 10-15-2009
    • Points 1,155

    Re: Upgrade from v2.1 to v2.2

    Thanks - that works great!

    Now one more question please.

    Currently we use your BackupUtility.exe v2.0.3530.26622

    Do we have to upgrade the BackupUtility.exe as well?

    Are there any other things that need upgrading?

    Once again thanks for your support.

    • Post Points: 20
  • 03-11-2010 19:13 In reply to

    • ilpo
    • Top 10 Contributor
      Male
    • Joined on 06-16-2006
    • Espoo, Finland
    • Points 51,934
    • Juvander Consulting

    Re: Upgrade from v2.1 to v2.2

    Yes - all those utilities are on the same version as the sync services.

    //Ilpo

    • Post Points: 20
  • 03-12-2010 14:22 In reply to

    • fmkg
    • Top 10 Contributor
    • Joined on 10-15-2009
    • Points 1,155

    Re: Upgrade from v2.1 to v2.2

    When I run the BackupUtility.exe v2.2 i get the following output:

    C:\Program Files\Juvander Consulting Oy\TFS Bug Item Synchronizer for Quality Ce
    nter\Backup>BackupUtility.exe 4040 "C:\Program Files\Juvander Consulting Oy\TFS
    Bug Item Synchronizer for Quality Center\Backup\Files\erroryapfile.yap"
    Copying 430872 items
    Contains also DataLibrary.DefectMessageClass+MessageDirection
    Contains also DataLibrary.ProjectMapType
    Contains also DataLibrary.DefectClass+SourceSystemEnum
    Contains also DataLibrary.WorkItemClass+SourceSystemEnum
    Contains also DataLibrary.LicenseInfoClass
    Contains also DataLibrary.QCProjectDefinitionClass
    Done 7398 items

    Does that look OK?

    Thank you!

    • Post Points: 20
  • 03-12-2010 14:29 In reply to

    • ilpo
    • Top 10 Contributor
      Male
    • Joined on 06-16-2006
    • Espoo, Finland
    • Points 51,934
    • Juvander Consulting

    Re: Upgrade from v2.1 to v2.2

    Yes, this is ok.

    //Ilpo

    • Post Points: 20
  • 03-12-2010 16:09 In reply to

    • fmkg
    • Top 10 Contributor
    • Joined on 10-15-2009
    • Points 1,155

    Re: Upgrade from v2.1 to v2.2

    Now we have the following synchronization scenario which works fine (using the DestinationWorkItemTypeValueMap):

    1. QC-Item: Defect ("Type = Defect") <-> TFS-Item: Bug
    2. QC-Item: Defect ("Type = Change Request") <-> TFS-Item: Change Request

    Question:
    Is the following scenario somehow possible (one way only sync of Change Requests) :
    1. QC-Item: Defect ("Type = Defect") <-> TFS-Item: Bug
    2. QC-Item: Defect ("Type = Change Request")  -> TFS-Item: Change Request

    Thank you!

    • Post Points: 20
  • 03-12-2010 16:23 In reply to

    • ilpo
    • Top 10 Contributor
      Male
    • Joined on 06-16-2006
    • Espoo, Finland
    • Points 51,934
    • Juvander Consulting

    Re: Upgrade from v2.1 to v2.2

    For now only way would be to define ErrorDB field in your TFS project and no Destination Project. Then in case Change Request clear this field.

    Will make a note on this for the future.

    //Ilpo

    • Post Points: 20
  • 03-12-2010 17:03 In reply to

    • fmkg
    • Top 10 Contributor
    • Joined on 10-15-2009
    • Points 1,155

    Re: Upgrade from v2.1 to v2.2

    1. "In case Change Request clear this field "  - Do you mean this choice field: TFS Projects -> TFS Project WorkItem Types (selecting only "Bug" instead of "Bug", "Change Request")?

    2. What do you mean "define ErrorDB field" ? I can see the ErrorDB field under TFS Projects - but what should be defined there (currently the value of this field is "(Not defined)"?

    Thank you!

    • Post Points: 20
  • 03-12-2010 17:06 In reply to

    • ilpo
    • Top 10 Contributor
      Male
    • Joined on 06-16-2006
    • Espoo, Finland
    • Points 51,934
    • Juvander Consulting

    Re: Upgrade from v2.1 to v2.2

    What I meant was that if you have ErrorDB field defined in your TFS project sync settings and no Destination Project, only those new workitems will be sent to QC which have value in ErrorDB field.

    This field should have value in format of QCDOMAIN.QCPROJECT, exactly like you configured your QC projects. It is case sensitive.

    //Ilpo

    • Post Points: 20
  • 03-17-2010 10:37 In reply to

    • fmkg
    • Top 10 Contributor
    • Joined on 10-15-2009
    • Points 1,155

    Re: Upgrade from v2.1 to v2.2

    We currently have the following synchronization scenario, which works fine:

    1. QC-Item: Defect ("Type = Defect") <-> TFS-Item: Bug
    2. QC-Item: Defect ("Type = Change Request")  -> TFS-Item: Change Request

    In the QC Projects settings -> "Filter Field Value" we have the following entry: "Open or Closed or Assigned or Clarification".

    Now the question:

    Is it somehow possible to define different values for "Filter Field Value" for the two QC Items?

    E.g.:

    1. Synchronize QC-Item: Defect ("Type = Defect") when Status = "Open or Closed or Assigned or Clarification"

    2. Synchronize QC-Item: Defect ("Type = Change Request") when Status = "Open"

    Thank you!

     

    • Post Points: 20
  • 03-17-2010 11:13 In reply to

    • ilpo
    • Top 10 Contributor
      Male
    • Joined on 06-16-2006
    • Espoo, Finland
    • Points 51,934
    • Juvander Consulting

    Re: Upgrade from v2.1 to v2.2

    From QC project settings in sync admin not.

    But if you build an workflow to change ErrorDBSyncStatus according to these rules then it is possible to it in there.

    //Ilpo

    • Post Points: 20
  • 03-24-2010 10:39 In reply to

    • fmkg
    • Top 10 Contributor
    • Joined on 10-15-2009
    • Points 1,155

    Re: Upgrade from v2.1 to v2.2

    When upgragding from v2.1 to v2.2 - can I skip the "Install Services" section?

    Because I already have the Services installed

    Thank you.

    • Post Points: 20
  • 03-24-2010 10:52 In reply to

    • ilpo
    • Top 10 Contributor
      Male
    • Joined on 06-16-2006
    • Espoo, Finland
    • Points 51,934
    • Juvander Consulting

    Re: Upgrade from v2.1 to v2.2

    Actually, these services will be uninstalled when you uninstall previous version. So first uninstall main setup and then components setup and then install again.

    This install services -option is there since on some systems it fails to install services during installation and they are then manually installed afterwards using the provided .cmd file.

    //Ilpo

    • Post Points: 20
  • 03-24-2010 10:57 In reply to

    • fmkg
    • Top 10 Contributor
    • Joined on 10-15-2009
    • Points 1,155

    Re: Upgrade from v2.1 to v2.2

    On the machines here the uninstall does not work. There is no entry "TFS Bug Item Synchronizer" in the Add/Remove Programs section.

    And because I cannot uninstall I get errors when installing the Services because the old Services are still there.

    So - in my special case - can I skip the "Install services" section?

    Thank you!

    • Post Points: 20
  • 03-24-2010 10:59 In reply to

    • ilpo
    • Top 10 Contributor
      Male
    • Joined on 06-16-2006
    • Espoo, Finland
    • Points 51,934
    • Juvander Consulting

    Re: Upgrade from v2.1 to v2.2

    Yes, you can use it for that as well.

    //Ilpo

    • Post Points: 20
  • 03-25-2010 11:46 In reply to

    • fmkg
    • Top 10 Contributor
    • Joined on 10-15-2009
    • Points 1,155

    Re: Upgrade from v2.1 to v2.2

    I upgraded two different machines with v2.2

    Now I noticed a difference in the TFStoTDFieldMapping.xml

    The first machine shows:

    <FIELDMAPPING Name="">
        <FIELD VALUEMAPNAME="">
          <FIELDDATAMASTER>None</FIELDDATAMASTER>
          <HTMLFORMAT>False</HTMLFORMAT>
          <FIELDMETHOD>OnUpdate</FIELDMETHOD>
          <RESOLVEUSERNAME>False</RESOLVEUSERNAME>
          <TDFIELD FieldTechnicalName="BG_SUMMARY" FieldLabel="Summary">BG_SUMMARY</TDFIELD>
          <TFSFIELD FieldTechnicalName="System.Title" FieldLabel="Title">Title</TFSFIELD>
          <DEFAULTVALUE />
          <FORCEFIELDUPDATE>False</FORCEFIELDUPDATE>
        </FIELD>

    The second shows:

    <FIELDMAPPING Name="">
        <FIELD VALUEMAPNAME="">
          <FIELDDATAMASTER>None</FIELDDATAMASTER>
          <HTMLFORMAT>False</HTMLFORMAT>
          <FIELDMETHOD>OnUpdate</FIELDMETHOD>
          <RESOLVEUSERNAME>False</RESOLVEUSERNAME>
          <TDFIELD>BG_SUMMARY</TDFIELD>
          <TFSFIELD>Title</TFSFIELD>

          <DEFAULTVALUE />
          <FORCEFIELDUPDATE>False</FORCEFIELDUPDATE>
        </FIELD>

    In the Synch-Admin-Tool both look the same - but on xml level there is this difference.

    Do you have an explanation for that?

    Thank you!

    • Post Points: 20
Page 2 of 3 (32 items) < Previous 1 2 3 Next >