Order by 'time to sla custom field'

Hi,

Currently I have meny tickets with defferent SLA. I want to order them to show tickets with least time to resolve them. When I simply order by the custom field, it doesn't work, I don't even know what is pattern there. Is there any resolution for that?

2 answers

This widget could not be displayed.

Hi,

This is a little hard and confusing but I will try to clarify.
JIRA Issue navigator sorts according to index values, and indexing (changing) time value is nearly impossible because JIRA only indexes by issue status changes or by admin's reindexing. Since time changes every second, we can not index remaining time value.

So Time to SLA field indexes the SLA Target Date. When you change issue's status it calculates and modifies the index value according to new SLA target date. However if the issue is in pause status the SLA target date does not change until a status change happens, so the index value may not be accurate.

On the other hand you can use SLA Report to see the exact SLA target dates and sort issues in that page.

Hope that I was clear

Tuncay

This widget could not be displayed.
Vasiliy Zverev Community Champion Mar 29, 2016

You need a culculated custom field to get difference between two dates, There is no such functions into box JIRA, but you could use these plugins:

  1. Free plugin to do simple things. Do no need to write code: https://marketplace.atlassian.com/plugins/com.innovalog.jmcf.jira-misc-custom-fields/versions#b100500930
  2. more complex, but you can do a lot with writing code https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner/versions#b1296

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

306 views 1 4
Join discussion

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