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 8313355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:27:54+00:00 2026-06-08T20:27:54+00:00

I am writing in Java and have already retrieved a JsonArray of Defect items

  • 0

I am writing in Java and have already retrieved a JsonArray of Defect items from Rally. Now I want to be able to get only those User Stories that have one of the Defects I got associated with them. I have been unable to come up with a good query to do this, and currently I am getting all the User Stories and then looking through their Defects field to see if one of the defects I had is a member.

Can anyone suggest a query that would allow me to directly get the story that goes with a defect? Thanks.

  • 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-06-08T20:27:56+00:00Added an answer on June 8, 2026 at 8:27 pm

    Your best bet is to specify a fetch that will pull the fields you need from the story and attach them to the defect.

    fetch=Requirement,Name,Iteration,ScheduleState
    

    That would hydrate all of those fields on the story (Requirement) as well as the Defect.

    {
        Defect: {
            _ref: "https://rally1.rallydev.com/slm/webservice/x/defect/5678.js",
            Name: "Sad Pandas",
            Iteration: null,
            Requirement: {
                _ref: "https://rally1.rallydev.com/slm/webservice/x/hierarchicalrequirement/1234.js",
                _refObjectName: "Pandas",
                Name: "Pandas",
                Iteration: null,
                ScheduleState: "In-Progress",
                Blocked: false,
                _type: "HierarchicalRequirement"
            },
            ScheduleState: "Idea",
            Blocked: false,
            Errors: [ ],
            Warnings: [ ]
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am a Java programming now also writing in C#. I have seen Accessor
I am currently writing a Java compiler and have implemented section 15.12.2.7. of the
I have a game I'm writing in java, it has the functionality to save
I'm writing a program in Java and I have a method with a header
I'm learning ruby (have a java/groovy background) and it looks like when writing methods,
I have some experience writing web applications in Java for class projects. My first
i have a little problem with my java socket code. I'm writing an android
I have a question about best practices in Java. I'm writing a class, which
I am writing an application in java (1.6) using swing. I currently have a
I am writing a game in Java, and need to have mouse interaction. I

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.