Source: factory.core/ObjTicketComment.py
Manages comments on tickets.
Supports internal-only comments (visible to staff
only) and soft-delete. Each comment is linked to
a parent ticket via TicketGuid.
| Method | Signature | Description |
|---|---|---|
| read | read(guid: str) -> int |
Load a comment by its guid. |
| create | create(ticket_guid: str, comment_text: str, commented_by: str = '', is_internal: str = 'N', package: str = '') -> str |
Create a new comment on a ticket. |
| get_comments | get_comments(ticket_guid: str, include_internal: bool = False) -> list |
Get comments for a ticket. |
| delete_comment | delete_comment(guid: str) -> None |
Soft-delete a comment. |
List comments for a ticket.