Rally Software

  • 1.  How to list the incomplete tasks of completed stories?

    Posted Aug 16, 2016 02:44 PM
    I'm trying to list the incomplete tasks of completed stories.

    How would I query the task of a story that is in the complete state? Will someone help me out? Also, if there is a resource you can recommend for query examples/help outside of the basics included in the CA help menu that would be much appreciated. Thank you. 



  • 2.  Re: How to list the incomplete tasks of completed stories?

    Posted Aug 16, 2016 05:19 PM
    Brian, 

    A query like: (State = '"Completed") would work for identifying those Completed tasks! As far a secondary resource, honestly checking out Stack Overflow or posting here is probably your best bet!


  • 3.  Re: How to list the incomplete tasks of completed stories?

    Posted Aug 17, 2016 11:25 AM

    Thank you John. I am still looking for a second piece to that query... "the task of a story that is completed." (State = "Complete") will provide me stories in the complete state but I'm also trying to combine that with the task of said completed story. How do I query the relationship of tasks to stories? With that answer I can then combine it with the (State = "Complete") to get teh results I'm looking for.

    -Brian 



  • 4.  Re: How to list the incomplete tasks of completed stories?

    Posted Aug 17, 2016 11:42 AM
    Brian, that's what that query would do - find completed Tasks. If I were trying to query for completed Stories, I would query on the ScheduleState field, not State. 

    Are you trying to list stories with completed tasks? Or are you just trying to list tasks?

    I would definitely recommend creating a custom page  (https://help.rallydev.com/create-custom-pages)then adding the Custom List app (https://help.rallydev.com/custom-grid). It makes it really easy to filter for what you're looking for on the front end. In the app's setting (gear at top-right), you can set the kind of work item that you want to see, whether it's Tasks, Stories, Defects, Portfolio Items, etc. Using Advanced Filters from the app, you can really drill down to specifically what you're looking to show. 

    I just recorded a screen capture showing how set it up showing Tasks that are completed: http://screencast.com/t/MTKR2UxiQ

    If you do want to show Stories with Completed Tasks, I believe if you filter on Task Status = COMPLETED (using those front-end filters), it will only show the stories where all tasks are completed, if that makes sense. 


  • 5.  Re: How to list the incomplete tasks of completed stories?

    Posted Aug 17, 2016 12:07 PM
    Thank you again John. I apologize for not being clear. I didn't want to confuse what I was after with too much detail. I'm trying to list the incomplete tasks of completed stories. Our backlog is a mess, including stories that have been marked completed but have outstanding tasks. A custom page is exactly where I'm going with this but I haven't been able to find a way to query the associaton between tasks and stories without knowing exactly which story. 


  • 6.  Re: How to list the incomplete tasks of completed stories?
    Best Answer

    Posted Aug 17, 2016 12:33 PM
    Ah! Thanks for that clarification! In that case, I'd use a Custom List app on the Task work item type, with the following query: 
     
    ((WorkProduct.ScheduleState <= "Completed") AND (State != "Completed"))

    0EM140000005Gpq


  • 7.  Re: How to list the incomplete tasks of completed stories?

    Posted Aug 17, 2016 12:57 PM
    That's it James. Thank you. With a little validation this seems to be what I am needing.


  • 8.  Re: How to list the incomplete tasks of completed stories?

    Posted Aug 17, 2016 12:59 PM
    It appears as though my question might need updating if this is to help anyone else. I am unable to edit it but would be happy to allow an admin to adjust it.


  • 9.  Re: How to list the incomplete tasks of completed stories?

    Posted Aug 17, 2016 01:02 PM
    Updated! Thanks Brian!