Edgewall Software

Ticket #2604 (closed defect: fixed)

Opened 3 years ago

Last modified 10 months ago

fetching a ticket by list of ids in TicketQuery

Reported by: Karlina Owned by: cboos
Priority: normal Milestone: 0.11
Component: report system Version: 0.9.2
Severity: trivial Keywords: query
Cc:

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

Change History

Changed 2 years ago by sid

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.

Changed 2 years ago by cboos

  • owner changed from jonas to cboos
  • summary changed from fetching a ticket by id in TicketQuery to fetching a ticket by list of ids in TicketQuery
  • severity changed from minor to trivial
  • milestone set to 0.11

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.

Changed 2 years ago by Noah Kantrowitz (coderanger) <coderanger@…>

See also #4119 for the cause of this issue.

Changed 2 years ago by cboos

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

Implemented in r4239.

Changed 10 months ago by cboos

  • keywords query added
  • component changed from wiki to report system

Add/Change #2604 (fetching a ticket by list of ids in TicketQuery)

Author



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