sort workitem link
hi all
i create workitem template like this :
task 1
-sub task1
-sub task2
-sub task3
the WI task 1 have depend on type link to sub task
when i create from WI template , the result is variant and not same
result:
task1
-sub task3
-sub task1
-sub task2
do you know what Type workitem link can provide sort link ?
Thank
i create workitem template like this :
task 1
-sub task1
-sub task2
-sub task3
the WI task 1 have depend on type link to sub task
when i create from WI template , the result is variant and not same
result:
task1
-sub task3
-sub task1
-sub task2
do you know what Type workitem link can provide sort link ?
Thank
One answer
To my knowledge, the order of links are not maintained, and any sorting that you see is done by the client based on some property of the link targets, such as their ID.
But if what you want to control is the order in which the work items in the template are instantiated (which should affect the order that you see, when the GUI sorts by ID), then I'd suggest editing the xml for that work item template (this isn't guaranteed to work, but I'd guess the instantiation code just walks through that XML in order). The template xml is an attachment to the project area for which the template is defined.
Cheers,
Geoff
But if what you want to control is the order in which the work items in the template are instantiated (which should affect the order that you see, when the GUI sorts by ID), then I'd suggest editing the xml for that work item template (this isn't guaranteed to work, but I'd guess the instantiation code just walks through that XML in order). The template xml is an attachment to the project area for which the template is defined.
Cheers,
Geoff
hi all
i create workitem template like this :
task 1
-sub task1
-sub task2
-sub task3
the WI task 1 have depend on type link to sub task
when i create from WI template , the result is variant and not same
result:
task1
-sub task3
-sub task1
-sub task2
do you know what Type workitem link can provide sort link ?
Thank