Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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
Ravi Sagar Community Leader Jan 18, 2021

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
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

193 views 6 7
Read article

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