Delete custom attributes in RTC
4 answers
Solution:
Rename the old attribute to something that will fall to the bottom of the query list. Here is what I did for an attribute that was not used in any of my workitems.
Steps: (From Eclipse)
1. Pick any workitem type, e.g., Risk.
2. Check the "Show only custom attributes" box
3. Select Add
4. Select "Reuse Existing Attribute"
5. Find the old attribute you do not want people to us in the query list in the "Attribute" pull-down box.
6. Edit the attribute you added.
7. Change the name of the attribute. Example: zOld_Completion_Time
8. Select save.
9. Now remove the attribute from the workitem.
10. Select save.
11. Repeat as necessary with all old attributes.
I know there may be an easier way, but this workaround suffices for my purposes. The users will not be confused as to which attribute to use when creating queries.
James
Comments
Yes; you can delete work items with the proper permissions set. Location in eclipse: Process Configuration -> Team Configuration -> Permissions -> Actions -> Work Items -> Delete Work Item (Server) -> Delete Work Item.
No; you can not delete customized attributes.
Thanks James... My apologies... I have mentioned it as deleting WI... I was keen on knowing if we have the feature to delete ATTRIBUTES.
Comments
This is not completley true. The query editor has more than one tab. In the Column Display tab, all attributes still appear. Interestingly enough, when comparing the behavior of the Column Display tab from the Eclipse client to the web client... ALL "archived" attributes appear in the Eclipse client, but some archived attributes don't appear in the web client though I am not sure why, and no option for displaying archived attributes it present.
I think IBM still has more to do, too. For example, I don't want to see archived attributes in:
1) Permissions (nobody should have permission to edit a removed attribute...but even after I manually remove those permissions so that the attribute id no longer appears anywhere in the process source, a blank box still remains there)
2) Column Options (Eclipse Client "Work Items" view where query results are displayed)
Is there really no one who can provide help to clean out our old stuff? We would happily edit out database directly to clean them out, but I honestly am not sure there is a person at IBM that knows how because the system is so vast.
you cannot delete attributes, because it would change history. you would have to delete every workitem which ever used that attribute.
thus the 'archive' attribute approach. but as noted, one has to be careful not to confuse the users, who MAY want to use them in a query (a small number of times).
deleting workitems also changes every report.. use the power carefully.
Except you could have created this attribute with an error and you want to delete without it ever being used, which is my main reason.
Attributes that have been used, i wouldn't want to delete.
Comments
Laura Hammond
Jun 15 '12, 1:29 p.m.Did you ever figure out the answer to your question? I'm having the exact same issue!
Ashwini Malhotra
Jun 15 '12, 1:29 p.m.Nope, Seems it is not possible in RTC for now.
Yohko Tanaka
Jun 15 '12, 1:29 p.m.Did you find any way to resolve this situation? I'm having the same trouble.