TTS - Query JQL about SLA Status (resolution)

Hi:

We have Time to SLA custom fields:

Time to SLA (resolution)

SLA Status (resolution)

TTS-SLA.jpg

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[15455] = SLA Status (resolution)

 

For example:

project=A and (cf[15455] = "OK" or cf[15455] = "KO")

 

But this query doesn't show the correct results.

How could we make this query?

 

Best regards,

José Manuel Sánchez

4 answers

0 vote

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.

Regards

Tuncay


How would the query we send you using your JQL functions?

 

Thank you



0 vote
project=A and (issue in tts.issuesHaveSomeMetSlas() or issue in tts.issuesHaveSomeExceededSlas())

this query will return issues which have at least one success or one unsuccess SLA. Please check here for more JQL functions.

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?

Best Regards.

Ana

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

167 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you