Jira issues file is XML file containing a list of issues. This file can be added to any Gaia template to generate new Jira projects containing a list of pre-defined issues.
This section contains the instructions to create your own Jira issues files.
Creating a Jira issues file
1. Go to the "Issues" menu in Jira → in Jira → Search for issues.
This menu shows existing filters and search options for finding issues based on search criteria. A Jira issues file can be generated from any filter or lists list of issues.
2. Filter the issues you want to export. Open an existing filter or launch a new JQL query to get the list of issues you want to export. If you need information on JQL, read this this article.
Note | ||
---|---|---|
| ||
Please note that the maximum number of issues that can be exported is limited to 1000. Also note that the more issues you try to import, the longer it will take. |
3. To generate the XML file, click Export button on the upper right corner of the page and select XML" from the drop-down list.
4. The generated file will automatically be displayed on your web browser. To save the file, search for a save option within the menus of your browser or hit Ctrl+S (which is normally the default shortcut on most browsers).
5. Before adding exported XML file to your Gaia Project Template, open the file in the text editor that supports XML format and escape special characters (except when they're used as markup delimiters or within a comment, a processing instruction, or a CDATA section).
Warning |
---|
The XML specification defines "predefined entities" representing special characters, and requires that all XML processors honor them. These characters need to be escaped to obtain a well-formed document:
|
See the example:
Incorrect XML format | Correct XML format |
---|---|
...
Custom Field Support
If your issues have custom fields (these are automatically added in the XML file by the Jira exporter), Gaia will import the values of the associated custom fields (
...
see supported custom field types) and associate the custom field to the project being created by Gaia.
If the custom field doesn't exist in the Jira instance, it will be automatically created and associated
...
with the corresponding issue type (and to the project being created by Gaia).
If the custom field exists but doesn't have the right type, a new custom field will be created (with a (X) suffix) and will be automatically associated
...
with the corresponding issue type (and to the project being created by Gaia).
Note | ||
---|---|---|
| ||
Only Jira's native custom field types that do not require options are automatically created if they do not already exist. If the custom field types that do require options exist but the options contained in the issues do not, those new options are not automatically created. For example, these custom fields types and associated options are not automatically created if they do not already exist:
|
What's next
Now that you have your own Jira template file, use it in a Gaia for Jira template. See how to create a template guide for more information.