问题
When calling the Rally WSDL API I receive very large numbers for the "Rank" field, e.g. 500000011520, but I would like the get the rank in the backlog, e.g. #1. Does anyone know how I can find or compute the rank in the backlog?
回答1:
In REST, there are Ranking arguments for the create endpoint:
https://rally1.rallydev.com/slm/webservice/1.39/hierarchicalrequirement/create?rankTo=TOP https://rally1.rallydev.com/slm/webservice/1.39/hierarchicalrequirement/create?rankTo=BOTTOM https://rally1.rallydev.com/slm/webservice/1.39/hierarchicalrequirement/create?rankAbove="/hierarchicalrequirement/12345678910" https://rally1.rallydev.com/slm/webservice/1.39/hierarchicalrequirement/create?rankBelow="/hierarchicalrequirement/12345678910"
Unfortunately these are REST-only tools - Rally's SOAP API doesn't have analogous functionality. I'd encourage you to look at Rally's REST toolkits - they are definitely more flexible than Rally's SOAP.
REST Toolkits are outlined here:
http://developer.rallydev.com/help/rest-apis
来源:https://stackoverflow.com/questions/13382868/rank-value-on-stories