All Apps and Add-ons

Add-on for JIRA: Unable to get results from JIRA, getting "ERROR404 Client Error: Not Found for url: http://jirahost/rest/api/2/search"

ajaynmoorthy
New Member

I am unable to fetch any results from JIRA and the logs show an error

06-10-2017 02:38:23.872 +0530 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jira\bin\jira.py"" ERROR404 Client Error: Not Found for url: http://jirahost/rest/api/2/search

My config.ini is as follows

[jira]
hostname = jirahost
username = <jirauser>
password = <jirapassword>
jira_protocol = http
jira_port = 8080'

inputs.conf in default folder:

[jira://blah]
sourcetype = json
interval = 60
server = jirahost
protocol = http
port = 8080
jql = key in (****)
fields = *
username = <jirauser>
password = <jirapassword>
disabled = 1

i haven't made any changes to any other folder. Please suggest.

0 Karma

MikeElliott
Communicator

Although an old topic, some other potential pointers for other's that come here.

  • config.ini file - Is this definitely accurate? OP has a single ' after 8080 for their Jira Port;
  • Is 8080 definitely the right port? Remember the app comes with 443 listed as the default port (You can change this, obviously, but sometimes the default is the default for a reason, right?);
  • Passwords - Honestly, please check to make sure your passwords are accurate;
  • Permissions - Does the listed user account have the right to make API calls?;

You might be able to tell I've had all sorts of fun with the Jira Add-on so far...

/s

0 Karma

Charvi
New Member

I was able to resolve this one :

in the jira.py and jira_rest.py files look for "/rest/api/2/search" and replace it with - "/jira/rest/api/2/search"

This worked for me

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...