Defect workflow change not updated for existing defects
I have created a new workflow process for all Defect workitems. This new workflow does not include some state transitions that the original workflow supported. If I create a new defect, the workflow seems to work. However, existing defect work items types do not seem to honor the new workflow.
Is this normal or did I do something wrong? Is there a way to force existing defect work items to now use the new workflow?
Thanks,
Kevin
Is this normal or did I do something wrong? Is there a way to force existing defect work items to now use the new workflow?
Thanks,
Kevin
2 answers
One thing that I noticed is if I look at the WorkItem structure, there
appears to be a workflowSurrogate attribute. Is this what defines the
workflow that a work item follows? Is there a way to change this to
point to the new workflow that has been setup?
Yes, the workflow surrogate keeps track of the associated workflow. I
am not aware of a direct possibility to upgrade existing work items to
another workflow, however.
One possible work-around could be to change the type of the work items
to another type with another workflow and back. This should update the
workflow surrogate.
Regards,
Patrick
Jazz Work Item Team