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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...