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!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...