Configuring the Splunk App for Jira



Configure the Splunk app to connect to Jira so that you can analyze Jira issues and automatically create Jira issues based on any Splunk saved searches. First, obtain the Splunk ID and the auth token for a user on your Jira instance. Then, configure the Splunk app to connect to Jira.

Prerequisites

  • Obtain administrator access to Jira and Splunk.
  • Install the Jira Service Desk Add-on for Splunk on your Splunk server.
  • Install and configure the Jira add-on to connect to the Splunk server.

Obtaining Information in Jira

  1. Log in to Jira as an admin.
  2. Click the gear icon, and then click Applications.
  3. Under Integrations, click RealTime Splunk for Jira.

  4. On the Splunk Schemes tab, note the ID number beside the Splunk server you are configuring.
  5. On the Jira administration page, click User management.
  6. Obtain the user name and password for the Jira user that the Splunk app will use to communicate with your Jira instance.
    Consider creating a dedicated user for this purpose.
  7. Ensure the Jira user has the required access rights:
    • Member of the jira-administrators group—allows the user to access all installed apps. 

    • Assigned to the projects where Splunk tickets will be created—allows the user to create tickets. If the user does not have access to the project and the Splunk app tries to create a ticket, Jira will return the following error message:
      Problem Validating Issue Request(%user%): The issue type selected is invalid.

  8. Use an online service to obtain the base64-encoded user name and password in the following format:
    <user_name>:<password>.
    For example, you can use a service such as: https://base64encode.org. This encoded value enables authentication between your Splunk server and Jira instance.

Connecting Splunk to Jira

  1. In Splunk, open the Real-Time JIRA Service Desk Connector for Splunk app.

  2. Click the Configure tab.

  3. Enter the connection details for the Jira instance where you want to create tickets. 

    FieldDescription
    Auth Token

    Base64-encoded user name and password for the JSD user that the Splunk app will use to communicate with your JSD instance. Encode the credentials in the format: <user_name>:<password>. For example:
    splunkadmin:splunkadmin

    Server IDIdentifier for the connection to this Splunk server in your JSD instance.
    Server URLURL of your JSD instance.
    Project KeyUnique identifier for the JSD project where you want to create tickets from Splunk.

Next Steps