It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

TTS Plugin : Config of SLA to next business day



Does someone know if it´s possible using the TTS Plugin to configurate SLA with the deadline of next business day? Taking into account that the ticket can be opened in any moment of the day.  

If it´s not possible using the TTS plugin, does someone know if there is way to implement this? I need to mention that I am not using Jira Service Desk 





3 answers

0 votes

I've never used that plugin but in the documentation I've seen that you can set SLA END time from a custom field.

Just use a calculated date/time field. Jira Misc Custom Fields could do that. I don't think it is a free plugin any longer BUT since your need is this very specific you could probably check older versions and use  v 1.7.2, wich was still free to use.

Other plugins could do the trick aswell. The main thing is being able to place the date you want in a new custom field.

SIL custom fields can be an option too, maybe a bit more complicated to non programmers in general but for this simple case there's not much difference, I guess.

I hope you can get it done. Let us know if it worked for your :)

Hi @Ionascu Irina 

@Iago Docando is totally right. You will need to use date field for the SLA End and set the custom field to the end of next business day programatically.

However, as the product owner of TTS, I can announce that this is one of the backlog items, but I can't give an exact  date now.


Hi Tuncay - we are looking for exactly the same functionality. Could you advise whether this is anywhere near making it on to your delivery roadmap?


Thank you



Hi @Simon Teppett 

We are still gathering customer needs in order to implement a generic solution.

Could you please raise a ticket here so that our support engineer would have a call with you to get exact needs?


hi @Tuncay Senturk _Snapbytes_ Unfortunately your service desk system will not allow me to create an account to log the ticket

Hi Simon,

This is Gökçe and I'm a member of the Snapbytes team. Could you send me an email ( so that we can better assist you?

Thank you!



@Gokce Gursel _Snapbytes_ I just want to stop by to give you kudos :)

I'm still subscribed to this post since I answered first and the fact that you answered this user message in just 20min taking into account that neither you nor your product are tagged anywhere in the message (just mentioned in plain text) is quite remarkable to me. That indicates that you are actively searching for user needs and keeping track of anything you find.

Good support. 

Like Simon Teppett likes this

@Iago Docando You've just made my day! :)

We, Snapbytes, are always striving to meet our customers' needs in a precise and timely manner. When our efforts are recognized by you and our users, this means that we're doing our job right. Your message shows that we are doing a good job.

Thank you so much for the kind words.

Take care.


Like # people like this

Hi, thanks @Iago Docando  and @Tuncay Senturk _Snapbytes_  :) 

Then do you know if it´s possible to create that custom field with a groovy script? Or it is possible only using the add on postes by Iago?

Hi @Ionascu Irina 

You can create a Jira date custom field and set it via groovy script easily.

If you are using Script Runner, simply create date custom field, add a script post function and set custom field date value using Groovy script.

If you need help on writing the script let me know and I will try to help you achieving that.

Hi @Tuncay Senturk _Snapbytes_ , 


I have tried to use the "Calculated number field" and after the creation of the field I cannot configure it as I don´t have any option for Groovy script or any other math formula. I have read that the formula should be stored in the description of the field, but I don´t know how to do it as I tried a simple example and it´s not working.

Or do you refer to another type of custom field?

Calculated fields can not be updated, they are read-only calculated fields.

You need to define date or datetime custom fields and update them accordingly.

Also TTS accepts date/datetime fields not the number fields

Ok, thanks @Tuncay Senturk _Snapbytes_  we have fixed it. In case someone else needs this, these are the steps we have followed : 

1. Create a new "Calculated Date/Time" Custom Field

2. In the description we have added the following script in order to have the SLA for the next business day : 

<!-- @@Formula:
if (issue.get("created") == null) {
return null;
} else {
Date created = new Date( issue.get("created").getTime() + 1*24L*3600*1000 );

return created;

3. In  the TTS plugin we have configured a new SLA with the value "Choose Negotiation Date Field" and we added a calendar to have into account the weekend and holidays and that was it 

Like # people like this

Even though it seems there are some problems with this settings, but I believe it´s TTS config problem here. When opening the ticket at the beginning the SLA will show up in grey with a square sign as it would be stopped and I have no Deadline in the SLA Panel, even if the SLA is running.

If for example I change the priority, the SLA panel will appear as ongoing with the triangle sign and in blue as it would be ongoing and the Deadline is setted for tomorrow at 17:00. But somehow the calendar from TTS I think it´s not working  ok, cause accordingly to the script that I have the deadline is tomorrow at 17:00, but as it´s weekend it´s not considered Business Day, so the real deadline should be 20/01/2020 at 17:00. 

@Tuncay Senturk _Snapbytes_  do you know what may be happening here? It seems this is happening ony if the ticket is opened on Friday as it´s just before the weekend

And besides of what I have mentioned above, as the deadline appears to be tomorrow at 17:00 in place of using the calendar to set it for 20/01 it will expire today, I think it´s a bit strange... 

Hi @Ionascu Irina 

It is best to raise a ticket here, so that the TTS support team would deep dive into it.

Please provide every info within the ticket.

Suggest an answer

Log in or Sign up to answer

Community Events

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

Events near you