It's all about the answers!

Ask a question

What cleanup/purge task removes deleted tags so that they no longer appear as candidates?

Ian Wark (79713551) | asked Apr 23 '21, 5:39 a.m.
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.

Tag candidates

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..

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

permanent link
Ian Wark (79713551) | answered Jun 07 '21, 10:58 p.m.
edited Jun 07 '21, 10:59 p.m.
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.

Tags query

And you can also manage the behavior. See this article for details:

Filtering work item tag proposals by using value sets

Your answer

Register or 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.