Paito
Paito

Reputation: 1553

Order Attributes for HeirarchicalRequirement's in RallyDev API v2.0

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?

Upvotes: 1

Views: 144

Answers (2)

Kyle Morse
Kyle Morse

Reputation: 8410

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...

Upvotes: 1

kimon
kimon

Reputation: 2505

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

Upvotes: 1

Related Questions