Modify

Opened 11 years ago

Closed 11 years ago

#10837 closed enhancement (fixed)

How to change the ticket template ?

Reported by: guillaume.chomat@… Owned by: Roberto Longobardi
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

Hi,

First of all, big thanks for your great job !!! ;-) I wonder how to change the template of the ticket ? In fact i would like to set automatically some fields when using the open ticket feature from a test cases.

Thanks in advance for your answer.

Guillaume Chomat

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by Roberto Longobardi

Resolution: fixed
Status: newclosed

Hi Guillaume, the feature you are looking for is documented here.

You should install the TracTicketTemplatePlugin and define a template for your tickets in which you may use the parameters "testCaseNumber", "planId" and "planName", as explained in the manual.

For example, you may write your template as follows:

Name of tester: 
Day of the test: 
Test Case: %(testCaseNumber)s
ID of the test plan: %(planId)s
Name of the test plan: %(planName)s
Operating system: 
Browser: 
Environment:

Detailed description of the problem found: 


This is of course just an example, but the important thing to notice is that your template may contain a reference to the test case and test plan information, which will be automatically filled by the TracTicketTemplatePlugin based on the input parameters that the TestManagerForTracPlugin will pass.

Having a reference in the ticket text is not mandatory, anyway, since the link is created by means of the ticket custom fields that are automatically filled in when opening a ticket from the test case [in the plan] page.

If you open the ticket from a "test catalog -> test case" page, the plan name and ID will be left blank (meaning the test case fails independently of the test plan?), while if you do it from the "test plan -> test case" page, the plan information will be filled automatically.

Hope this helps, ciao. Roberto

comment:2 Changed 11 years ago by anonymous

Resolution: fixed
Status: closedreopened

Hi Robertor,

Thank you for your detail explanation. I will try to use the Ticket Template plugin as mentionned

But how can i change the summary of the ticket ? It is possible ?

Kind regards

comment:3 Changed 11 years ago by Roberto Longobardi

Resolution: fixed
Status: reopenedclosed

Hi, just edit the wiki page and change the text enclosed in double equal signs.

Check the manual on Trac-hacks for the exact procedure.

Ciao, Roberto

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Roberto Longobardi.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.