<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JIRA App for Splunk - Error: command=&amp;quot;jira&amp;quot;, Invalid expression in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127788#M71865</link>
    <description>&lt;P&gt;I had moved the old jira directory as jira.OLD (sysadmin paranoid factor) and this may be have been causing the issues, and after I removed that directory, now I am able to run basic JQL queries on JIRA server&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2013 21:53:04 GMT</pubDate>
    <dc:creator>sureshprem</dc:creator>
    <dc:date>2013-11-05T21:53:04Z</dc:date>
    <item>
      <title>JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127779#M71856</link>
      <description>&lt;P&gt;We are trying to use the JIRA app fro Splunk after we saw the tool utilization at Splunk Conference Conf13. We have installed the Apps as per documentation, and we get an error message when we search in Splunk.&lt;/P&gt;

&lt;P&gt;Apps: &lt;A href="http://apps.splunk.com/app/1438/"&gt;http://apps.splunk.com/app/1438/&lt;/A&gt;&lt;BR /&gt;
Error Message: command="jira", Invalid expression&lt;BR /&gt;
search: | jira "project = COR"&lt;/P&gt;

&lt;P&gt;jira.conf:&lt;BR /&gt;
[jira]&lt;BR /&gt;
default_project = COR&lt;BR /&gt;
tempMax = 1000&lt;/P&gt;

&lt;H1&gt;Built-in fields to display. Updated is required if you want a _time field.&lt;/H1&gt;

&lt;P&gt;keys = link,project,key,summary,type,priority,status,resolution,assignee,reporter,created,updated,resolved,fixVersion,components&lt;/P&gt;

&lt;H1&gt;Fields containing times to display.&lt;/H1&gt;

&lt;P&gt;time_keys = &lt;/P&gt;

&lt;H1&gt;Custom fields to display.&lt;/H1&gt;

&lt;P&gt;config.ini:&lt;BR /&gt;
[jira]&lt;BR /&gt;
hostname = xxxxx-test.tool.x.xxxx.com (part of FQDN masked)&lt;BR /&gt;
username = splunk&lt;BR /&gt;
password = xxxxxxx (password masked)&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 16:28:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127779#M71856</guid>
      <dc:creator>sureshprem</dc:creator>
      <dc:date>2013-11-04T16:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127780#M71857</link>
      <description>&lt;P&gt;This sounds like an issue with time_keys being empty that was reported in &lt;A href="https://github.com/firebus/splunk-jira/issues/13"&gt;https://github.com/firebus/splunk-jira/issues/13&lt;/A&gt; which I haven't had a chance to verify yet.&lt;/P&gt;

&lt;P&gt;You can try the workaround suggested by enthusiast near the end of the thread. I will verify, open a new issue, and fix ASAP.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 17:34:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127780#M71857</guid>
      <dc:creator>ruman</dc:creator>
      <dc:date>2013-11-05T17:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127781#M71858</link>
      <description>&lt;P&gt;I followed the advice per "enthusiast"  and added code in jira.py&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;if not time_keys:  &amp;lt;-- Added line 
     for k in time_keys:
        v = elem.xpath(k)
logger.info(k)  &amp;lt;-- Added line
        if len(v) == 1:
           row[k] = v[0].get("seconds")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;now I get a different error message on the search '| jira "project = COR"&lt;/P&gt;

&lt;P&gt;Error:&lt;BR /&gt;
External search command 'jira' returned error code 1&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 19:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127781#M71858</guid>
      <dc:creator>sureshprem</dc:creator>
      <dc:date>2013-11-05T19:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127782#M71859</link>
      <description>&lt;P&gt;I followed the advice per "enthusiast"  and added code in jira.py&lt;/P&gt;

&lt;P&gt;if not time_keys:  &amp;lt;-- Added line &lt;BR /&gt;
     for k in time_keys:&lt;BR /&gt;
        v = elem.xpath(k)&lt;BR /&gt;
logger.info(k)  &amp;lt;-- Added line&lt;BR /&gt;
        if len(v) == 1:&lt;BR /&gt;
           row[k] = v[0].get("seconds")&lt;BR /&gt;
now I get a different error message on the search '| jira "project = COR"&lt;/P&gt;

&lt;P&gt;Error:&lt;BR /&gt;
External search command 'jira' returned error code 1&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127782#M71859</guid>
      <dc:creator>sureshprem</dc:creator>
      <dc:date>2020-09-28T15:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127783#M71860</link>
      <description>&lt;P&gt;I just pushed a fix to github. Please pull, or apply these changes:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/firebus/splunk-jira/commit/bad727cc88b8dca2b2263be1a000de072dc9027a"&gt;https://github.com/firebus/splunk-jira/commit/bad727cc88b8dca2b2263be1a000de072dc9027a&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 20:11:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127783#M71860</guid>
      <dc:creator>ruman</dc:creator>
      <dc:date>2013-11-05T20:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127784#M71861</link>
      <description>&lt;P&gt;I pulled the changes and now get a different error:&lt;/P&gt;

&lt;P&gt;command="jira", No option 'jira_protocol' in section: 'jira'&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 20:49:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127784#M71861</guid>
      <dc:creator>sureshprem</dc:creator>
      <dc:date>2013-11-05T20:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127785#M71862</link>
      <description>&lt;P&gt;There were some new config.ini fields added in issue #13. Please try adding these defaults to your config.ini:&lt;/P&gt;

&lt;P&gt;jira_protocol = https&lt;BR /&gt;
jira_port = 443&lt;BR /&gt;
soap_protocol = https&lt;BR /&gt;
soap_port = 8080&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127785#M71862</guid>
      <dc:creator>ruman</dc:creator>
      <dc:date>2020-09-28T15:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127786#M71863</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Even after adding the new variables in config.ini I get the same error:&lt;/P&gt;

&lt;P&gt;Error: command="jira", No option 'jira_protocol' in section: 'jira'&lt;/P&gt;

&lt;P&gt;config.ini:&lt;BR /&gt;
[jira]&lt;BR /&gt;
hostname = intake-test.tool.s.nokia.com&lt;BR /&gt;
username = splunk&lt;BR /&gt;
password = xxxxxxxxx&lt;BR /&gt;
jira_protocol = https&lt;BR /&gt;
jira_port = 443&lt;BR /&gt;
soap_protocol = https&lt;BR /&gt;
soap_port = 8080&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:12:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127786#M71863</guid>
      <dc:creator>sureshprem</dc:creator>
      <dc:date>2020-09-28T15:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127787#M71864</link>
      <description>&lt;P&gt;Did you restart splunk after editing config.ini. I was able to reproduce, and also confirm that a restart is required.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 21:21:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127787#M71864</guid>
      <dc:creator>ruman</dc:creator>
      <dc:date>2013-11-05T21:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127788#M71865</link>
      <description>&lt;P&gt;I had moved the old jira directory as jira.OLD (sysadmin paranoid factor) and this may be have been causing the issues, and after I removed that directory, now I am able to run basic JQL queries on JIRA server&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 21:53:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127788#M71865</guid>
      <dc:creator>sureshprem</dc:creator>
      <dc:date>2013-11-05T21:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127789#M71866</link>
      <description>&lt;P&gt;Many Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 21:53:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127789#M71866</guid>
      <dc:creator>sureshprem</dc:creator>
      <dc:date>2013-11-05T21:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: JIRA App for Splunk - Error: command="jira", Invalid expression</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127790#M71867</link>
      <description>&lt;P&gt;Wonderful! I'm so happy it's working. Please let me know if you run into any other issues, or have any ideas for new features.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2013 22:03:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/JIRA-App-for-Splunk-Error-command-quot-jira-quot-Invalid/m-p/127790#M71867</guid>
      <dc:creator>ruman</dc:creator>
      <dc:date>2013-11-05T22:03:53Z</dc:date>
    </item>
  </channel>
</rss>

