Version 26 (modified by Ryan J Ollos, 6 years ago) (diff)

License changed to BSD 3-Clause.

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

Fork: I have made a small fork on Bitbucket with some improvements/fixes. Feel free to suggest new.

Bugs/Feature Requests

Development News

Version 0.5dev of this plugin is now available. The 0.11 branch is undergoing frequent change. If you want to test out the latest version, report back how it is working and possibly do some debugging, then the latest version is for you. Otherwise, r10974 should be fairly stable.

Recent changes are:

  • TBD

Compatibility notes:

  • TBD

Planned enhancements before 0.5 is released:

  • Use jQuery UI 1.8.16.

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 higher.


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

17161 by rjollos on 2018-04-26 22:59:18
TracAutocompleteUsersPlugin 0.4.4: Release 0.4.4

Bump trunk to 0.4.5dev.

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.



Author: k0s
Maintainer: rjollos
Contributors: tenzochris, Sebastian Krysmanski
License: BSD 3-Clause

Attachments (1)

Download all attachments as: .zip