Edgewall Software

Ticket #1581 (closed defect: duplicate)

Opened 4 years ago

Last modified 2 years ago

Changing the kind of status of a ticket

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: ticket system Version: 0.8.1
Severity: trivial Keywords: workflow
Cc:

Description

Hello, please, is there any way to change the default status ('new', 'fixed', etc) or add a personalized status ? I am editing Trac for a portuguese language,and will be very useful for me to translate the status of the tickets. Thank you for the attention.

Attachments

Change History

Changed 4 years ago by Jeff Forcier (jeff [at] bitprophet [dot] org)

I don't know if there are any open tickets for implementing this in trac-admin or the Trac front-end, but there is a fairly simple way of doing it manually. It does require re-creating your Trac instances, however, although you could always edit an existing one with a SQLite client.

Edit the db_default.py file in your Trac install (e.g. your Python libraries folder -> site-packages -> trac -> db_default.py). Near the top of this file is a fairly obviously laid out set of tuples which corresponds to the database schema; you'll see a section for the ticket statuses. Just edit to your heart's content (making sure to keep the indexes in order), and the next time you create a new Trac instance, it will reflect the changes you made.

I've done this on my system and it works fine.

Changed 4 years ago by mgood

Please do not edit the built-in "status" values. Currently Trac is not designed to support custom statuses, and it will cause Trac to function incorrectly if you change these values. Ticket #869 for creating custom workflows would help make this possible.

The "resolution" field is less critical and it may be possible to change these values, though this is still not recommended since there are still a few places that this may cause minor problems.

Changed 3 years ago by cboos

  • keywords workflow added

Changed 3 years ago by cboos

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #869

Add/Change #1581 (Changing the kind of status of a ticket)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.