Closed eruialf closed 11 years ago
Hi Alfonso - thanks for your question. Ideally, the Issues page in Github should be used for letting the community know about identified bugs/defects with the toolkit, rather than for questions on use. Usage questions would best be posted to Stackoverflow:
https://stackoverflow.com/questions/tagged/rally
I'm not sure if this is the issue as you mention above that you are able to successfully make some updates, but your update syntax:
@rally.update(field_updates)
Looks to be problematic.
It would either need to look like this:
updated_testcase = @rally.update(:testcase, 12345, field_updates)
where 12345 is the ObjectID of the testcase, or:
testcase = @rally.read(:testcase, 12345) #by lookup then udpating via the object testcase.update(field_updates)
I'm going to go ahead and close this Issue. If you have any followup questions, please post on Stackoverflow. If you have identified a bug somewhere, please don't hesitate to post a new Issue here.
Hi Mark
Thanks a lot for the replay, I will check what you say. My apologies, I will use stackoverflow next time.
Thanks a lot Alfonso.
Hi
I'm trying to update drop down menus in different artifacts as Defects or Test Cases. I'm trying as stated below being @rally a test_case object in this case:
fields = {} field_updates = {"Priority" => "Critical"} field_updates = {"Description" => "Changed Description Priority Critical"} @rally.update(field_updates)
I've manged to update for instance: "Package: Build: Jenkins" being Package field a drop down menu as well, but others as Priority are not updated, no errors returned either.
I wonder which is the proper way to get the menu vales and state one.
Please any tip?
Thanks a lot in advance Alfonso.