This article is for Data Center. Visit Cloud
new-structure-template
New Structure Template module allows you to add templates to the Create Structure dialog.Â
Example:
<new-structure-template key="big-template" class="com.mycompany.structure.template.bigtemplate" name="New Structure Template: Big Template"> <label key="com.mycompany.template.big-template.label"/> <description key="com.mycompany.template.big-template.description"/> <resource type="download" name="icon.png" location="css/structure/templates/big@2x.png"/> <resource type="velocity" name="step1" location="templates/structure/big/step1.vm"/> <resource type="velocity" name="step2" location="templates/structure/big/step2.vm"/> </new-structure-template>
Element | Required? | Description |
---|---|---|
@key | Yes | Module key. |
@name | No | The name of the module for JIRA administrators. |
@class | Yes | The class that implements the template, must implement NewStructureTemplate. |
label | Yes | The name of the template as it appears in the Create Structure dialog. |
description | No | Description of the template. |
resource[@type=velocity] | No | Any number of HTML templates used by your code to render wizard steps. |
resource[@type=download] | No | Any number of downloadable images or other resources used by your template. |