Hi,
I am a TRAC novice. I am using the [ticket-custom] section to add more entries to the New Ticket menu. Now, I want to do something more complex: I have two entries like the ones below:
defect_sw_level = select
defect_sw_level.label = Defect Found in SW
defect_sw_level.options = Not a SW Defect |
V179_Alpha |
V179_Charlie
defect_sub_level = select
defect_sub_level.label = Defect explanation
defect_sub_level.options = ONE |
TWO |
THREE |
BLUE |
RED |
WHITE
I want defect_sub_level to display approved items depending on the value selected in defect_sw_level .......
For example, if I select V179_Alpha on defect_sw_level I want the menu for defect_sub_level to show something like 'ONE', 'TWO', 'THREE'.
But if I select V179_Charlie on defect_sw_level I want the menu for defect_sub_level to show something like 'BLUE', 'RED', 'WHITE'.
That way I do not have to create a gigantic menu for defect_sub_level if the options that are derived from defect_sw_level increase in time.
I have read about plugins, but I am not familiar how to add them to the database (just the python file ??) and how to tell trac-ini to pick them up.
Thanks !!
Carlos
I have read about plugins, but I am not familiar how to add them to the database (just the python file ??) and how to tell trac-ini to pick them up.