Opened 5 years ago

# Tag wiki pages with ticket fields

Reported by: Owned by: Sam Halliday normal TagsPlugin normal 1.0

### Description

As originally discussed in the following thread

It would be really great if it were possible to tag a wiki page with components/milestones so that the milestone/component pages themselves would show all wiki pages associated to the item. At the moment, milestones only show tickets listed against them and I'm not sure if it is possible to see a "component" view with all the tickets.

### comment:1 Changed 5 years ago by Sam Halliday

Summary: Tag wiki pages with components and milestones → Tag wiki pages with ticket fields 0.11 → 1.0

I'd like to extend this RFE to allow all "select" fields from the tickets to be available as properties on the wiki pages (as we've discussed in depth when TH was down).

My use case: I have a custom select field labelled "Work Package" and I would like to be able to "tag" wiki pages against multiple "Work Package" entries (and potentially components, miltestones, etc).

### comment:2 in reply to:  description ; follow-up:  3 Changed 4 years ago by Ryan J Ollos

I'm going to try and break this down because I believe that no changes are needed to the TagsPlugin for at least some of the features requested.

It would be really great if it were possible to tag a wiki page with components/milestones

This can be done. Just use the milestone or component name as a tag on the wiki page (provided it doesn't have whitespace).

so that the milestone/component pages themselves would show all wiki pages associated to the item.

You would then show the wiki pages associated with the Component or Milestone by using the ListTagged macro in the description or the Component or Milestone.

At the moment, milestones only show tickets listed against them and I'm not sure if it is possible to see a "component" view with all the tickets.

Once trac:#1233 is complete, Components and Versions will have their own pages (see trac:comment:24:ticket:1233 and comments that follow). You can then use the ListTagged macro to show tagged items associated with these objects by placing the macro call in the description. A list of tickets for the Component view could be generated using the TicketQuery macro at least, provided it is not added to the page as part of trac:#1233.

The StackOverflow thread seems to suggest allowing Milestone and Components to be tagged, so if there is a reasonable feature request buried it this ticket, it appears to be that.

The feature request in comment:1 seems to be: Use arbitrary custom fields as tags sources.

Last edited 4 years ago by Ryan J Ollos (previous) (diff)

### comment:3 in reply to:  2 Changed 4 years ago by Steffen Hoffmann

It would be really great if it were possible to tag a wiki page with components/milestones

This can be done. Just use the milestone or component name as a tag on the wiki page (provided it doesn't have whitespace).

Amazing, how it helps to choose another approach towards resolving the demand mainly by looking from a different point view.

The StackOverflow thread seems to suggest allowing Milestone and Components to be tagged, so if there is a reasonable feature request buried it this ticket, it appears to be that.

I agree that primarily this is about adding milestone and component as tag-able realms, similar to existing requests for changesets (#2404) and repositories (#9902).

If we can agree on this, the summary should be changed accordingly.

The feature request in comment:1 seems to be: Use arbitrary custom fields as tags sources.

This would refer to #2804.

### comment:4 Changed 20 months ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted

### Modify Ticket

Change Properties