Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

Last modified 16 years ago

#2604 closed defect (fixed)

fetching a ticket by list of ids in TicketQuery

Reported by: Karlina Owned by: Christian Boos
Priority: normal Milestone: 0.11
Component: report system Version: 0.9.2
Severity: trivial Keywords: query
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Seems the existing TicketQuery macro cannot display a ticket by its ticket number. I was trying

[[TicketQuery(id=1)]]

and it didn't show anything, no error either.

Attachments (0)

Change History (5)

comment:1 by sid, 17 years ago

It seems to me that if you already know the ticket id, there is no need to search for it… proposing a wontfix resolution for this.

comment:2 by Christian Boos, 17 years ago

Milestone: 0.11
Owner: changed from Jonas Borgström to Christian Boos
Severity: minortrivial
Summary: fetching a ticket by id in TicketQueryfetching a ticket by list of ids in TicketQuery

This makes sense for lists of ticket ids, though.

I want to implement this anyway by extending the TracLinks syntax for ticket ids, e.g. #12,23,34 (see #3011), so it would cost nothing to add that to the TicketQuery macro, which additionally will give you the ability to add constraints (set the order, group, …) and to specify an output format for such lists.

comment:3 by Noah Kantrowitz (coderanger) <coderanger@…>, 17 years ago

See also #4119 for the cause of this issue.

comment:4 by Christian Boos, 17 years ago

Resolution: fixed
Status: newclosed

Implemented in r4239.

comment:5 by Christian Boos, 16 years ago

Component: wikireport system
Keywords: query added

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.