Custom Subject Line for Defect Module Emails
I know that there are ways to alter the subject lines for automatically generated defect emails. However, what can be done (if anything) to alter the subject line for emails sent out from QC by clicking the 'Send Mail' button on the toolbar? How would one alter that email?
This is an ****** requst, so any assistance is appreciated.
This parameter enables you to customize the subject
line of defect email sent automatically to users.
For example, you can define a subject line such as
Defect no. 4321 has changed by providing the value
Defect no. ?BG_BUG_ID has changed, where Defect
no. and has changed are strings, and BG_BUG_ID is
an ALM field name.
To customize the subject line for a specific project,
see "Customizing the Subject of Defect Mail" on
Note: The former parameter name is supported for
purposes of backward compatibility.
Customizing the Subject of Defect Mail
You can customize the subject line of defect email sent automatically to
users, for all projects or for a specific project. For example, you can define a
subject line such as the following:
Defect # 4321 has been created or updated - Buttons on print dialog are not
alignedChapter 15 • Configuring Automail
The line can contain the values of ALM fields. To include a field value from
the defect that is being sent, prefix the field name with a question mark (?).
Field names must be upper-case. For example:
Defect # ?BG_BUG_ID has been created or updated - ?BG_SUMMARY
To customize the subject of defect mail for all projects:
You can customize the subject line for all your projects by adding the
AUTO_MAIL_SUBJECT_FORMAT parameter in the Site Configuration tab. For
more information, see "AUTO_MAIL_SUBJECT_ FORMAT" on page 179.
To customize the subject of defect mail for a specific project:
1 In Site Administration, click the Site Projects tab.
2 In the Projects list, double-click the project for which you want to
customize the email subject line.
3 Select the DATACONST table.
4 In the SQL pane, type an SQL INSERT statement to insert a row into the
table with the following values:
➤ In the DC_CONST_NAME column, insert the parameter name
➤ In the DC_VALUE column, insert the strings and the names of fields to
be placed in the subject line.
For example, type the following SQL statement into the SQL pane:
The subject line you define is specific to the project, so you can include
the project name in the line.
For more information on modifying project tables, see "Querying Project
Tables" on page 82.
5 Click the Execute SQL button. The row is added to the DATACONST table
to set the email subject.
-Drew (Hi Mark)