Dashboards & Visualizations

Created a Custom Command to create ticket in Jira, but it creates 2 tickets with same Ticket Number?

sarvesh_11
Communicator

Hello Splunkers,

We created a custom command, to create jira tickets, taking the input from splunk table.

The script is working correctly, when triggered from backend, when the values are hard-coded. When changing the hard-coded values, with token, i.e dynamic, and trying to create ticket from UI, it creates 2 tickets with same ticket number.

Below is out python code, and error what we are getting while triggering:

sarvesh_11_0-1639541891965.png

 

sarvesh_11_1-1639542107186.png

 

TIA,

0 Karma
Get Updates on the Splunk Community!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...