__init__(self,
compmgr,
init=<function __init__ at 0x7f8a61c78b90>,
cls=<class 'trac.ticket.api.TicketSystem'>)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
|
|
get_available_actions(self,
req,
ticket)
Returns a sorted list of available actions
source code
|
|
|
get_all_status(self)
Returns a sorted list of all the states all of the action
controllers know about.
source code
|
|
|
|
|
|
|
|
|
reset_ticket_fields(self)
Invalidate ticket field cache.
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eventually_restrict_owner(self,
field,
ticket=None)
Restrict given owner field to be a list of users having
the TICKET_MODIFY permission (for the given ticket)
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_resource_description(self,
resource,
format=None,
context=None,
**kwargs)
source code
|
|
|
format_summary(self,
summary,
status=None,
resolution=None,
type=None)
source code
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
Static Methods
Class Variables
restrict_owner = <BoolOption [ticket] "restrict_owner">
default_version = <Option [ticket] "default_version">
default_type = <Option [ticket] "default_type">
default_priority = <Option [ticket] "default_priority">
default_milestone = <Option [ticket] "default_milestone">
default_component = <Option [ticket] "default_component">
default_severity = <Option [ticket] "default_severity">
default_summary = <Option [ticket] "default_summary">
default_description = <Option [ticket] "default_description">
default_keywords = <Option [ticket] "default_keywords">
default_owner = <Option [ticket] "default_owner">
default_cc = <Option [ticket] "default_cc">
default_resolution = <Option [ticket] "default_resolution">
Properties
Inherited from object:
__class__
Method Details
__init__(self,
compmgr,
init=<function __init__ at 0x7f8a61c78b90>,
cls=<class 'trac.ticket.api.TicketSystem'>)
(Constructor)
source code
x.__init__(...) initializes x; see help(type(x)) for signature
- Overrides:
object.__init__
- (inherited documentation)
Returns list of fields available for tickets.
Each field is a dict with at least the 'name', 'label' (localized)
and 'type' keys.
It may in addition contain the 'custom' key, the 'optional' and the
'options' keys. When present 'custom' and 'optional' are always True.
Return the list of fields available for tickets.
- Decorators:
Return the list of custom ticket fields available for tickets.
- Decorators:
Return a mapping from field name synonyms to field names.
The synonyms are supposed to be more intuitive for custom queries.
Class Variable Details
action_controllers
- Value:
<OrderedExtensionsOption [ticket] "workflow">
reserved_field_names
- Value:
['report',
'order',
'desc',
'group',
'groupdesc',
'col',
'row',
'format',
...
Property Details
change_listeners
List of components that implement
ITicketChangeListener
- Get Method:
- unreachable.extensions(component)
- Return a list of components that declare to implement the extension
point interface.
milestone_change_listeners
List of components that implement
IMilestoneChangeListener
- Get Method:
- unreachable.extensions(component)
- Return a list of components that declare to implement the extension
point interface.