Edgewall Software
Modify

Ticket #876 (closed defect: duplicate)

Opened 7 years ago

Last modified 5 years ago

Possibility to set reassign field to a drop down list.

Reported by: tonib Owned by: jonas
Priority: normal Milestone:
Component: ticket system Version: devel
Severity: normal Keywords:
Cc:
Release Notes:
API Changes:

Description

It would be nice if it would be possible to set
the reassign field to a drop down list.

For example through trac.ini. Something like:

[notification]
reasssign_list = person1, person2, person3

Attachments

dropdown.diff (4.9 KB) - added by muti@… 7 years ago.
Dropdown List

Download all attachments as: .zip

Change History

comment:1 Changed 7 years ago by anonymous

  • Component changed from general to ticket system
  • Version changed from 0.7.1 to devel

comment:2 Changed 7 years ago by muti@…

Attached is a patch that will grab the list of users from the session table and add to a dropdown list. The session table gets cleared automatically after the record has been dormant for 90 days so I added a variable to trac.ini under the [trac] section named disable_session_purge which can be set true or false (defaults to false).

This modifies the assign-to and the re-assign field.

Changed 7 years ago by muti@…

Dropdown List

comment:3 Changed 7 years ago by jburley

Unfortunately, this didn't work right out of the box for me on Win32. After patching the necessary files the dropdown on the New Ticket page was empty.

I tried going back in and saving my settings, but that did not help.

Any ideas?

comment:4 Changed 7 years ago by Josh Burley <jburley@…>

Note: on windows, for my install, I had to recompile Ticket.py by hand... removing Ticket.pyc was not sufficient... weird, eh? :)

comment:5 Changed 7 years ago by cmlenz

  • Resolution set to duplicate
  • Status changed from new to closed

This is actually a duplicate of #222.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.