1
votes

Using a TypeDefinition Query:

https://rally1.rallydev.com/slm/webservice/v2.0/typedefinition/?fetch=ObjectID&pagesize=100&pretty=true

I can grab the Object ID for Hierarchical Requirements definition.

Using that ID I can get all the attributes (inputs) for Hierarchical Requirement's (User Stories).

https://rally1.rallydev.com/slm/webservice/v2.0/TypeDefinition/[DefObjectID]/Attributes?pagesize=100&order=ObjectID&pretty=true

However I wondering how I can order this list in the order it is displayed in the "Create User Story" screen in RallyDev?

2

2 Answers

1
votes

Not exactly sure what you mean by "Create User Story" screen. The default view for "Plan -> User Stories" shows in Rank order. If that's what you are looking for then the order would just be:

order=Rank
1
votes

I don't believe there is a way to do this- there is no "category" field with which to group the fields. Those editors are manually configured to logically group fields together. You could fairly easily group some of them together based on whether they are required or custom, but other than that you'll have to manually arrange them...