How to preserve the sate of the work item when changing its type?
Hi All,
We recently created few custom work item types and wanted to change the type of some existing workitems to the newly created one.
when we are changing the type we observe that the state of the work item is not preserved.is there any way to preserve the state.
we have the same workflow for both the work items.
Thanks,
Surender
|
Accepted answer
Ralph Schoon (63.3k●3●36●46)
| answered Jan 05 '15, 7:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
To keep the state the same, in case the condition Sam mentions in https://jazz.net/forum/questions/170873/how-to-preserve-the-sate-of-the-work-item-when-changing-its-type/170875 is not given and you change a bunch of work items, you can
This requires that the state exists in the new workflow.
Surender Biyyala selected this answer as the correct answer
Comments
sam detweiler
commented Jan 05 '15, 8:02 a.m.
this is how to correct a general problem with incorrectly mapped states, and is the fastest, easiest way.
|
3 other answers
the state ID MUST be identical, else the system cannot figure out how to map them..
notice this is ID, NOT state NAME |
Dinesh Kumar B (4.1k●4●13)
| answered Jan 02 '15, 1:55 p.m.
JAZZ DEVELOPER edited Jan 02 '15, 2:06 p.m.
its also possible that the start action puts the changed work item to a new state.
from the work flow of the second type > look at the Start Action and the Target State of that start action. the ability to retain the state when the work item type is changed looks like an rfe to me.... |
Simple way to change the "Workitem Type" is
1.Cilck on the Workitem Icon,List of all woritem types pou- up 2.Select the desired "Workitem Type" 3.Save This way the state of the workitem would remain same as of previous workitem type |
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.