We have Time to SLA custom fields:
Time to SLA (resolution)
SLA Status (resolution)
We want to create a query JQL to search for issues SLA Status (resolution) is met or SLA Status (resolution) is not met in a Project.
cf = SLA Status (resolution)
project=A and (cf = "OK" or cf = "KO")
But this query doesn't show the correct results.
How could we make this query?
José Manuel Sánchez
Hi Jose Manuel,
If you just installed TTS and want this JQL return accurate results, you need to "Generate SLA data for existing issues" and reindex.
After you define SLAs, any issue (which meets your SLA definition) change triggers SLA calculation and it will be ready for JQL search, but for already existing issues that have no change you should generate SLA data by TTS menu.
On the other hand, we strongly recommend to use our JQL functions rather than custom field search. Please check our site where you can find JQL functions documentation.
The following JQL does not work well.
Tipología in ("Support & Maintenance: Genesis") and (issue in (tts.issuesHaveSomeMetSlas()) or issue in(tts.issuesHaveSomeExceededSlas())) and status changed to Closed during ('2017/01/01',"2017/01/31")
Can you tell us what the error is?
Hey there Community! My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they can help ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events