Skip to content Skip to sidebar Skip to footer

Feature Deep Copy In Rally

Actully I want functionality like feature deep copy Which will copy all the stories and tasks inside those stories in that feature. I modified the code from StoryDeepCopy but featu

Solution 1:

There is no equivalent of deep copy for features in the app catalog. You are correct that AppSDK1, latest version of which is 1.33 has no concept of PortfolioItem objects. If you want to access Portfolio Items or Blocked Reason, or any other feature introduced in later versions of WS API up to 1.43 this syntax will allow it:

<scripttype="text/javascript"src="/apps/1.33/sdk.js?apiVersion=1.43"></script>

Another variation of this trick is shown in a code fragment below from an app that builds a table of PortfolioItems in AppSDK1 app:

<scripttype="text/javascript"src="https://rally1.rallydev.com/apps/1.32/sdk.js"></script><scripttype="text/javascript">functiontableExample() {
       var rallyDataSource = new rally.sdk.data.RallyDataSource('111','222','false','false');
       rallyDataSource.setApiVersion("1.43");
      functionitemQuery() {
         var queryObject = {
           key: "pi",
           type: "portfolioitem",
           fetch: "FormattedID,Name"
         };
         rallyDataSource.findAll(queryObject, populateTable);
      }

This method does not work with v2.0 of WS API.

It has to be used with caution. One thing that definitely will break is around calculations of timebox start and end dates. That's why many legacy Rally App Catalog apps are still at 1.29. This is due to changes in API Version 1.30. See API versioning section in the WS API documentation.

Post a Comment for "Feature Deep Copy In Rally"