Using Clone, Export and Import an existing release definition for TFS2015 Update2


Summary:- A ReleaseManagement extension for Cloning, Importing and Exporting an existing release definition is released in the VisualStudio marketplace at https://marketplace.visualstudio.com/items?itemName=ms-devlabs.rm-clone-rd . But as it uses some improvement done post release of TFS2015U2 hence it doesn't allow to be installed for TFS2015U2. I have tried to write another extension with slight variation of experience (explained below).

How it's different from one released to VisualStudio marketplace :- Extension published at VisualStudio marketplace open the release definition to be saved after clicking the clone (from context menu) or import (from toolbar). Where as extension for TFS2015U2 makes direct REST call and creates a clone or import of an existing release definition. Following are TFS2015U2 behaviour difference:-

 - Environment owner will be same as original release definition

 - In case of Import, Approver needs to be updated

Code is sharedhttps://github.com/openalm/vsts-rm-extensions/tree/master/rd-export-import-clone-TFS2015U2

How to Install it for TFS2015U2 :-

Step1:- Download above mentioned repo which contains already build ms-devlabs.rm-import-export-0.0.1.vsix

Step2: open http://<tfsserverurl>/tfs/_gallery/manage

Step3:- Click on 'Upload new extension'

Step4: Give path to ms-devlabs.rm-import-export-0.0.1.vsix (as downloaded in step#1 above)

Step5: Click on the 'Install' button for the referred extension

Step6:- You should be able to see the Clone, Export in the release definition context menu and Import the new definition toolbar.

Step7: Done


Comments (7)

  1. anonymouscommenter says:

    Hi, I've installed this to an on-prem TFS 2015 Update 2.1 but the new menu options do not appear – is there something in 2.1 that would prevent the extension form working?

  2. It should work for TFS2.1 as well. Can you do F12 and see any error there? Sometime it takes few seconds to show the menu options. Are you not able to see either of the three icons?

  3. anonymouscommenter says:

    I have a similar issue on IE 11 and found running firefox v38.0.5 works.

    IE F12 tools Error(s):

    No handler found on any channel for message: No handler found on any channel for message: {"id":4,"methodName":null,"instanceId":"exportDefinitionContextMenu"," …

    No handler found on any channel for message: {"id":5,"methodName":null,"instanceId":"cloneDefinitionContextMenu …

    No handler found on any channel for message: {"id":6,"methodName":null,"instanceId":"exportDefinitionContextMenu…

    No handler found on any channel for message: {"id":7,"methodName":null,"instanceId":"cloneDefinitionContextMenu","…

    1. Hi Dan,
      I have the issue and it should work for IE11 as well now. Can you please try updating the extension with ‘ms-devlabs.rm-import-export-0.0.2.vsix’ from the https://github.com/openalm/vsts-rm-extensions/tree/master/rd-export-import-clone-TFS2015U2.

      Thanks
      Anjani Chandan

  4. anonymouscommenter says:

    Hi, yes similar messages on IE 11 for me too (no menu options or additional import icon), Chrome displays the options and icon fine. Errors from IE 11, F12:

    HTML1300: Navigation occurred.

    File: ms.vss-releaseManagement-web.hub-explorer

    TFS.ReleaseManagement.ReleaseHub.ConnectionManager.ReleaseHubEventManager: attached handler for event ReleaseManagement.ReleaseHub.ReleaseTaskLogUpdated

    SCRIPT1002: Syntax error

    File: main.js, Line: 51, Column: 83

    ReleaseManagement::VSO.RM.ListReleases: 1,160.492ms

    No handler found on any channel for message: {"id":1,"methodName":null,"instanceId":"importDefinitionToolbarMenu","instanceContext":{"user":{"id":"6f53b718-4c99-4467-9cae-67e139d9579f",…

    No handler found on any channel for message: {"id":2,"methodName":null,"instanceId":"exportDefinitionContextMenu","instanceContext":{"user":{"id":"6f53b718-4c99-4467-9cae-67e139d9579f",…

    No handler found on any channel for message: {"id":3,"methodName":null,"instanceId":"cloneDefinitionContextMenu","instanceContext":{"user":{"id":"6f53b718-4c99-4467-9cae-67e139d9579f",…

    1. Hi Baz,
      I have the issue and it should work for IE11 as well now. Can you please try updating the extension with ‘ms-devlabs.rm-import-export-0.0.2.vsix’ from the https://github.com/openalm/vsts-rm-extensions/tree/master/rd-export-import-clone-TFS2015U2.

      Thanks
      Anjani Chandan

  5. @Baz – Good to know as you are unblocked after using Chrome. I shall try on IE11 and let you know, if some fix is required.

Skip to main content