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?
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
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:
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...
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!
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