Rally Software

 View Only
Expand all | Collapse all

Clarification needed about Velocity Chart (from Reports menu)

  • 1.  Clarification needed about Velocity Chart (from Reports menu)

    Posted May 21, 2020 03:23 PM
    I have a few questions about the Velocity Chart from the Reports page:

    First, right or wrong, we have setup our iterations to use the same name over time, meaning we currently have four different iterations named Sprint 1.1 (from four different years). I think that, because of this, when the Velocity Chart shows the "last ten sprints," it is aggregating four year's worth of data under each sprint name. Is this correct? If so, that would explain why our numbers are so wonky (we typically complete between 15 and 20 story points per sprint. The chart is showing hundreds!)

    Secondly, is it possible to set any parameters for this chart? I don't see any settings, but it may be an issue of permissions or based on our subscription. Anyway, because of the first item, this chart is basically useless for us (unless, I suppose, we go and rename all of our past sprints and adopt a new naming convention).

    regards,


  • 2.  RE: Clarification needed about Velocity Chart (from Reports menu)
    Best Answer

    Broadcom Employee
    Posted May 21, 2020 03:55 PM
    Hi @Karen Gwynn,

    The 'reports' on that page are getting a bit long in the tooth and are due to be deprecated soon. I have an alternative app, that I do 'best endeavours' to help maintain, here: https://github.com/nikantonelli/TeamVelocity

    Will this one work for you? It uses the more recent SDK2 which I don't think will be deprecated for a little while yet.

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 3.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted May 21, 2020 04:02 PM
    Nik,
    this does look better. Now, for today's stupid question: how do I deploy something like this. I am quasi-technical (I can do stuff by following instructions, but need more than just, get the code from GitHub!).

    Also, I am a Workplace admin, not the subscription admin, can I download or does the subscription admin need to do that?

    regards,


  • 4.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted May 21, 2020 04:49 PM
    Hi @Karen Gwynn, you need to pick up the contents of this file: https://github.com/nikantonelli/TeamVelocity/blob/master/deploy/App-uncompressed.html
    and paste it into the panel in a Custom HTML app.

    Have a look here:https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/agile-development-and-management/rally-platform-ca-agile-central/rally/customizing-top/use-apps/app-catalog/custom-html.html


    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 5.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted May 26, 2020 11:19 AM
    Hi Nik,

    I love the idea of a better Velocity chart, but for some reason this app isn't displaying accurate data for me - in some cases the numbers are just very low, in other cases no data loads at all. I'm not getting any console errors, and the chart loads, but doesn't have any data at all. This image shows the two apps side-by-side. Any suggestions how to troubleshoot this one?


    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 6.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted May 27, 2020 09:22 AM
    Hi Terry,

    I have just looked at the code and there is a wierdness in there. I can't believe it has been sat there for 5 years!! I have just uploaded a patch. Could you try the new code?

    The bug was apparent if you had loads of stories in the team node that weren't in the iterations you were looking at - a quite common scenario anywhere but in my demo/test environment.

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 7.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted May 27, 2020 09:36 AM
    I don't see any new code there. Is it in the same repo?

    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 8.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted May 27, 2020 09:48 AM
    Oops! I didn't hit the 'go' button. Should be there now.

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 9.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted May 27, 2020 12:59 PM
    That works! The differences in this app now are:

    1. Team Velocity only shows User Story points while the standard velocity chart also includes other work item points (Defects, Test Sets and possibly Defect Suites). I tried a quick hack of the 'model' statement but that didn't work

    2. Team Velocity doesn't show unfinished work in iterations, so teams don't get that view of how often they pull in more than they complete. This is accomplished via the story-splitting process, which we hate, but it's really the only reliable view of work completed and not completed in a sprint. The Committed vs. Delivered app, if it were giving accurate data, would fill this need, but it is currently unreliable

    Any thoughts on how complicated either of those updates would be?

    Thank you for all your continuing efforts to help with these types of things!

    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 10.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted May 28, 2020 06:57 AM
    Hi Terry, try the latest one I have just posted into the repo.....

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 11.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted May 28, 2020 09:06 AM
    Looks great so far - I'm going to give it a thorough test, but I think this will be a big help!

    Thank you, Nik!

    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 12.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted May 28, 2020 09:55 AM
    Terry, if you get a good informative plot, could you send me a screenshot so that I can add it to the repo? All my test/demo data is rubbish.

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 13.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted May 28, 2020 11:19 AM
    Hey Nik,

    I've loaded the updates and my data now displays, although I'm not sure I understand everything. Can you please explain how the data are calculated for each bar: During, After, and Outstanding?

    thanks!


  • 14.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted May 28, 2020 11:24 AM
    Hi Karen,

    The calculation is done here: https://github.com/nikantonelli/TeamVelocity/blob/feed5ec289f71c63fbd06096711ce594fec888a7/App.js#L202

    Basically it is using AcceptedDate as the starting point. If there isn't one, then it goes into the Outstanding bucket for that sprint. If there is one, then the AcceptedDate is checked against the end of the sprint. If before the end, it goes in the 'During', if after the end, it goes in the 'After'. Everything gets added to the Total.

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 15.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted May 28, 2020 01:18 PM
    how's this:  


    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 16.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted May 28, 2020 03:30 PM
    Hi Terry,

    That looks useful. Do you  mind if I add that as the image in the public repo? No mention of the source, of course.

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 17.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted May 28, 2020 04:06 PM
    Fine with me!

    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 18.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted Jun 02, 2020 04:35 AM
    Hi Terry, I added an option to stack the bars if that is any use to you (and to not have the team name in the X axis labels).


    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 19.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted Jun 02, 2020 09:07 AM
    I had actually had that thought (stacking the bars) but didn't want to be too picky. :)  I like the idea! Have you checked in the update yet? I don't see it but would like to test it out.

    Thanks!
    Terry

    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 20.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted Jun 02, 2020 09:21 AM
    Should be there with your image in it with commit: c798d8c

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 21.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted Jun 02, 2020 09:31 AM
    I like it!  However I just noticed a discrepancy - some of my teams use partial story points. One of the iterations I just looked at has two stories with .5 story points each. These are not counted in this app but are counted in the core Velocity Chart. Is that a quick fix?

    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 22.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted Jun 02, 2020 10:24 AM
    Hi Terry, I immediately thought of the glib answer..... :-) 

    A little bit later on, I will get some time to look into whether supporting fractional user story points is easy to implement - or even why it is not doing it in the first place. It (1/2 point) is not a practice I would recommend as it is too granular. Roughly right rather than precisely wrong, comes to mind.

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 23.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted Jun 02, 2020 10:49 AM
    No comment ;-)    I am no agile expert, I just support the tool :)

    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 24.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted Jun 02, 2020 12:35 PM
    Hi Terry, I changed the data type from int to float in the data store and it shows fractional stories now.


    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 25.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted Jun 02, 2020 12:58 PM

    Well done! It looks great and yes, now it counts all those fractional stories, regardless of whether or not they make any sense. :)

    Thank you!



    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 26.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted Jun 02, 2020 01:18 PM

    Hey Nik,

    Another question came up as we started playing with this app. When you view it above the lowest level in the hierarchy it breaks out each team/iteration rather than grouping by Iteration name. We'd like to view the data consolidated for a Release Train rather than just looking at each team's iteration data, which is particularly bizarre looking if you don't show the team name.  If you make it group on the x axis based on the title (e.g. Iteration Name or Iteration Name & Team) I would think it would be flexible, so the user could choose whether they want aggregated data or data for each individual team. Is that going too far?  :)



    ------------------------------
    Terry Ginzburg
    ------------------------------



  • 27.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Broadcom Employee
    Posted Jun 03, 2020 05:19 AM
    No, not too far. I had been wondering about that and how useful/painful it was. I have changed the "Add name" option to "Separate Teams" and made it combine based on iteration name. The iterations are still those within the timeframe of the two selectors, so you should not get stuff from years ago if you happen to use the same naming convention year-in/year-out.

    It was only a five minute fix. :-)

    ------------------------------
    Nik
    Ask me a question, I'm All Ears!
    Rally Sales Engineer
    Rally Software
    ------------------------------



  • 28.  RE: Clarification needed about Velocity Chart (from Reports menu)

    Posted Jun 03, 2020 06:01 PM
    Looks good, Nik!