Version 10 (modified by anonymous, 8 years ago) (diff)


Autocomplete user fields (assigned to and CC) on tickets using AJAX


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

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

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)
15410 by rjollos on 2016-03-06 22:38:12
0.4.4dev: Remove use of deprecated $.browser

The $.browser function was removed in jQuery 1.9.

The plugin should continue to work with modern versions of all
major browsers.

Fixes #12664.



Author: k0s
Contributors: tenzochris

Attachments (1)

Download all attachments as: .zip