Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7280 closed defect (fixed)

description_default not in trac.ini documentation

Reported by: lfrancis Owned by: osimons
Priority: normal Milestone: 0.11.1
Component: ticket system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

description_default seems to work in the ticket section of the trac.ini, but it isn't documented on http://trac.edgewall.org/wiki/TracIni

Attachments (0)

Change History (5)

comment:1 by Kamil Kisiel <kamil@…>, 16 years ago

I think in general default_anything will work for any field, but I agree this should be documented on the wiki page.

comment:2 by Eli Carter, 16 years ago

Component: generalticket system
Owner: changed from Jonas Borgström to Christian Boos

comment:3 by osimons, 16 years ago

Milestone: 0.11.1
Owner: changed from Christian Boos to osimons

Interesting. Here are the working-but-undocumented fields from my testing: summary, description, keywords, cc, owner.

These are slightly obscure options that likely have been working for a long time, so I don't intend to add them with much fanfare:

  • trac/ticket/web_ui.py

     
    8080    default_severity = Option('ticket', 'default_severity', '',
    8181        """Default severity for newly created tickets.""")
    8282
     83    default_summary = Option('ticket', 'default_summary', '',
     84        """Default summary (title) for newly created tickets.""")
     85
     86    default_description = Option('ticket', 'default_description', '',
     87        """Default description for newly created tickets.""")
     88
     89    default_keywords = Option('ticket', 'default_keywords', '',
     90        """Default keywords for newly created tickets.""")
     91
     92    default_owner = Option('ticket', 'default_owner', '',
     93        """Default owner for newly created tickets.""")
     94
     95    default_cc = Option('ticket', 'default_cc', '',
     96        """Default cc: list for newly created tickets.""")
     97
    8398    default_resolution = Option('ticket', 'default_resolution', 'fixed',
    8499        """Default resolution for resolving (closing) tickets
    85100        (''since 0.11'').""")

But, should we add them all? Any reason to keep a particular field as internal/undocumented/unsupported?

comment:4 by Christian Boos, 16 years ago

The proposed change is fine for me.

comment:5 by osimons, 16 years ago

Resolution: fixed
Status: newclosed

Committed in [7368] for 0.11-stable, and merged to trunk in [7369].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from osimons to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.