How to remove Custom Attributes
Hi,
I create a custom attribute for a work item but have since removed it. This attribute continues to show up in the Web UI when I want to modify columns in a query via the Results Layout tab.
How can I remove this? It is no longer used in a work item, but the id still seems to stick around (eg. Process Configuration > Plan Attribute > Attribute Mapping > "Add")
Since I'm bringing up the Results Layout tab in the Web UI, I also want to state that for some reason, I notice that there are two 'Start Date' attributes when I choose my columns. This is also a custom attribute which I added to a Task and Story work item. Perhaps this is the problem?
Thanks in advance,
Vince-
I create a custom attribute for a work item but have since removed it. This attribute continues to show up in the Web UI when I want to modify columns in a query via the Results Layout tab.
How can I remove this? It is no longer used in a work item, but the id still seems to stick around (eg. Process Configuration > Plan Attribute > Attribute Mapping > "Add")
Since I'm bringing up the Results Layout tab in the Web UI, I also want to state that for some reason, I notice that there are two 'Start Date' attributes when I choose my columns. This is also a custom attribute which I added to a Task and Story work item. Perhaps this is the problem?
Thanks in advance,
Vince-
5 answers
Hi,
I am going to bump this as there has been no reply for quite some time.
Is there a way to remove custom attributes so they don't show up when I create queries?
Thanks,
Vincent-
Was there ever an answer provided for this topic. I too have run into this problem. I created an attribute (Platform) as type string and I want to change it to an enumeration. So I removed the attribute (thinking delete) so I could re-add it with a new type. The configuration editor insists the id still exists. There are no work items which have been created using this attribute.
Yes, custom attributes are never deleted from the database because we need them when retrieving historic states of a work item.
So if you've removed a custom attribute from a work item type definition (and it is gone from the process specification), it will continue to exist in the database, because historic states of the work item refer to the historic type definition, which still uses the attribute.
We try to hide those deleted attributes from most UIs and only show them if you explicitely ask for 'archived' attributes.
If you find places where this is not the case, please file individual defects.
hth,
Andre Weinand
Work Item Team
So if you've removed a custom attribute from a work item type definition (and it is gone from the process specification), it will continue to exist in the database, because historic states of the work item refer to the historic type definition, which still uses the attribute.
We try to hide those deleted attributes from most UIs and only show them if you explicitely ask for 'archived' attributes.
If you find places where this is not the case, please file individual defects.
hth,
Andre Weinand
Work Item Team