Opened 2 years ago

Closed 2 years ago

#22988 closed enhancement (fixed)

Make all trac child tickets have the same headers and inherit fields

Reported by: teor Owned by: qbi
Priority: Medium Milestone:
Component: Internal Services/Service - trac Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Hi,

Can you make the table headers for every parent ticket type:
"type, status, owner, summary"

And can you make the child Inherited fields for every parent ticket type:
"cc, version, keywords, component, milestone"

When I try to do this on:

https://trac.torproject.org/projects/tor/admin/childticketsplugin/types

I get the error:

"Warning: Error writing to trac.ini, make sure it is writable by the web server. Your changes have not been saved."

Child Tickets

Change History (8)

comment:1 Changed 2 years ago by dgoulet

For the milestone field, as long as we can change it the child after. I did have tickets that had was a parent and was set to 032 but one of the child in 031. It would really be annoying if the child inherited fields can't be changed and are stuck with the value of the parent.

comment:2 Changed 2 years ago by teor

I assume that's how it works. If not, we can revert that part of the change.

comment:3 Changed 2 years ago by qbi

Changes to trac.ini have to be made via command line and not via web interface. @teor, should I change the settings as you initially proposed?

comment:4 in reply to:  3 Changed 2 years ago by teor

Replying to qbi:

Changes to trac.ini have to be made via command line and not via web interface. @teor, should I change the settings as you initially proposed?

Yes, please.

comment:5 Changed 2 years ago by qbi

I've changed the setting to

parent.enhancement.table_headers = type, status, owner, summary, cc, version, keywords, component, milestone

Could you please confirm that this is working for you?

comment:6 Changed 2 years ago by teor

The table is too wide with that setting, can we just use the following columns:

parent.enhancement.table_headers = status, owner, summary, component
parent.task.table_headers = status, owner, summary, component
parent.project.table_headers = status, owner, summary, component
parent.defect.table_headers = status, owner, summary, component

See, for example:
https://trac.torproject.org/projects/tor/ticket/7126

Can you also make the child Inherited fields for every parent ticket type:
"cc, version, keywords, component, milestone"

comment:7 Changed 2 years ago by qbi

The setting in trac.ini is now

parent.enhancement.table_headers = type, status, owner, summary
parent.task.table_headers = status, owner, summary, component
parent.project.table_headers = status, owner, summary, component
parent.defect.table_headers = status, owner, summary, component
parent.enhancement.inherit = cc, version, keywords, component, milestone
parent.task.inherit= cc, version, keywords, component, milestone
parent.project.inherit = cc, version, keywords, component, milestone
parent.defect.inherit = cc, version, keywords, component, milestone

comment:8 Changed 2 years ago by teor

Resolution: fixed
Status: newclosed

That all seems to be working. Thanks!

Note: See TracTickets for help on using tickets.