/snapshots

Manage snapshots.

post

Creates a new snapshot. The scope of the snapshot can be either 'system', 'project' or 'projectWithIssues'. The 'options' array is not required. The 'includeAttachmentFiles' flag will include issue attachment files for the selected projects. If unselected, during snapshot deployment there's an option to provide the path where the attachment files reside on the target system. All filters/boards/dashboards/global app data can be included. Individual items can be included explicitly using the 'filters', 'agileBoards', 'dashboards' and 'appsWithGlobalData' parameters. Filters and boards related to the exported projects can be included with the includeProjectFilters/includeProjectBoards options (not available for system snapshot). Exported issues can be filtered using the 'filter' parameter. Please refer to the examples for details!

Manage the snapshot with the given id.

get

Returns the specified snapshot as ZIP containing a snapshot XML and additional data.

delete

Deletes the specified snapshot.

/deployments

Manage deployments. Deployment is a two step process - first meta information is provided and then a snapshot file is uploaded. The operation is asynchronous - a separate REST endpoint is used for tracking deployment progress.

post

Starts a deployment operation. Scope can be either 'system' or 'project'. Mode can be either 'systemMerge'/'systemRestore' for system snapshots, or 'singleProject'/'multiProject' for project snapshots depending on the number of projects inside the snapshot. The parameter attachmentFilesPath is the path where the attachment files reside on this system. Choosing 'skipReindexing' makes the deployment operation faster by skipping reindexing. In this case reindexing should be done later by the user. Remaining request options when set to TRUE are used to deploy modifications of associated objects. For example, 'modifyAvatars' will ignore changes to avatars if set to FALSE but include them if left at TRUE.

Manage the deployment with the given id.

get

The status of the deployment operation with the given id.

Manage the snapshot content for the deployment with the given id.

put

Uploads the snapshot content. The snapshot content must be provided in a part named 'file' within a multipart/form-data body. After the content is successfully uploaded, the deployment process will start.