All Apps and Add-ons

Jira Service Desk Simple Add-On : Fails to create ticket in Jira manually using splunk query.

Arch
Loves-to-Learn Lots

Hi, We are trying to integrate Splunk Cloud with our Atlassian Jira cloud instance. We have configured the app 'Jira Service Desk Simple Add-On'(https://splunkbase.splunk.com/app/4958/) and under 'Trigger Actions' I am able to see this action and also able to create/open ticket in Jira via this option. But I want to create ticket in Jira manually via splunk query using 'sendalert' command. When I tried to do, I'm getting the error 'Error in 'sendalert' command: Alert script returned error code 3.'  May be the fields that I'm providing is not correct. Could someone help me in fixing the issue that I'm facing.

|sendalert jira_service_desk jira_account="JiraCloud" projectKey=“SOR” summary=“My Header” issueTypeName=“Task” priority=“Medium”  labels="Security" 

It would be great if someone could provide me the fields that I should mention as part of this query inorder to create a ticket in Jira cloud.

Labels (1)
0 Karma

dozden
Loves-to-Learn Everything

Hi, I got the same error while trying to use "sendalert" command for risk modifiers. The reason for the problem was if you have "No result" for the search, you are getting error. If you have some results, you are not getting any error.  So, if you want to test it, i would recommend to run it by extending time range or edit the search to get results. This helped me, i hope it helps you as well 🙂

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...