Templates enables you to capture issues even faster during testing, by automatically populating fields in issues with your predefined values. Templates are remembered on your JIRA server, so your templates remain the same regardless of which browser you are testing in.
To create a new template, go to the "Templates" tab in the Bonfire browser extension, then click "Add Template". Here you can pre-fill an issue creation form with any information you would like. (e.g. a particular project, version, or component you are working). Selecting the option "Attach Screenshot by Default" will include a screenshot attachment automatically when you are applying a template.
You can have as many templates as you like, so you can have very specific templates for issues that you may wish to raise during testing.
Templates are used when creating an issue. To do this, simply choose one from the "Use Template" menu on the Create Issue tab in the Bonfire browser extension.
Variables allow templates to contain dynamic information, and are only evaluated into actual values when the template is used during issue creation. Variables only work in templates. To use a variable, enter the variable name surrounded by braces ("{" and "}") into a template.
By default, Bonfire ships with four variables:
The default variables shipped with Bonfire are only a start, but you can create your own variables to do different things. To create another variable, simply click "Add Variable" in the Templates tab of the browser extension. For each variable, you need to provide 2 pieces of information:
Some other examples:
Name |
Javascript Selector |
Explanation |
---|---|---|
jiraVersion |
document.getElementById('footer-build-information').innerHTML |
This is one specific to JIRA itself. In our JIRA footer, we always include the JIRA version and build numbers. This javascript selector will get this information for us |
date |
new Date().toDateString() |
Today's date. |