Edgewall Software

Ticket #6842 (closed enhancement: worksforme)

Opened 10 months ago

Last modified 10 months ago

Add an option to support what fields should be displayed when using TicketQuery

Reported by: jason.trahan@… Owned by: cboos
Priority: normal Milestone:
Component: wiki system Version: devel
Severity: normal Keywords:
Cc: ilias@…

Description

We recently had some requests from our management team to have the ability to specify the field names when using the TicketQuery macro. Right now it appears that the table is fixed and we cannot specify any of the fields. My request is to add a new option when using table mode to all the users to select the fields.

Example

[[TicketQuery(id=1, format=table, fields=id|status|description|customfield)]]
}}

Attachments

Change History

Changed 10 months ago by ilias@…

  • cc ilias@… added

With trac 0.11 you could use

TicketQuery(id=1&col=id&col=status&col=description&col=customfield, format=table)

If you use 0.10 or if you like to have predefined sets of fields, you could use this custom code (plugin, not sure if it works with 0.10):

http://dev.lazaridis.com/base/browser/infra/tracx/tracx/query.py

further information within

http://dev.lazaridis.com/base/wiki/PlanTicketQueryMacro

and within ticket #4005

Changed 10 months ago by jason.trahan@…

  • status changed from new to closed
  • resolution set to worksforme

Thanks this is exactely what we are looking for. This option works perfectly.

Add/Change #6842 (Add an option to support what fields should be displayed when using TicketQuery)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.