I have a list of status and subtsatuses that I need to "translate"/convert to a new one, just like in the example below:
Old Status Old Substatus New Status New Substatus
-----------------------------------------------------------------------
4-Defer Code Freeze 11 Code/Hardware Bug (Response/Resolution), Dev Priority = 4, Confirmed = ‘Y’
4-Defer Future Project 11 Code/Hardware Bug (Response/Resolution), Dev Priority = 4, Confirmed = ‘Y’
4-Defer No Plan to Fix 11 Code/Hardware Bug (Response/Resolution), Dev Priority = 4, Confirmed = ‘Y’
4-Defer No Resource Available 11 Code/Hardware Bug (Response/Resolution), Dev Priority = 4, Confirmed = ‘Y’
...
11-Closed Duplicate 96 Closed, Duplicate Bug
11-Closed Not Reproducible 91 Closed, Could Not Reproduce
11-Closed Not a Defect 92 Closed, Not a Bug
Is there a way I can declare an array in pairs (via multidimension array), or combined with classes, in order to make this conversion?
something like (11, "Duplicate") => (96, "Closed, Duplicate Bug")
Any help will be greatly appreciated.
Thanks in advance!