A Singapore Government Agency Website

Elastic Jira connector

The Elastic Jira connector integrates Jira with the Elastic Stack (e.g. Elasticsearch, Kibana), making it easier for you to visualise Jira data on Elastic. This helps you get insights into Jira issues from your Elastic environment.

The key features of the Elastic Jira connector include:

  • Jira issue insights in Elastic: Collects data on created Jira issues for detected alerts, providing insights on understanding the source and flow of issues.
  • Custom mapping: Filters and transform Jira data, mapping Elastic alert fields (e.g., severity, timestamp, details) to Jira issue fields like summary, description, priority, etc.
  • Data synchronisation: Trigger incremental or complete data syncs from Jira to Elastic, reflecting the latest updates from Jira and ensuring consistent status tracking.

Prerequisites

To set up an Elastic Jira connector, you will need:

  • A Jira server URL and the relevant credentials (API token for Jira Cloud and Jira Project Key)
  • Enterprise Search enabled permissions in both Elastic and Jira

Important: Elastic automatically disables Enterprise Search resources if they meet the following conditions:

  • Instance remains at 2GB size
  • No usage (queries, indexing, or configured resources) in the 14 days after creation.

Solution: You must scale to at least 4GB to ensure that your Enterprise Search resources remain active.

Set up an Elastic Jira connector

  1. From Kibana, go to Search > Content. elastic jira home menu

  2. Under Content, select Connectors.

    elastic jira connectors menu

  3. Select New connector. elastic jira connectors create

  4. Search and select Jira Cloud.

    elastic jira connectors search

  5. Provide a unique connector name in lowercase letters, without spaces or special characters. Select Create connector.

    elastic jira connectors name

  6. From the Configuration tab, select Create and attach an index named <preferred-index-name>. elastic jira connectors config

    We recommend using the same name for the connector name and associated Jira index.

  7. Under Configuration, select Edit configuration and provide the following details:

    • Jira URL

    • Authentication credentials (API key)

    • Jira project key
      elastic jira connector edit config

      1. Log in to Jira. Go to Manage Account > Security.

      2. Under API Tokens, select Create API token. elastic jira API key

        Remember to save the API key. You will need this information when creating connectors.

      1. From Jira, select the project to sync.

        elastic jira project

      2. Select Project settings > Details > Project keys. If project settings are not available, reach out to the project administrator.

        elastic jira project settings

        Refer to the Atlassian documentation for more information.

  8. Navigate to the API Key section and select Generate API Key. elastic jira generate API key

  9. Once you’ve set up the connector configuration, you need to trigger a Full content sync and wait for it to complete. elastic jira sync connector

    Subsequent syncs can be scheduled to sync incremental or full content, depending on your requirements.

  10. Verify that your Jira connector is connected. elastic jira sync connector test

View logs in Elastic

  1. Log in to your Elastic deployment and go to Analytics > Discover.
  2. From the logs-* dropdown, select Create data view. elastic jira data view
  3. Indicate *jira-* as the index pattern and select Save data view to Kibana. elastic jira create data view
  4. You should see Jira ticket details being pushed to Elastic through your configured connector. elastic jira data results
  5. With this integration, you can:
    • Visualise Jira data easily.
    • Enhance overall search experience with Enterprise Search features like App Search and Web Crawler to index and search across content in your services.
    • Leverage Elastic AI assistant for activities like constructing queries, indexing data, and troubleshooting.
Chat with me!
Bot Launcher