Get rank of workitem in a iteration
I want to get and set a workitem attribute 'rank' value in a iteration, but I can not found any rest api to set and get this value. Please give me an advise how I can get/ set workitem rank value in iteration by rest api.
|
One answer
as I recall, this value is not yet exposed in any api.
rank is the order in which the workitems appear in the plan. I am not aware of the api to set the order either.. the Plan api has not been published. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Note that in the database, "rank" is actually an ordering property (i.e. "this work item is ranked after this other work item"), and not an integer value. The integer rank value for a particular work item depends on which plan you are viewing (i.e. the same work item can have different integer rank values, depending on which plan you are viewing it from). So when you "set" the integer rank value of a work item in a particular plan, the plan GUI is actually converting that into a modification of the "ranked after" internal property.