How to obtain PlanEstimated and Accepted Points with Scoping Down in CA Agile Central (Rally)












0















The OnPremise version of CA Agile Central does not have a burndown for estimated points.



So I modified the burndown code for hours (https://github.com/RallyCommunity/IterationBurndownByProject) so that instead of showing the "remaining hours" it shows the estimated points.



I'm getting the story points from the concrete iteration in which you want to show the burndown



_getIterationData: function (iteration) {
         this.setLoading ();
         var estimatedTotal = iteration.get ('PlanEstimate');



The problem comes when the user wants to aggregate projects. With this code I do not get the aggregation of history points.



Could I get this aggregation in some way?



Thank you very much for the help





With this code:



_makeStore: function(name){
Ext.create('Rally.data.WsapiDataStore', {
model: 'UserStory',
limit: Infinity,
fetch: ['FormattedID','Name','PlanEstimate'],
autoLoad: true,
filters: [{
property: 'Iteration.Name',
value: "name"
}],
listeners: {
load: this._onDataLoaded,
//select: this._onDataLoaded,
scope: this
}
});
},

_onDataLoaded: function(store, data){
puntosTotales = 0;
Ext.Array.each(data, function(story) {
var s = story.get('PlanEstimate');
var n = story.get('Name');
if(s != null){
puntosTotales += s;
}
}, this);
},


I can get the sum of the story points in my iteration with scoping down. The problem is that i am obtaining the data at the end of everything and i need the data earliear to do some operations.



What can i change (the listeners?) to get the data at the init and not at finish?



Any help would be appreciated










share|improve this question





























    0















    The OnPremise version of CA Agile Central does not have a burndown for estimated points.



    So I modified the burndown code for hours (https://github.com/RallyCommunity/IterationBurndownByProject) so that instead of showing the "remaining hours" it shows the estimated points.



    I'm getting the story points from the concrete iteration in which you want to show the burndown



    _getIterationData: function (iteration) {
             this.setLoading ();
             var estimatedTotal = iteration.get ('PlanEstimate');



    The problem comes when the user wants to aggregate projects. With this code I do not get the aggregation of history points.



    Could I get this aggregation in some way?



    Thank you very much for the help





    With this code:



    _makeStore: function(name){
    Ext.create('Rally.data.WsapiDataStore', {
    model: 'UserStory',
    limit: Infinity,
    fetch: ['FormattedID','Name','PlanEstimate'],
    autoLoad: true,
    filters: [{
    property: 'Iteration.Name',
    value: "name"
    }],
    listeners: {
    load: this._onDataLoaded,
    //select: this._onDataLoaded,
    scope: this
    }
    });
    },

    _onDataLoaded: function(store, data){
    puntosTotales = 0;
    Ext.Array.each(data, function(story) {
    var s = story.get('PlanEstimate');
    var n = story.get('Name');
    if(s != null){
    puntosTotales += s;
    }
    }, this);
    },


    I can get the sum of the story points in my iteration with scoping down. The problem is that i am obtaining the data at the end of everything and i need the data earliear to do some operations.



    What can i change (the listeners?) to get the data at the init and not at finish?



    Any help would be appreciated










    share|improve this question



























      0












      0








      0








      The OnPremise version of CA Agile Central does not have a burndown for estimated points.



      So I modified the burndown code for hours (https://github.com/RallyCommunity/IterationBurndownByProject) so that instead of showing the "remaining hours" it shows the estimated points.



      I'm getting the story points from the concrete iteration in which you want to show the burndown



      _getIterationData: function (iteration) {
               this.setLoading ();
               var estimatedTotal = iteration.get ('PlanEstimate');



      The problem comes when the user wants to aggregate projects. With this code I do not get the aggregation of history points.



      Could I get this aggregation in some way?



      Thank you very much for the help





      With this code:



      _makeStore: function(name){
      Ext.create('Rally.data.WsapiDataStore', {
      model: 'UserStory',
      limit: Infinity,
      fetch: ['FormattedID','Name','PlanEstimate'],
      autoLoad: true,
      filters: [{
      property: 'Iteration.Name',
      value: "name"
      }],
      listeners: {
      load: this._onDataLoaded,
      //select: this._onDataLoaded,
      scope: this
      }
      });
      },

      _onDataLoaded: function(store, data){
      puntosTotales = 0;
      Ext.Array.each(data, function(story) {
      var s = story.get('PlanEstimate');
      var n = story.get('Name');
      if(s != null){
      puntosTotales += s;
      }
      }, this);
      },


      I can get the sum of the story points in my iteration with scoping down. The problem is that i am obtaining the data at the end of everything and i need the data earliear to do some operations.



      What can i change (the listeners?) to get the data at the init and not at finish?



      Any help would be appreciated










      share|improve this question
















      The OnPremise version of CA Agile Central does not have a burndown for estimated points.



      So I modified the burndown code for hours (https://github.com/RallyCommunity/IterationBurndownByProject) so that instead of showing the "remaining hours" it shows the estimated points.



      I'm getting the story points from the concrete iteration in which you want to show the burndown



      _getIterationData: function (iteration) {
               this.setLoading ();
               var estimatedTotal = iteration.get ('PlanEstimate');



      The problem comes when the user wants to aggregate projects. With this code I do not get the aggregation of history points.



      Could I get this aggregation in some way?



      Thank you very much for the help





      With this code:



      _makeStore: function(name){
      Ext.create('Rally.data.WsapiDataStore', {
      model: 'UserStory',
      limit: Infinity,
      fetch: ['FormattedID','Name','PlanEstimate'],
      autoLoad: true,
      filters: [{
      property: 'Iteration.Name',
      value: "name"
      }],
      listeners: {
      load: this._onDataLoaded,
      //select: this._onDataLoaded,
      scope: this
      }
      });
      },

      _onDataLoaded: function(store, data){
      puntosTotales = 0;
      Ext.Array.each(data, function(story) {
      var s = story.get('PlanEstimate');
      var n = story.get('Name');
      if(s != null){
      puntosTotales += s;
      }
      }, this);
      },


      I can get the sum of the story points in my iteration with scoping down. The problem is that i am obtaining the data at the end of everything and i need the data earliear to do some operations.



      What can i change (the listeners?) to get the data at the init and not at finish?



      Any help would be appreciated







      scope project rally estimation burndowncharts






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 28 '18 at 7:57









      Flexo

      69.8k21146230




      69.8k21146230










      asked Nov 21 '18 at 15:18









      FJ GarridoFJ Garrido

      155




      155
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53415174%2fhow-to-obtain-planestimated-and-accepted-points-with-scoping-down-in-ca-agile-ce%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53415174%2fhow-to-obtain-planestimated-and-accepted-points-with-scoping-down-in-ca-agile-ce%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          Hercules Kyvelos

          Tangent Lines Diagram Along Smooth Curve

          Yusuf al-Mu'taman ibn Hud