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
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.
Please let me know if you have further questions.
Please note that I'm one of the members of the Snapbytes team.
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.
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...
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