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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...