Version 16 (modified by Jens Peter Secher, 9 years ago) (diff)

Debian package

Autocomplete user fields (assigned to and CC) on tickets


The AutocompleteUsersPlugin allows AJAX completion of users for the owner and CC fields on new and existing tickets. Currently, all the known users are autocompleted though this could be restricted to those that have the ticket owner permission. A /users URL is served which presents the user data in a format suitable to the javascript autocompleter. The AutocompleteUsersPlugin should gracefully degrade in the case of no JS or the case where [ticket] restrict_owner = true

Note: Email addresses shown by this plugin are handled accordingly to the setting trac.show_email_addresses and the permission EMAIL_VIEW. I.e. if trac.show_email_addresses is set to false and the current user doesn't have the permission EMAIL_VIEW all mail address will be obfuscated as usual in Trac (i.e. email addresses will be displayed as donjaun@... rather than In any other case the full email address is visible.

Alternative: TracAutoCompletePlugin

Bugs/Feature Requests

Existing bugs and feature requests for AutocompleteUsersPlugin are here.

If you have any issues, create a new ticket.

Download and Source

Download the [download:autocompleteusersplugin zipped source], check out using Subversion, or browse the source with Trac. There is also an Unofficial Debian package. AutocompleteUsersPlugin works only for trac 0.11 and greater.


After installing plugin add to trac.ini configuration file following:

autocompleteusers.* = enabled


Screenshot of the plugin in action:

illustration of the AutocompleteUsers on the CC field

Recent Changes

17234 by rjollos on 2018-07-06 01:06:00
TracAutocompleteUsersPlugin 0.4.5dev: Fixup user list on POST

Refs #12952.

17204 by rjollos on 2018-06-14 21:42:58
TracAutocompleteUsersPlugin 0.4.5dev: Fix failure when TicketModule is the default handler

Refs #12952.

17203 by rjollos on 2018-06-13 18:56:44
TracAutocompleteUsersPlugin 0.4.5dev: Allow multi-completion of custom fields

Refs #12952.



Author: k0s
Contributors: tenzochris, Sebastian Krysmanski

Attachments (1)

Download all attachments as: .zip