It's all about the answers!

Ask a question

Defect workflow change not updated for existing defects


Kevin Kingsbury (611310) | asked Nov 16 '08, 10:32 p.m.
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

2 answers



permanent link
Patrick Streule (4.9k21) | answered Nov 20 '08, 7:18 a.m.
JAZZ DEVELOPER
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

permanent link
Kevin Kingsbury (611310) | answered Nov 18 '08, 7:15 p.m.
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?

Thanks
Kevin

Your answer


Register or to post 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.