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,

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...