vote up 1 vote down
star

Is there an easy way to see all tags used in the system?

We use tags to classify support cases and are after an easy way to see how many cases wiht each tag have been received/entered in the system.

At the moment finding this out involves listing all tickets grouped/ordered by tag and then going through and counting each one.

flag

2 Answers

vote up 1 vote down
check

Click on "Reports". At the bottom of the list you'll find "Tags."

There, you'll find all of the tags in the system with an intelligent searching field and other cool features.

link|flag
Brilliant. Feel a fool to have missed this. – Matt Lacey Feb 9 at 9:18
No worries. There's a lot of stuff in there! – Marc Moroz Feb 9 at 15:59
A tag could would be neat too: fogbugz.stackexchange.com/questions/2035/… – adambox Feb 17 at 21:16
vote up 0 vote down

It would be nice if the XML API had a listTags command for this, but I can't see one.

If you have access to the database, you can use the following SQL:

SELECT sTag, count(ixBug) FROM tag t JOIN tagassociation a ON t.ixTag = a.ixTag GROUP BY a.ixBug;

To get the names of the cases for each tag:

SELECT sTag, b.ixBug, sTitle FROM tag t JOIN tagassociation a ON t.ixTag = a.ixTag JOIN bug b ON b.ixBug = a.ixBug;

And to just get the list of tags:

SELECT sTag FROM tag t;

link|flag
Unfortunately we're using hosted FogBugz so no database access. :( – Matt Lacey Jan 25 at 14:55

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.