Edgewall Software

Opened 4 years ago

Last modified 3 years ago

#12414 new enhancement

Improve API for getting comment number — at Initial Version

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: ticket system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

E.g. in ITicketManipulator.validate_ticket it is surprisingly difficult to get the comment number of the comment to be validated.

ticket.get_comment_number(ticket['changetime']) often gives the previous comment number, but fails e.g. when the a comment was edited. (th:12714)

Am I missing something or could the API be improved somehow? Thanks.

Change History (0)

Note: See TracTickets for help on using tickets.