Version 34 (modified by Ryan J Ollos, 5 years ago) (diff)

Added syntax highlighting.

Autocomplete user fields (assigned to and CC) on tickets


The AutocompleteUsersPlugin allows AJAX completion 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. A /subjects URL is served which presents the users and/or groups in a format suitable for the jQuery Autocompleter. The AutocompleteUsersPlugin should gracefully degrade when JavaScript is disabled. In addition to fields on new and existing tickets, the following fields are also autcompleted:

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

Note: Email addresses shown by this plugin are handled accordingly 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 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.

See also: TracAutoCompletePlugin

Bugs/Feature Requests

Development News

Version 0.4.2dev 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.

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.


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

autocompleteusers.* = enabled


Screenshot of the plugin in action:

illustration of the AutocompleteUsers on the CC field

Recent Changes

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.

17202 by rjollos on 2018-06-13 18:51:08
TracAutocompleteUsersPlugin 0.4.5dev: Remove incorrect version constraint


Author: k0s
Maintainer: rjollos, jun66j5
Contributors: tenzochris, Sebastian Krysmanski, mitar, manski, chrisheller
License: BSD 3-Clause

Attachments (1)

Download all attachments as: .zip