Replacement for Deprecated Kinds
Hi,
The 'Checkbox Multi-Select List' kind is not supported anymore in RTC.We have an Attribute called 'DataStore' of type smallString and kind is 'Checkbox Multi-Select List' but that kind is not supported anymore.
Which is the best way to change the kind and make sure that the already existing attributes are not hampered and inherit the new kind?
Accepted answer
Hi,
You would have to introduce a new attribute of the List[your_old_type]. If your type is based on an enumeration, you can create such an attribute. Your old data would still be in the old attribute.
Using https://www.google.de/search?q=multiselect+upgrade+site:jazz.net I was able to find this https://jazz.net/library/article/1458 work around that might be helpful.
You would have to introduce a new attribute of the List[your_old_type]. If your type is based on an enumeration, you can create such an attribute. Your old data would still be in the old attribute.
Using https://www.google.de/search?q=multiselect+upgrade+site:jazz.net I was able to find this https://jazz.net/library/article/1458 work around that might be helpful.
Comments
Thanks Ralph.I did try out that option but somehow the old values are not getting updated.XML generated with the CSV file is not correct I guess,I am still working on that though.Is there any other workaround as well?
You need to get the mapping right.
This is the only approach, except you want to do custom API programming - which will be more effort.
Hi Raplh,
It works perfect when we have just one value in the CSV.But when more than one value is added,it doesn't like it.Below is the file that is generated by RTC when you export the query and the work item has multiple values.They are separated by comma,even though it says 'tab' is the delimiter. Can you please check and let me know if the syntax in the CSV file is accurate.
This is how the CSV looks-
Type Id Datastore New Datastore
Asset 888 UTL,FIA UTL
Asset 891 FIA,FSA FIA
Asset 889 ORD,UTL ORD
One other answer
In the old version, the enumeration values were stored as a comma separated list.
If you export the new format with values (default settings), you will notice, that the enumeration list values are separated by a line break.
I would suggest to
If you export the new format with values (default settings), you will notice, that the enumeration list values are separated by a line break.
I would suggest to
- Export the values
- Rename the column
- Replace the comma (,) by a line break - all values need to be enclosed in quotes
- Start the importer, generate a default mapping file
- Import using the mapping file
I tried to export an enumerationList that way and imported into a new work item and it worked for me.