What cleanup/purge task removes deleted tags so that they no longer appear as candidates?
We noticed that after you delete a tag, so that it no longer appears in any work items, that it is not immediately removed from the repository. Specifically, it continues to appear in the popup list of candidate tags when you start typing the name of a tag in a work item.
We also noticed that when checking again the next day, the tag is removed from the list of candidate tags.
It is almost certainly some kind of cleanup task. This isn't a matter of cache clearing or logging out and back in again etc..
Questions:
What cleanup task removes these deleted tag candidates from the list of tags displayed? What is the default interval of that task? Is that task configurable?
|
One answer
It looks likely that it is this Advanced Property task, as we have witnessed the tag candidates will disappear in about an hour after they were deleted with default settings in place. Note that there is some other cache involved however, so even if you turn on this task every 30 seconds from CCM Advanced Properties it will take much longer to disappear.
ItemCleanupTask (By default runs every 1020 seconds = 17 minutes)
For the record, it is important to delete all instances of a certain tag for that tag to disappear from the candidate list, so creating a query to make sure of that is a good idea. You can use Tags IS or IS NOT as condition to narrow down.
And you can also manage the behavior. See this article for details:
Filtering work item tag proposals by using value sets
|
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.