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

Delete custom attributes in RTC

Is there way to delete Custom attributes that are created and no more in use. I have removed there reference from all work items and deleted them from Type and attribute section in Project config but still see these attributes while creating query.

0 votes

Comments

Did you ever figure out the answer to your question? I'm having the exact same issue!

Nope, Seems it is not possible in RTC for now.

Did you find any way to resolve this situation? I'm having the same trouble.



4 answers

Permanent link

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

0 votes


Permanent link
I usually rename it to something like N/A not to confuse the users

0 votes

Comments

That is an acceptable solution too. James


Permanent link
Hi, 

Is deleting WI possible in RTC 3.0.1 today? I see workarounds mentioned above. However, I would want to have the attributes removed from the repository. There are many such attributes and want to clean it up. 

Thanks!!

0 votes

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.


Permanent link
In addition: in RTC 4.0 it is now also possible to filter the "deleted", i.e. archived attributes in the "Create Query" dialogue. So if you deleted an attribute in RTC and do not want to see it while creating a query you should upgrade to 4.0 so you are able to filter those attribute types.

0 votes

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.

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
× 369

Question asked: Jan 30 '11, 1:18 a.m.

Question was seen: 10,893 times

Last updated: Mar 17 '14, 9:08 a.m.

Confirmation Cancel Confirm