Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#6842 closed enhancement (worksforme)

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

Reported by: jason.trahan@… Owned by: Christian Boos
Priority: normal Milestone:
Component: wiki system Version: devel
Severity: normal Keywords:
Cc: ilias@… Branch:
Release Notes:
API Changes:
Internal Changes:

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 (0)

Change History (2)

comment:1 by ilias@…, 16 years ago

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

comment:2 by jason.trahan@…, 16 years ago

Resolution: worksforme
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.