All Apps and Add-ons

how to get SLA values of JIRA in splunk events after running jqlsearch

srinathd
Contributor

How to get SLA values (Assignment Time, Time to resolution) of JIRA in splunk result events after running jqlsearch command in splunk

Tags (2)
0 Karma
1 Solution

srinathd
Contributor

SLA values of JIRA like AssignmentTime, TimeToResolution etc are stored in customefield_$number$ fields. These fields can be searched using the jira rest command with the changefield option. Following is the example search.

| jira issues 10303 changefield

View solution in original post

worshamn
Contributor

In the new Add-on for JIRA 2.2.1, these values also come through when using the normal |jira jqlsearch "<your_jql_query>" command. However out of the box the output is very ugly and difficult to deal with, please see https://answers.splunk.com/answers/560281/add-on-for-jira-221-and-220-not-parsing-jira-field.html?ch... for how I modified one of the commands to get better output. In it I chose to have the SLA values come back as 4 subfields of each SLA (elapsedTime, remainingTime, goalDuration, and breached) since there are really more than one thing you would want to know about the SLA than just elapsed time (the value is in milliseconds).

0 Karma

srinathd
Contributor

SLA values of JIRA like AssignmentTime, TimeToResolution etc are stored in customefield_$number$ fields. These fields can be searched using the jira rest command with the changefield option. Following is the example search.

| jira issues 10303 changefield

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...