Display different status bars for tickets in roadmap description

11 views
Skip to first unread message

Thyrador Uhtmârson

unread,
Apr 14, 2015, 2:48:46 PM4/14/15
to trac-...@googlegroups.com
Hey guys, just a little question here: How can I add different ticket types to be displayed in milestone description? Like the Bugs/Feature Requests on this page: https://trac-hacks.org/wiki/GroupTicketFieldsPlugin

RjOllos

unread,
Apr 14, 2015, 3:31:28 PM4/14/15
to trac-...@googlegroups.com
On Tuesday, April 14, 2015 at 11:48:46 AM UTC-7, Thyrador Uhtmârson wrote:
Hey guys, just a little question here: How can I add different ticket types to be displayed in milestone description? Like the Bugs/Feature Requests on this page: https://trac-hacks.org/wiki/GroupTicketFieldsPlugin

Trac has a selector on the right-hand-side of the milestone page to display tickets status by a criteria that you select. Here is an example:

Thyrador Uhtmârson

unread,
Apr 14, 2015, 5:03:49 PM4/14/15
to trac-...@googlegroups.com
Yeah, I already know that. Problem with that is that you have to enter the milestone to display the selector.

I just want to have something like that in the milestones description to show it on the roadmap.
This way I can provide some crucial informations without entering each milestone

Ryan Ollos

unread,
Apr 14, 2015, 5:12:39 PM4/14/15
to trac-...@googlegroups.com
You could just use the TicketQuery macro in the description, like on the wiki page you cited:
[[TicketQuery(component=GroupTicketFieldsPlugin,group=type,format=progress)]]

Thyrador Uhtmârson

unread,
Apr 14, 2015, 6:18:47 PM4/14/15
to trac-...@googlegroups.com
Thanks for that suggestion.

Tried that one but by description keeps empty. Am I missing something?

Ryan Ollos

unread,
Apr 14, 2015, 6:35:39 PM4/14/15
to trac-...@googlegroups.com
On Tue, Apr 14, 2015 at 3:18 PM, Thyrador Uhtmârson <thyr...@googlemail.com> wrote:
Thanks for that suggestion.

Tried that one but by description keeps empty. Am I missing something?

Do you mean that you are trying to group "by description"? You can only group by select fields. Could you post the oneliner showing your use of the macro? 
Message has been deleted

Thyrador Uhtmârson

unread,
Apr 14, 2015, 6:38:39 PM4/14/15
to trac-...@googlegroups.com
Ah, damn typo. That was supposed to mean "my description".
You know, that one containing some information about the milestone.

Just pasted your suggested code

Thyrador Uhtmârson

unread,
Apr 14, 2015, 6:58:07 PM4/14/15
to trac-...@googlegroups.com
Well, looking bit more into your example got me to the right direction. Now I got what I want, thank you.

I really appreciate your help :)
Reply all
Reply to author
Forward
0 new messages