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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:02:36+00:00 2026-06-08T08:02:36+00:00

I have a list of Changes (in String format) and i now need to

  • 0

I have a list of Changes (in String format) and i now need to add this to a Changeset.
The Changeset is already attached to the Artifact, but i am having trouble adding the Changes to the Changeset.

Any help would be great!
Many 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-08T08:02:40+00:00Added an answer on June 8, 2026 at 8:02 am

    Since Changes is a field on Changeset, it seems reasonable to be able to update a Changeset object and set Changes to collection of Change refs. However, the Rally web service API wants things a little differently.

    Changeset is a required field on a Change object, so you can’t create the Change object in Rally without giving it a Changeset ref. And that’s exactly how you add Changes to a Changeset.

    Assuming you have a Changeset ref in a String called csRef (e.g. “https://rally.rallydev.com/slm/webservice/1.33/changeset/223534.js”), the following code will create a Change object (Changeset and PathAndFilename are the required fields) in Rally and attach it to that Changeset:

    JsonObject newChange = new JsonObject();
    newChange.addProperty("Changeset", csRef);
    newChange.addProperty("PathAndFilename", "a/b/c");  
    
    CreateRequest cRequest = new CreateRequest("change", newChange);
    CreateResponse cResponse = restApi.create(cRequest);
    String cRef = cResponse.getObject().get("_ref").getAsString();
    System.out.println(String.format("Created %s", cRef));
    

    You probably already know this, but the web service api docs, which specify which fields are required to create objects, are here: https://rally1.rallydev.com/slm/doc/webservice

    Hope that helps.

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

Sidebar

Related Questions

I'm having trouble finding a list of the changes and bug fixes that have
I have this code: List<string> lineList = new List<string>(); in j = 0; Dictionary<string,
I have a routine that dynamically changes a select list's selected option when the
net webdeveloper and usually don't make any win32 apps. but now i have to.
Maybe that's not exactly the solution i need, but this is what i want
HI all I have problem when trying to convert list collection string to one
I have to compare massive database dumps in xls format to parse for changes
I have a list of mobile phone $numbers and i have to change them,
I have a list with images and text, Text change in every 1-2 second
I have a table which holds a list of criminal charges.These charges can be

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.