Splunk® Supported Add-ons

Splunk Add-on for Jira Cloud

Acrobat logo Download manual as PDF


Acrobat logo Download topic as PDF

Use the custom command in Splunk Add-on for Jira Cloud

To create or update a Jira issue, you can also utilize the custom command functionality. This custom command returns the details of the Jira issue created or updated in a tabular format.

The following is an example on how to use the custom command in the add-on: | makeresults | jiracloudissue api_token="test" project_key="DEMO" issue_type="Story" summary="Test Summary" priority="High" description="Test description" labels="label1,label2" components="comp1,comp2" jira_key="TEMP-123" correlation_id="00000000-0000-0000-0000-00000000"

In this example, jiracloudissue is the name of the custom command and the others are parameters which are used to create or update the Jira issue. The custom command functions in a similar way to that of Alert Action as it internally utilizes the alert action functionality

The above example will return three fields in a tabular format:

  • jira_issue_link, jira_issue_key, correlation_id
  • jira_issue_link - URL of the jira issue created or udpated
  • jira_issue_key - key of the jira issue created or updated
  • correlation_id - the correlation ID the user can provide in the custom command to uniquely track the action performed by the user.

If your configuration operates on Splunk Cloud Architecture, you should only execute the custom command from the search heads.

Last modified on 12 April, 2024
PREVIOUS
Configure Alert Actions for the Splunk Add-on for Jira Cloud
  NEXT
Source types for the Splunk Add-on for Jira Cloud

This documentation applies to the following versions of Splunk® Supported Add-ons: released


Was this documentation topic helpful?


You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters