All Apps and Add-ons

Add-on for JIRA: Do config.ini and jira.conf need to have the same set of credentials to connect to JIRA server?

pullu
Explorer

I just want to confirm if both config.ini and jira.conf need to have the same set of credentials to connect to Jira server. I still cannot get the add-on to work and return results from my Jira server.

In my current config, these set of parameters have been set to match

config.ini ==== jira.conf
hostname ==== server
username ==== username
password ==== password
jira_port ==== port
jira_protocol ==== protocol

Is this correct?

0 Karma

vpham_splunk
Splunk Employee
Splunk Employee

You'll set your server info for:
- config.ini: If you want to do live query with | jira command.
- inputs.conf: If you want to index your jira data

There is no server info in jira.conf

0 Karma

pullu
Explorer

Ok, I have set up both config.ini and inputs.conf with my server info. Running | jira filters in Splunk though returns nothing. Querying the API from my indexers and my search-heads returns results successfully:

curl -u <jira_username> "https://jira.gamesys.co.uk/rest/api/2/filter/favourite?expand"
Enter host password for user '<jira_username>':
[{"self":"https://jira.gamesys.co.uk/rest/api/2/filter/16852","id":"16852","name":................

My conf files look like this:

config.ini

[jira]
hostname = jira.gamesys.co.uk
username = <jira_username>
password = <jira_password>
jira_protocol = https
jira_port = 443

inputs.conf

[jira]
sourcetype = jira
index=jira
interval = 60
server = jira.gamesys.co.uk
protocol = https
port = 443
jql = issueType in (epic, story)
username = <jira_username>
password = <jira_password>

Any idea what the issue could be?

0 Karma
Get Updates on the Splunk Community!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...