Edgewall Software

Changes between Version 1 and Version 2 of Ticket #12414, comment 11


Ignore:
Timestamp:
May 7, 2020, 8:33:58 PM (4 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12414, comment 11

    v1 v2  
    44You can append to the comment in `ITicketManipulator.validate_ticket`, and update the PR in `ITicketChangeListener.{ticket_created/ticket_changed/ticket_comment_modified}`, or update the PR in `ITicketManipulator.apply_ticket_side_effects` if you need access to the `req` to get the PR id?
    55
     6Since `ITicketManipulator.apply_ticket_side_effects` doesn't exist yet, if you need access to fields from the `Request` you could add those to the ticket object in `ITicketManipulator.validate_ticket`.
     7
    68`ITicketManipulator.validate_ticket` is primarily document as being for identifying problems and rejecting changes, but it's location in the request processing makes it very useful for modifying the ticket changes.
    79