Restore menu
Last updated
Last updated
In Email This Issue, you can create a JSON file and upload it to restore your current settings:
on the same Jira server instance
on another Jira server instance
The full restore procedure consists of the following steps:
1. Upload a JSON file.
2. Restore data from the uploaded file.
Go to SETTINGS --> Backup/Restore.
For the backup procedure see here.
In order to restore parts or whole of a configuration, you need to upload a file. For this, the Add file button is used which displays the option to select a file to be uploaded.
The file can be uploaded by drag and drop or by pressing the Choose File button and then the Upload button.
You can cancel the upload process before hitting Upload, by clicking on the Cancel button.
The uploaded files are displayed in a table under the upload menu, displaying the following values:
Created on
Date and time of the exported file displayed in the time zone settings of the original backup system.
Description
The description field's value that has been entered during the original backup process. If left empty, nothing is displayed.
Created by
Username of the person creating the export (in raw text format).
App version
The version number of the source Email This Issue instance.
Jira version
The version number of the source Jira instance.
The uploaded files can be deleted by clicking on the three dots at the end of the backup row and clicking on Delete.
Backup files can be Restored by clicking on Restore while backup files can be downloaded by pressing Download.
If the user does not upload a JSON file but presses Upload, the following error message appears:
If the upload is successful, the JSON file is added to the list of exported entries.
In order to restore parts or whole of a configuration, you need to start the restore process after uploading a file.
The uploaded files can be restored by clicking on the three dots at the end of the backup row and clicking on Restore.
The restore configuration has four stages:
Entity selection
Conflict resolution
Overview
Importing results
Note: At no point during the restore process can you save your progress. Changes are applied after pressing the Confirm button at the end of Step 3 - Overview.
The first step in the restore process is the Entity selection where you can select which parts of your configuration you would like to import into your server instance.
The entities, such as Email Template, Configuration, Notifications or Responses are presented with drop-down menus and are marked with a grey highlight.
The rows without any highlights are entity items (such as email templates, configurations, notifications, responses etc.).
The entity items can be one of the following four:
The name of an entity (e.g.: the name of a template)
The entity is a pattern (e.g.: MD5 pattern) or a regular expression, in which case this is displayed
A Project and/or an Issue type can be selected within the entity, in which case it is presented as <Project name>
; <IssueType name>
A Project and/or an Issue type and/or JQL criteria can be entered within the entity, in which case it is presented as <Project name>
; <IssueType name>
; <JQL filter>
You can select the entities individually by clicking on their respective checkboxes or you can select them all by clicking on the checkbox next to the name of the entity.
You can proceed with the restoration by clicking on Conflict resolution or cancel the process by clicking on Cancel.
During the import there might be conflicts regarding the items you wish to restore. These items can be found on the left pane, while the resolution to their conflicts are presented on the right pane of the window.
All conflicts need to be resolved before being able to proceed to Step 3 - Overview. You can always navigate back to the entity selection by pressing the Back to entity selection button.
The items you wish to import on the left pane are listed by their entities and their conflicts have to be resolved separately by clicking on the entity item first.
This brings up the conflict unique to that entity item and displays a drop-down menu called Restore type. Here, the user can select how the data should be restored and therefore resolve the conflict.
Conflicts for the entity items can only be resolved one-by-one, they cannot be resolved altogether by clicking on the collective entity and selecting one restore type.
Note: At the moment every entity requires a check with the exception of MD5 patterns, configurations, and the attachment name filter's regular expressions.
There are two ways to resolve a conflict:
Create new entity In this case a new scope has to be given to the imported entity (such as a new name of a project/issue type setting). This is the default restore type when the user is uploading a configuration in an empty instance.
Overwrite existing entity In this case you need to select an existing entity in the system and we will overwrite its attributes but not its scope.
When selecting Create new entity, you can click on the Insert imported parameters button next to the restore type. This will automatically fill out the entity's parameters with the imported parameters such as the name or the scope (project, an issue type or in some cases a JQL query) of the entity.
On the following figure the conflict resolution screen for an Email Template is shown:
You can also set these parameters manually, in this case by selecting the project, the issue type and a JQL for a Context:
When selecting Overwrite existing entity, a Select entity drop-down list or a Select entity list (with radio buttons) is displayed depending on the entity type with the currently available entity items from within the system.
Note: You can select multiple items to overwrite the same entity item, in this case we'll iterate through the list of replaceable entities and will only overwrite the selected existing item with the last one of the imported items. For this reason, we urge you not to select the same item to be replaced by multiple entity items.
This is how the Select entity drop-down list is displayed:
This is how the Select entity list with radio buttons is shown:
The following table specifies the required or optional attributes of every entity that may be restored during the restoration process. Attributes marked with an asterisk ( * ) are required to fill in or select:
Email Template
Entity name*
Select existing entity from the dropdown list*
Manual Email Defaults
Select a project
Select an issue type
JQLfilter
Select existing entity from the list*
Notifications
Entity name*
Select existing entity from the dropdown list*
Canned Responses
Entity name*
Select existing entity from the dropdown list*
Field Rules
Select a project
Select an issue type
Select existing entity from the list
Distribution Lists
Entity name*
Select existing entity from the dropdown list*
OAuth2 Credentials
Entity name*
Not supported
Certificates
Entity name*
Not supported
SMTP Connections
Entity name*
Select existing entity from the dropdown list*
Mail Accounts
Entity name*
Select existing entity from the dropdown list*
Mail Handlers
Entity name*
Select existing entity from the dropdown list*
Next Generation Mail Handlers
Entity name*
Select existing entity from the dropdown list*
Classic Mail Handlers
Select a project
Select an issue type
Select existing entity from the list*
Contexts
Select a project
Select an issue type
JQL filter
Select existing entity from the list*
General Configuration
Only overwriting an existing configuration is available
No action needed
Mail Queue Configuration
Only overwriting an existing configuration is available
No action needed
Purge Configurations
Only overwriting an existing configuration is available
No action needed
MD5 patterns
No action needed
No action needed
Attachment Name Filters
No action needed
No action needed
Note: The MD5 patterns', configurations' and the attachment name filter's regular expression scopes will be checked automatically. If two items of the same scope (name, regular expression etc.) are found, the old one will be overwritten by the system with the new one. If no two items are of the same scope, a new entity will be created by default. These conflict resolutions cannot be changed by users.
After selecting how to resolve all conflicts, click Check. If all conflicts have been successfully resolved, you'll be redirected to the Overview page. If there are one or more conflicts that could not be resolved appropriately, a red exclamation mark appears next to the entity item until their respective conflicts are resolved. Conflicts already resolved successfully are marked with a green checkmark:
You can cancel the restore process anytime by clicking on Cancel.
Once every conflict has been resolved, an overview page is displayed, its data is generated based on the selected entities.
The overview page displays the following information:
Entity type: the type of the entity that is generated from the original scope of the import file.
Original entity name: the name of the entity that is generated from the original scope of the import file.
Action: what happens to the original entity (currently the options are to CREATE NEW or OVERWRITE EXISTING entities).
Entity name after restore: how the entity can be found after the import.
After checking your list of entities in the overview page, click on Confirm to finalize the restore or Cancel to cancel the process.
The import results page displays the log of imported entities and their status.
Imported entities can be found on the left pane, while the results of their import are presented on the right pane of the window including the attributes and logging their status.
The import can have three results:
Success: all data has been imported successfully.
Warning: there were items during the import that could not be identified, therefore no action has been taken on those items.
Failed: a fatal error has occurred, the import is failed, no action has been taken on any of the items.
On the results page, a link is displayed next to the entity which takes you to the Edit page of the entity:
The import log can be found in the browser's console log as well in a JSON format.