Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How can I exclude the weekends to tag an issue for SLA

I have a scenario wherein I need to check if an issue is beyond the SLA, I need to exclude saturday and sunday based on the creation date. For example, if the priority of an issue is Critical, we need to resolve this within 1 day. If it has passed one day and the issue is still open then we tag them. 

Currently, I have this query...created <= endOfDay(-2d) AND priority = Critical. This works great but it doesnt take into account the weekends. So if the defect was created on a friday it starts tagging on a saturday if it is still open but I want it to tag on Monday by excluding saturday and sunday. 

Is there anyway I can do this in addition to my below query? 

created <= endOfDay(-2d) AND priority = Critical 

2 answers

1 vote

Hi @Sujata 

That's why we have calendars where you can define your working days, hours and holidays for your SLA goals.

Take a look at this page.

I hope it helps.


Thank you Ravi!

Hi @Sujata ,

If you're using a Software project or Business project, you can try Time to SLA.

You can define a calendar that excludes weekends and TTS clock will pause during weekends. 

You can also define a TTS notifier to fire an event that can be processed by third party plugins so that you can tag your issues.

Time to SLA works with Jira Software , Core and Service Management.

Screen Shot 2021-01-18 at 22.43.07.png

sla-panel-sleep.pngScreen Shot 2021-01-18 at 22.50.35.png

Please let me know if you have further questions.



Please note that I'm one of the members of the Snapbytes team.

Thank you Gokce! So there is no way to check this with the JQL query? We dont have any plugins, thought we could do this via JQL query. I am surprised simple functionality like this is a plugin.

If you're using JSM, you can just configure a calendar for your SLA that excludes weekends. That is the most sensible way to manage this requirement imo.

If you're using or want to use Software or Core, I suggest TTS. 



Suggest an answer

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

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

4,576 views 12 8
Join discussion

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