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

  • Home
  • SEARCH
  • 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 6715981
In Process

The Archive Base Latest Questions

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

Ok, i understand how to insert a Task and associate it with a User

  • 0

Ok, i understand how to insert a Task and associate it with a User Story, but now how do I insert a User Story and associate it with a Workspace and Project. Here is what i have so far..

DynamicJsonObject toCreate = new DynamicJsonObject(); 
toCreate["Name"] = "My Test User Story";
toCreate["Description"] = "This is the description of the test User Story";

// these do not exist
//toCreate["Iteration.Name"] = "Iteration Name";
//toCreate["Workspace.ObjectID"] = "123456";
//toCreate["Project.ObjectID"] = "456789";

CreateResult createResult = _restApi.Create("hierarchicalrequirement", toCreate);
bool success = createResult.Success;
  • 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-26T08:40:44+00:00Added an answer on May 26, 2026 at 8:40 am

    I tried this and it worked!

    RallyRestApi _restApi = new RallyRestApi("username", "password", "https://rally1.rallydev.com", "1.27");
    DynamicJsonObject toCreate = new DynamicJsonObject();
    toCreate["Name"] = myUserStory.Name;
    toCreate["Description"] = myUserStory.Description;
    
    // these are the important ones..
    toCreate["Workspace"] = "/workspace/456879854";
    toCreate["Project"] = "/project/4573328835";
    toCreate["Iteration"] = "/iteration/4459106059";
    
    CreateResult createResult = _restApi.Create("hierarchicalrequirement", toCreate);            
    bool success = createResult.Success;
    

    So, you have to use references. Hope this helps others!

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

Sidebar

Related Questions

I understand how to get Eclipse to insert spaces in place of tabs, but
Cant understand where is here syntax error? INSERT INTO `playlist_playlistentry` VALUES (playlist_id, media_id, order_by,
I understand what System.WeakReference does, but what I can't seem to grasp is a
I understand that some countries have laws regarding website accessibility. In general, what are
I understand the difference between String and StringBuilder ( StringBuilder being mutable) but is
I understand that they are both supposed to be small, but what are the
I understand you can add insert blocks of html before and after a target
I understand the basics of pixel tracking, I'm able to insert a pixel that
I'm playing around with the SQLiteDatabase class and did't understand why the insert method
I understand that when we insert values into the STL map, a copy is

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.