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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:55:26+00:00 2026-06-05T13:55:26+00:00

I have read through the Web Services site at http://developer.rallydev.com/help/ The basic issue I

  • 0

I have read through the Web Services site at http://developer.rallydev.com/help/

The basic issue I have is that I am trying to update custom created fields in Rally from a Ruby script and I do not know the format to use. The Rally Devs said this was possible and directed me to post here as they do not support users with such things.

I am wondering if anyone else has been able to do this. I can get the defect, but the debug info has not given me any clues as to where these custom fields may be lurking. Thanks in advance for your help and please let me know if you need any additional information. The simple code I have right now is this:

#!/usr/bin/ruby
require 'rubygems'
require 'rally_rest_api'

defect = "DE677"
logger = Logger.new("debug-rally.txt")
logger.level = Logger::DEBUG

rally = RallyRestAPI.new(:username => "hidden",
                     :password => "hidden",
                     :logger   => logger,
                     :version  => 1.34)
result = rally.find(:defect) { equal :formattedid, defect }

if result.page_length == 0
  puts "The defect "+defect+" was not found"
elsif result.page_length == 1
  puts "Found it"
  res_array = result.results
  thedefect = res_array.at(0)
  puts thedefect.state
  puts thedefect.requirement.defects
else
  puts "Returned more than one result"
  puts result.page_length
  res_array = result.results
  for i in res_array
    puts i
  end
end

EDIT:It was actually staring me right in the face. When I checked the debug log again they were in the xml. For instance in the UI there was a custom field called fu and in the resulting xml it was there as bar.

  • 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-05T13:55:28+00:00Added an answer on June 5, 2026 at 1:55 pm

    There is a display name and a name property when you create it. In your example my guess is fu is your display name and bar is the name.

    enter image description here

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

Sidebar

Related Questions

I have read that web services are transmitted through SOAP over HTTP. Then what
I have a web server which is protected behind http-basic-auth. I've read through the
I'm trying to have my application read through a text file and look for
We have a .NET application that makes several concurrent calls to various web services,
I have two servlets that access two corresponding Axis2 web services on the same
I have read through a good amount of documentation and a few blogs and
I have read through multiple posts here until my head was ready to explode
I have read through the Rails docs for Routing , Restful Resources , and
I have read through some tutorials about javascript prototypal inheritance patterns but I am
Okay guys, I have read through all the other posts and question on jQuery

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.