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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...