Trac Ticket View
The Trac ticket view is you browse trac tickets
Opening
:TTOpen <optional ticket_id>
Browsing
You can scroll up and down the ticket list. Pressing enter will load the ticket id under the cursor.
Note: If you are browsing a large ticket base you might want to modify the initial filters to speed up selection. You can fool around with the following trac variable in your .vimrc
let g:tracTicketClause = 'status!=closed;user=michael'
Adding Comments
The bottom right screen is for adding comments. To commit a comment either use :w<cr> or :TTAddComment
Changing ticket states
Trac current ticket option modifications (use tab complete)
- :TTSetMilestone <Milestone>
- :TTSetType <Type >
- :TTSetStatus <Status>
- :TTSetResolution <Resolution>
- :TTSetPriority <Priority >
- :TTSetSeverity <Severity >
- :TTSetComponent <Component>
- :TTSetSummary <Summary >
The setting will immediately be sent to the server.
Creating Tickets
(added in 0.2.2.1)
This is still a bit of a hack. If you add a description in the TICKET_COMMENT window and type the command
:TTCreateTicket <ticket summary>
A new ticket will be created with the default attributes (set in trac.ini)
Adding/Retrieving attachments
Added as of 0.2.3
:TTAddAttachment <file_path>
Adds a ticket to the current open ticket
:TTGetAttachment <file>
Retrieves an atteched file and saves it to the current working directory. File options for the current ticket may be viewed with <tab> completion.
Filters
TODO: Describe Filters Here
It's possible to create custom filters via functions in your vimrc.
Example of a Custom Filter added
"Trac Plugin Custom Filter
com! -nargs=? -complete=customlist,ComType TTFilterMyPriority call FilterMyPriority()
fun! FilterMyPriority()
python trac.ticket.filter.add('michael', 'owner', True, False)
python trac.ticket.filter.add('trivial', 'priority', False, False)
python trac.ticket.filter.add('minor', 'priority', False, True)
endfun
Note: As of 0.2.3 attachment descriptions have not been added.
Outstanding Bugs
Planned Enhancements
- #35
- Add Filter save option
- #38
- Color coded priority tags
- #40
- Add ticket changelog filters
- #45
- Create Contect menu options for ticket attributes
- #47
- Add integration into Calendar.vim for Milestone info
- #53
- Add Version settings on tickets
- #55
- Consolidate Ticket Set/Filter/Resolve commands with improved auto completes
Misc Tasks
No results
