Hello everyone! Tell me please, i can how get all issues , where value ("SLA OK") with JQL ?
So, with a scripted field, they have two things we need to look at, and probably three for this question.
SOLUTION!
In the (admin panel) "custom field" I found my field and edited the value
from "none" to "free text search" in the "search template" field and after indexing my field started showing up in jql search. Thanks a lot!
My my final JQL search script :project = MRCHNT AND "MRCHNT Handling" ~ "SLA FAILED"
Hi @Alex
Why type is this field?
What type of field is your SLA field?
@Nic Brough -Adaptavist- hi! scripted field
@Alex Koxaras -Relational- HI! type of field - scripted field
For the benefit of others who find this page when looking for answers on standard JSM functionality.
If you use standard SLA fields in Jira Service Management you can use the JQL explained at https://confluence.atlassian.com/servicemanagementserver/using-jql-queries-specific-to-slas-939926424.html
In this particular example I would use the JQL "MRCHNT Handling" > remaining("1m")
This should return any issues with more than 1 minute remaining in the SLA.
@Alex -
As per your reply to @Nic Brough -Adaptavist- / @Alex Koxaras -Relational- -
If it is a scripted field, you can just use it in JQL as any regular field. Question for you is why you are not using the using the SLAs which are part of your JSM project?
If you are using the out of the box SLAs setup of JSM, then you can just use the guide provided in the following link - https://support.atlassian.com/jira-service-management-cloud/docs/use-jira-query-language-jql-to-create-service-level-agreements-slas/
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Viasat Inc.
@Phill Fox Hi! unfortunately it doesn't work..
@Alex That is because my answer was specifically for folks using Standard JSM who came across this question. NOT for your specific challenge of having used Custom Fields.
@Nic Brough -Adaptavist-
Specifically, this sla ("MRCHNT Handling") counts time only when the issue in status "in progress"
Ok, so the template is text and your output is text. (Presumably, your searcher is text based as well)
This means you won't be able to search it numerically or exactly, but "Mrchnt handling ~ SLA OK" should find issues with that coming out of the field.
It looks like you're new here. Sign in or register to get started.