• Products
  • Get started
  • Documentation
  • Resources

Integrate with Papertrail

This article highlights a new alerting feature that's natively available in Jira Service Management which is gradually rolling out to some Jira Service Management Cloud customers. It may not yet be visible or available on your site.

Papertrail Logo

What does the integration offer?

Use Jira Service Management's Papertrail Integration to forward Papertrail alerts to Jira Service Management. Jira Service Management determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

How does the integration work?

When an alert is created on Papertrail, an alert is created in Jira Service Management automatically through the integration.

If the data from Papertrail is too big (larger than 200KB), the oldest "events" data is cropped until the size is smaller than or equal to 200KB and use the newest "events".

Set up the integration

Papertrail is an API-based integration. Setting it up involves the following steps:

  • Add a Papertrail integration in Jira Service Management

  • Configure the integration in Papertrail

Add a Papertrail integration

Bidirectional integrations aren’t supported in Free and Standard plans. All the other integrations are supported at a team level in Free and Standard; however, for their outgoing part to work, you need to upgrade to a higher plan. To add any integration at a site level through Settings (gear icon) > Products (under JIRA SETTINGS) > OPERATIONS, you need to be either on Premium or Enterprise.

Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team.

To add a Papertrail integration in Jira Service Management, complete the following steps:

  1. Go to your team’s operations page.

  2. On the left navigation panel, select Integrations and then Add integration.

  3. Run a search and select “Papertrail”.

  4. On the next screen, enter a name for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the API URL.
    You will use this key while configuring the integration in Papertrail later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Papertrail

To configure the integration of Papertrail with Jira Service Management, complete the following steps:

  1. Go to the Papertrail dashboard.

  2. Select Search.

  3. Select Create Alert or Manage Alerts.

  4. Select Webhook.

  5. Paste the API URL previously copied from Jira Service Management into URL.

  6. Select "Every minute" for Frequency.

  7. Verify that Activate this alert is selected.

  8. Select Update.

Read more about Papertrail alerts.

Sample payload

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 { "min_time_at": "2014-01-17T10:10:16Z", "reached_record_limit": true, "min_id": "360778065477173251", "max_id": "360819921921572867", "events": [ { "hostname": "ismet-if", "severity": "Info", "received_at": "2014-01-17T12:10:16+02:00", "message": "Format: 1 Sampling rate: 44100Hz Offloaded: false", "source_name": "ismet-if", "display_received_at": "Jan 17 12:10:16", "facility": "User", "source_id": 19642663, "program": "Microsoft-Windows-Audio", "id": 360778065477173250, "source_ip": "78.187.83.243" }, { "hostname": "ismet-if", "severity": "Info", "received_at": "2014-01-17T12:10:16+02:00", "message": "Format: 1 Sampling rate: 44100Hz Offloaded: false", "source_name": "ismet-if", "display_received_at": "Jan 17 12:10:16", "facility": "User", "source_id": 19642663, "program": "Microsoft-Windows-Audio", "id": 360778065477173250, "source_ip": "78.187.83.243" } ], "saved_search": { "html_edit_url": "https://papertrailapp.com/searches/1382953/edit", "html_search_url": "https://papertrailapp.com/searches/1382953", "name": "sampli", "id": 1382953, "query": "Sampling rate" } }

 

Still need help?

The Atlassian Community is here for you.