Custom Query (332 matches)
Results (283 - 285 of 332)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#222 | invalid | Wrong number of the new ticket comment | bas | stas.agarkov@… |
Description |
This is error: # How many changes has this ticket cnum = len(tkt.get_changelog()) All right: # How many changes has this ticket cnum = len(tkt.get_changelog())+1 |
|||
#223 | fixed | Incorrectly sets the number of comments | bas | stas.agarkov@… |
Description |
email2trac incorrectly sets the number of comments, because it is based on a number of changes to the table ticket_change. trac uses the TicketModule?.grouped_changelog_entries, which returns a list of changes, in which simultaneous changes are grouped into one that is as it appears in the trac. Your code: ## How many changes has this ticket # cnum = len(tkt.get_changelog()) Right code: # How many changes has this ticket from trac.ticket.web_ui import TicketModule grouped = TicketModule(self.env).grouped_changelog_entries(tkt, self.db) cnum = sum(1 for e in grouped) + 1 |
|||
#130 | fixed | ticket owner, version and milestone for new ticket | bas | steve |
Description |
Hi, great tool, thanks! Would it be possible to add functionality to parse the header for owner,version and milestone information of the new ticket. For example a header (subject-line) may look like: Ticketname?owner=steve&version=0.1&milestone=1 Would be a great feature i think ;-) |
Note: See TracQuery
for help on using queries.