Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to change the ID of an enumeration in RTC ?

 Hi,

Does anybody know how to change the ID of an enumeration in RTC ? 
Directly in the database ?  trough Eclipse IDE ? 
I have a enumeration who is in use by approximativly 4300 workItems, and his attribut "ID" have a tabulation character that  I want to remove because the RTC java api have a problem with this character in the "id" field. 

0 votes



2 answers

Permanent link

If the ID is already in use, you will have to modify it directly in the database. Of course this will not be officially supported. If you don't want to mess up with your database, create a new attribute/enumeration, replicate the value to the new attribute and abandon the old one.

0 votes


Permanent link

There are process XML based enumerations, there are database based enumerations. They might work different.

Anyway, what you could try - and I would suggest to do that on a test system first:

1. Add a new Enumeration literal to replace the broken one
2. Change all work item values from the broken literal to the new literal (use API or CSV import/export)
3. Remove the broken literal.

I don't know if this would work or not. I am pretty sure it would work with database based enumerations, I am not so sure about the Process XML based enumerations.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 411

Question asked: Apr 04 '18, 11:14 a.m.

Question was seen: 1,949 times

Last updated: Apr 05 '18, 2:18 a.m.

Confirmation Cancel Confirm