|
|
|
|
|
|
|
|
__setitem__(self,
name,
value)
Log ticket modifications so the table ticket_change can be updated |
source code
|
|
|
|
get_value_or_default(self,
name)
Return the value of a field or the default value if it is undefined |
source code
|
|
|
|
get_default(self,
name)
Return the default value of a field. |
source code
|
|
|
|
populate(self,
values)
Populate the ticket with 'suitable' values from a dictionary |
source code
|
|
|
|
|
|
|
save_changes(self,
author=None,
comment=None,
when=None,
db=None,
cnum='',
replyto=None)
Store ticket changes in the database. |
source code
|
|
|
|
get_changelog(self,
when=None,
db=None)
Return the changelog as a list of tuples of the form
(time, author, field, oldvalue, newvalue, permanent). |
source code
|
|
|
|
|
|
|
get_change(self,
cnum=None,
cdate=None,
db=None)
Return a ticket change by its number or date. |
source code
|
|
|
|
delete_change(self,
cnum=None,
cdate=None,
when=None)
Delete a ticket change identified by its number or date. |
source code
|
|
|
|
modify_comment(self,
cdate,
author,
comment,
when=None)
Modify a ticket comment specified by its date, while keeping a
history of edits. |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|