Field codes
A field code is a variable that is replaced with a specific field value.
You can use field codes in matrix reports. When you run a report, field codes are replaced with values from an item included in the report. For example, %SUMM% is replaced with the value from the item's Summary field.
The following types of field codes are available:
- Issue field codes
- Requirement field codes
- Requirement document field codes
- Test case field codes
- Automated test run field codes
- Manual test run field codes
- Label field codes
- Custom field codes
Using field codes in email templates
- Email supports field codes in the subject line. You can include personalized subjects, such as Re:%SUMM%, which expand to include the issue’s summary field in the email’s subject.
- In the body of an email, to include a percent sign (%), use two percent signs in a row (e.g., “%%”).
- If a field code is used outside an HTML tag, use the percent signs. If a field code is used instead an HTML tag, do not use the percent signs. For example: Field code used inside an HTML tag: <input type=”Text” name=”fname”> Field code used outside an HTML tag: <select name=”%PROD_CO%”> %PROD_V% </select>