# Send SQLite backup alerts to Jira Service Management

Create a P2 alert for the team that owns backups and close it in Jira Service Management when the problem clears.

## Create a team API integration

- **Create the team integration**. Open the team’s Operations page in Jira Service Management. Under Integrations, add an API integration, enable it and copy its API key.
- **Connect Litebackup**. As an admin, open Alerts and choose Add destination. Select Jira Service Management Operations and name the destination. Paste the key into API integration key. Leave HTTPS URL blank to use the Atlassian Integration Events API. Choose Add destination to save it.

- [Atlassian API integration setup](https://support.atlassian.com/jira-service-management-cloud/docs/set-up-an-api-integration/)

![Jira Service Management Operations selected with its team API integration key field.](https://litebackup-cdn.com/media/486d579ccd5acda4-11-alert-jira.png)

## Find the test in Operations

On the Alerts page, choose **Send test alert** in the destination’s controls. The test can page a person. Check that both the trigger and recovery were accepted.

Open the team’s Operations alerts and include closed alerts in the search. Look for a P2 test alert. Litebackup creates an Operations alert and uses the same alias in the close request.

## Diagnose an accepted request

Atlassian processes integration events asynchronously. If Litebackup shows acceptance but the alert is missing or stays open, check the integration’s activity and its create and close actions. Use the API key from the team integration when checking credentials. [Atlassian Integration Events API](https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v1/api-group-integration-events/).

## Enable alerts

Check how many alerts are firing before choosing **Enable delivery**. Each server sends its open alerts immediately, then reports new alerts and recoveries for all enabled thresholds.

## Add the destination from the server CLI

As an alternative to the console form, run this on the Litebackup server and enter the credentials at the prompt.

```bash
# Add the destination from the Litebackup server host.
litebackup server alert-destination add \
    --provider jira \
    --name "Jira Service Management Operations"
```

## Install

[Install Litebackup](/install) and [back up a SQLite database](/back-up-sqlite-while-your-app-writes) to start monitoring it. Choose another paging service or chat channel in the [alert integrations guide](/sqlite-backup-alerts).
