Autocomplete user fields (assigned to and CC) on tickets


This plugin allows autocompletion of users for the owner, reporter 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.

In addition to fields on new and existing tickets, the following fields are also autocompleted:

  • User and group fields on the admin Permissions page.
  • User field on the admin Components page (forthcoming).
  • Ticket custom fields (forthcoming).

illustration of the AutocompleteUsers on the CC field

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

This autocomplete feature is implemented using AJAX. A /subjects URL is served which presents the users and/or groups in a format suitable for the jQuery Autocompleter. The plugin should gracefully degrade when JavaScript is disabled.

See also: TracAutoCompletePlugin

Bugs/Feature Requests

Existing bugs and feature requests for AutocompleteUsersPlugin are here.

If you have any issues, create a new ticket.


31 / 36


12 / 18


7 / 9


Download the zipped source from here.

There is also a version on PyPi.


Check out AutocompleteUsersPlugin from here using Subversion, or browse the source with Trac.


You can install this plugin with the easy_install or pip command:

$ easy_install
$ pip install svn+

After installing the plugin, add the following to your trac.ini file:

autocompleteusers.* = enabled


Activate user completion for custom fields:

fields = tester, reviewer

Recent Changes

16779 by rjollos on 2017-08-26 19:53:01
TracAutocompleteUsersPlugin 0.4.4dev: Don't autocomplete select fields

Fields should not be autocompleted when [ticket] restrict_owner
is enabled.

16480 by rjollos on 2017-04-10 19:33:55
TracAutocompleteUsersPlugin 0.4.4dev: Fix autocomplete on newticket in Trac 1.2

Patch by Jun Omae.

Fixes #13115.

16060 by jun66j5 on 2016-12-08 03:10:40
0.4.4dev: make compatible with Trac 1.2 and add unit tests (closes #12981)


Author: k0s
Maintainer: jun66j5, Tetsuya Morimoto
Contributors: tenzochris, Sebastian Krysmanski, mitar, manski, chrisheller, rjollos

Last modified 16 months ago Last modified on Dec 13, 2016, 9:37:21 AM

Attachments (1)

Download all attachments as: .zip