Defects with no Status - State was deleted in workflow of project area
2 answers
Hi Cormac,
Option 1 (to fix the current Work Items)
If you want an option to fix the data you have (and then look into the other issues) then you can use the Eclipse Import work items "Work items from CSV":
You would need to decide which "state" you'd want the work items to go into if you have delete the state (and State ID)
If you import a set of WI using a CSV file selecting the "Update Matched Work Item" you would need to have:
csv file that contains:
1. The "Rqmt ID" column - with all the Id's listed you need to correct.
2. The "Status" Column - with the new State.
If you not used this before - start by creating a Query for the work items you want that includes at Least the columns listed above" and then select Export - "Team" - Work Items.
This will give you the formatted file etc.
Option 2 (to roll back to a previous version of the Process Configuration)
You could look at the Project configuration History and then try to roll back to a previous version - however this is complex as you need to understand the implications if you have been editing the Project Config.
I hope this helps
Matt Muller
Nationwide - Process and Tools Consultant
SES Limited
UK
https://jazz.net/forum/questions/118286/how-to-restore-process-configuration-source
Another way to do it is to add the state back with the same Id. You will add the state using the GUI first, then switch to the source view and change its Id. You can find out the Id of the old/removed state by looking up the source history, or by querying the affected work items. You will also need to add/modify actions to associated with the restored state. I haven't done extensive testing with this method though.
Always be cautions when working directly with the process configuration source because if you make any mistakes there, it is very difficult to spot.
Comments
Akbar Jafri
Sep 20 '15, 11:13 a.m.The same situation happen with me wherein the defect workflow was changed in starting of the project when there was less defect raised, then in that case "I have to redefine the workflow and raise the defect again"
Please let us know if there is any option to change the state.
1 vote