RTC customizaation
Though the field got removed from the editor presentations, the query presentation still have the removed fields in it.
Can anyone tell, how to remove a field from the query presentation also.
3 answers
I think this is impossible for built in attributes, I just checked and you can't remove them from the work item types. You can only remove the presentation.
It is possible for custom attributes. I think i had a similar issue with a custom field once. So here is what I think I did with a custom attribute:
Remove the field from all the work item types you don't want it. It is going into the queries because the work item type has it defined. To do that, I think you need to remove all references to the attribute. For instance as you did in the presentation.
Ralph
We have customized the Jazz presentation by removing some fields from the presentation, but we are trying to find the way to completely remove the field from Jazz as it is appearing on the custom query.
Though the field got removed from the editor presentations, the query presentation still have the removed fields in it.
Can anyone tell, how to remove a field from the query presentation also.
Hi, I assume you are talking about Team Concert.
I think this is impossible for built in attributes, I just checked and you can't remove them from the work item types. You can only remove the presentation.
It is possible for custom attributes. I think i had a similar issue with a custom field once. So here is what I think I did with a custom attribute:
Remove the field from all the work item types you don't want it. It is going into the queries because the work item type has it defined. To do that, I think you need to remove all references to the attribute. For instance as you did in the presentation.
Ralph
We have customized the Jazz presentation by removing some fields from the presentation, but we are trying to find the way to completely remove the field from Jazz as it is appearing on the custom query.
Though the field got removed from the editor presentations, the query presentation still have the removed fields in it.
Can anyone tell, how to remove a field from the query presentation also.
Hi Ralph,
Thanks for the response. I'll try this.
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
James Freeman
Jun 13 '12, 9:48 a.m.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