Is it possible to update the type of an attribute?
![]()
In project 1, a custom attribute with id=att_yesno and of type enum (pointing to the enum with id=yes/no) was added to a defect WI.
In project 2, which serves now as reference process, the same custom attribute with id=att_yesyno of type enum (but pointing towards the enum with id=yesno) was added long time ago.
When forcing project 1 to use project 2 process to facilitate process management, RTC is unable to detect the enum of that custom attribute of the defect in project 1.
My question is whether it is possible to do an update of the process in project1 in order to use the new enumeration with id=yesno? (probably some db manipulation is needed??)
I could add also the enum with id=yes/no but this is of course overhead. I tried it anyway and it works but this change blocks the operation behavior on the defect attribute att_yesno because I believe RTC is being confused by the fact the same attribute is pointing towards 2 different enumeration in the 2 projects.
<enumeration attributeTypeId="yesno" name="Yes/No">
|
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Mar 22 '13, 8:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Steve, I am not sure if this is possible. I'd rather think it is not. I assume the ID's are stored somewhere in the database and used to find the attribute value.
If I had to solve that I would probably take a different approach - on a test server first. I would export the values of the work items with their old process using a query - you might have to increase the query limit for that f you have more than 1000 items. I would then change the process and synchronize the attributes to get the new enumeration, if possible. Then I would use the export of the work items and update the work items. I would try to import the CSV results and map the enumeration to my new ID - make sure the literals match. Steve Willems selected this answer as the correct answer
|
One other answer
![]()
@ralph, I have a test environment so I can try it, but with this approach, will all links not be lost? (e.g. links with RQM)
Comments 2
The suggestion is to export the attribute data into CSV, include the work item ID in the export.
|
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.