Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6664003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:33:43+00:00 2026-05-26T02:33:43+00:00

Currently I have to make multiple GETs to receive all the information which I

  • 0

Currently I have to make multiple GETs to receive all the information which I need

  • User Story: FormattedID, _refObjectName, State, Owner._refObjectName
  • Tasks for each User Story: FormattedID, _refObjectName, State, Owner._refObjectName
  • Defect: FormattedID, _refObjectName, State, Owner._refObjectName
  • Tasks for each Defect: FormattedID, _refObjectName, State, Owner._refObjectName

For all of the User Stories I use:

https://rally1.rallydev.com/slm/webservice/1.26/hierarchicalrequirement.js?query=((Project.Name = “[projectName]“) and (Iteration.Name = “[iterationName]“))&fetch=true&start=1&pagesize=100

For all of the Defects I use:

https://rally1.rallydev.com/slm/webservice/1.26/defects.js?query=((Project.Name = “[projectName]“) and (Iteration.Name = “[iterationName]“))&fetch=true&start=1&pagesize=100

Within each of these, if they have any Tasks, they display as:

{
  "_rallyAPIMajor": "1",
  "_rallyAPIMinor": "26",
  "_ref": "https://rally1.rallydev.com/slm/webservice/1.26/task/9872916743.js",
  "_refObjectName": "Update XYZ when ABC",
  "_type": "Task"
}

This doesn’t have all the information I need, so I hit each of the Tasks’ _ref URLs to get the full task information.

This adds up to sometimes 80+ AJAX calls per page load.

Is there a better query which would provide the extra Task information up front?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T02:33:43+00:00Added an answer on May 26, 2026 at 2:33 am

    The fetch parameter can be tricky with queries. If you provide fetch=true you will get all of the fields that exist on the queried type (Story,Defect). If the field is also a domain object (like a tasks or a defect) you will only get the thin ref object like this

        {
           "_ref": "/task/1234.js"  
        }
    

    If you want to get fields populated on the sub-objects you will need to specify the fields you want shown in the fetch param fetch=Name,FormattedID,Tasks. This would return an object like the one below:

    {
          "HierarchicalRequirement" : {
            "Name" : "StoryName",
            "FormattedID" : "S1234",
            "Tasks" : [
              {
                "_rallyAPIMajor": "1",
                "_rallyAPIMinor": "26",
                "_ref": "https://rally1.rallydev.com/slm/webservice/1.26/task/9872916743.js",
                "_refObjectName": "Update XYZ when ABC",
                "_type": "Task",
                "FormattedID" : "T1",
                "Name" : "Update XYZ when ABC"
              }
            ]
          }
     }
                         
    

    Let me know if that helped

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We currently have developed an application using WCF. Our clients make connections to different
We currently have a number of desktop applications (PowerBuilder, Winforms, WPF) that make use
Currently I have subversion set up so that when I make changes in Eclipse
tl;dr: is it possible to have grouping levels within a subreport which gets its
I have a function that calls multiple windows (new graphics device window). To make
I currently have an ASP.net 2.0 site with multiple ASP.Net 1.1 sites running as
How can I make the header(Location: /path); to only redirect once? Currenlty I have
Currently have password protection on my main and sub directories, however I'd like to
I currently have this data in a sheet Col A Col B 1 angry
I currently have the following table definition: <table border=1 cellspacing=0 bordercolor=#CEDFEF cellpadding=1> I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.