How are issue tags set up?

fuzzy_texan - September 20, 2009 - 09:17
Project:Project issue tracking
Version:6.x-1.x-dev
Component:Documentation
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

I am looking to implement issue tags on my own drupal site. I have started, but am hitting some problems like how to get the tags to appear in the comment fields, and how to display them with the rest of the issue fields.

These problems must have been solved by whoever set up d.o's issue tags. Is it documented how this was done somewhere? If not, can it be? It would be beneficial for anyone attempting this task.

Thanks.

#1

dww - September 20, 2009 - 09:26
Component:Issues» Documentation
Category:support request» task

Agreed, it should be written up.

Basically:

  1. Define an "Issue tags" freetagging vocabulary that applies to issue nodes
  2. Install the comment alter taxonomy module.
  3. Configure comment alter taxonomy to use the "Issue tags" vocab from step 1

That's about it. Please give that a try. If it works, please provide a patch to the INSTALL.txt file to explain how you got it working.

Thanks!
-Derek

Edit: I missed, it's called "comment_alter_taxonomy"

#2

dww - September 20, 2009 - 09:29

Note to folks following via email... I missed, it's called "comment_alter_taxonomy", not "comment_taxonomy". ;) Now edited in comment #1.

Also, just to mention: the default issue views and the UI should all Just Work(tm) by default once steps 1-3 are done. If you've already got your issue views enabled and happy, you might need to clear your views cache to get the defaults reloaded once you've got the vocabulary configured. If you customized your issue views at all, then you might need a bit more work, but you should be able to study the default views and compare.

#3

fuzzy_texan - September 20, 2009 - 10:19
Assigned to:Anonymous» fuzzy_texan

Awesome, thanks for the help dww. Once tested, I will write it up and (learn how to make a patch then) submit a patch for install.txt.

#4

fuzzy_texan - October 24, 2009 - 21:55
Assigned to:fuzzy_texan» Anonymous

Set up on my site following above instructions. Am able to add issue tags to any issue, but then clicking on an issue tag doesn't show me a list of tagged issues. It comes up with an error illegal choice.

I noticed the link for an issue tag on my site goes to: http://mysite/project/issues/357/term/13

(where project/issues/[nid] is where pathauto sets the paths for all my issues). I noticed on d.o, an issue tag links to http://drupal.org/project/issues/search/project_issue?issue_tags=6.x-1.0...

Any idea what could be causing this?

Fuzz.

 
 

Drupal is a registered trademark of Dries Buytaert.