Set up a Jira Cloud data store

This page describes how to create a data store and connect Jira Cloud to Gemini Enterprise.

Before you begin

Ensure the following before you set up your Jira Cloud federated connection:

  • Grant the Discovery Engine Editor role (roles/discoveryengine.editor). This role is required for the user to create the data store. To grant this role, do the following:

    1. In the Google Cloud console, go to the IAMpage.

      Go to IAM

    2. Locate the user account and click the edit Editicon.
    3. Grant the Discovery Engine Editor role to the user. For more information, see IAM roles and permissions .
  • To enforce data source access control and secure data in Google Gemini Enterprise, configure your identity provider .

  • To set up the Jira Cloud connector, you must use the new centralized Atlassian user management model. If you are using the original model, you need to migrate your user management before proceeding. For more information, see Site administrator role .

  • Create an OAuth 2.0 app , obtain the client ID and secret , and configure the minimum application permissions with the consent of a Jira Cloud administrator. Verify that you have Jira organization administrator access to the Jira instance and project. With the organization administrator access, you can set up minimum permissions and provide access privileges to user groups.

  • Optional: To retrieve user email addresses from Jira Cloud, even when settings restrict email visibility, install the User Identity Accessor for Jira Cloud app with Jira Site administrator privileges to install and configure it to securely retrieve user email addresses. You might not need to install this app if email addresses are already publicly accessible.

Create Jira Cloud data store

To create a Jira Cloud data store, perform the following steps:

  1. In the Google Cloud console, go to the Gemini Enterprise page.

    Gemini Enterprise

  2. Select or create a Google Cloud project.

  3. In the navigation menu, click Data stores.

  4. Click Create data store.

  5. In the Sourcesection, search for Jira Cloud, and click Select.

  6. In the Datasection:

    1. In the Connector modesection, select Data ingestionor Federated searchas the connection mode.

    2. Click Continue.

    3. In the Authentication settingssection, configure authentication based on your chosen connection mode.

      1. Provide the following authentication details:

        • Client ID
        • Client secret
        • Instance URI
        • Instance ID

        For more information about credentials, see Jira Cloud configuration .

      2. If you selected Federated search, click Loginand complete the Atlassian sign-in.

      3. Click Continue.

    4. In the Destinationssection, enter the URL to your Jira Cloud endpoint.

    5. Click Continue.

    6. In the Entities to search(if you selected Federated search) or Entities to sync(if you selected Data ingestion) section:

      1. Select all the required entities.
      2. If you selected Federated search, proceed to the next step.
      3. If you selected Data ingestion, continue with the following steps:
        1. Optional:To sync specific projects, do the following:
          1. Click Filter.
          2. To filter entities out of the index, select the Exclude from the indexcheckbox, or to ensure that they are included in the index, select the Include to the indexcheckbox.
          3. Enter the keys. Press enter after each key.
          4. Click Save.
        2. To configure the sync schedule, do the following:
          1. In the Sync frequencylist, select the sync frequency.
            • To schedule separate full syncs of entity and identity data, expand the menu in the Full syncsection and then select Custom options.
          2. In the Incremental sync frequencylist, select the incremental sync frequency. For more information, see Sync schedules .
  7. Click Continue.

  8. In the Actionssection:

    1. If you selected Federated search:
      1. From Select Jira Cloud actions to enable, select the actions from the category to enable them for the connector.
    2. If you selected Data ingestion:

      1. In the Authentication settingssection, configure authentication based on your chosen connection mode.
      2. Provide the following authentication details:

        • Client ID
        • Client Secret
        • Instance URI
        • Instance ID

        For more information about credentials, see Jira Cloud configuration .

      3. Click Loginand sign-in to Jira Cloud to verify your account.

      4. Click Continue.

      5. From Select Jira Cloud actions to enable, select the actions from the category to enable them for the connector.

  9. In the Configurationsection:

    1. From the Multi-regionlist, select the location for your data connector.
    2. In the Data connector namefield, enter a name for your connector.
    3. If you selected US or EU as the location, configure the Encryption settings:
      • Optional: If you haven't configured single-region keys, click Go to settings pageto do so. For more information, see Register a single-region key for third-party connectors .
      • Select Google-managed encryption keyor Cloud KMS key.
      • If you selected Cloud KMS key:
        • In the Key management typelist, select the appropriate type.
        • In the Cloud KMS keylist, select the key.
      For more information, see Customer-managed encryption keys .
  10. Click Continue.

  11. In the Billingsection, select General pricingor Configurable pricing. For more information, see Verify the billing status of your projects and Licenses .

  12. Click Create. Gemini Enterprise creates your data store and displays your data stores on the Data Storespage.

On the Data Storespage, click your data store name to see the status. After the data store state changes from Creatingto Active, the Jira Cloud connector is ready to be used.

For an ingestion connector created with Jira Cloud, the data store state transitions from Creatingto Runningupon synchronization initiation. It then changes to Activeonce ingestion is complete, signifying that the data store is fully configured. Depending on data volume, ingestion may require several hours.

After creating the data store, create an app , connect it to the Jira Cloud data store , and authorize Gemini Enterprise to access Jira Cloud before executing any queries.

Enable real-time sync for data ingestion

Real-time sync only syncs document entities and doesn't sync data related to identity entities. The following table shows which document events are supported with real-time sync.

Jira entities Create Update Delete Permission changes
Issues
Worklogs
Projects
Comments
Attachments

To enable real-time sync for a Jira Cloud data source connector, follow these steps:

Generate a webhook URL

  1. Navigate to the Gemini Enterprise page, and in the navigation menu, click Data Stores.
  2. Select a Jira Cloud data store.
  3. Click View/Editin the Realtime syncrow.

  4. In the View and edit realtime sync parametersdialog, do the following:

    1. To turn on real-time sync, click the Enable realtime synctoggle.
    2. Enter a value in the Client secretfield and copy it. You need this value again when creating a webhook in the Jira administration console.
    3. Click Save.
  5. After the status of Realtime syncchanges to Running , click View/Edit.

  6. In the View and edit realtime sync parametersdialog, do the following:

    1. Copy the Webhook URL.
    2. Click Close.

Create a webhook

  1. Sign in to the Jira administration console.
  2. Click Settingsand select System.
  3. In the System settingspane, select Webhooks.
  4. Click Create a webhook. For information about webhooks, see Webhooks .
  5. Enter a name for the webhook.
  6. Select the Statusas Enabled .
  7. In the URLfield, paste the URL copied from Gemini Enterprise and append /{issue.id} .
  8. In the Secretfield, enter the same value you entered when generating a webhook URL in Gemini Enterprise.

  9. In the Issue related eventssection, select the following options:

    Entities Created Updated Deleted
    Issue
    Yes Yes Yes
    Worklog
    Yes Yes Yes
    Comment
    Yes Yes Yes
    Attachment
    Yes No Yes

  10. In the Project related eventssection, select the created, updated, and deletedcheckboxes for the Projectentity.

  11. Click Create.

Data handling and query execution

This section describes how Gemini Enterprise manages your query and the privacy implications of using the federated data store.

Query execution

After you authorize Jira Cloud and send a search query to Gemini Enterprise:

  • Gemini Enterprise sends your search query directly to the Atlassian API.
  • Gemini Enterprise blends the results with those from other connected data sources and displays a comprehensive search result.

Data handling

When using third-party federated search, the following data handling rules apply:

  • Your query string is sent to the third-party search backend (Atlassian API).
  • These third parties may associate queries with your identity.
  • If multiple federated search data sources are enabled, the query might be sent to all of them.
  • Once the data reaches the third-party system, it is governed by that system's terms of service and privacy policies.

What's next

Design a Mobile Site
View Site in Mobile | Classic
Share by: