SLA based on working day of the month

I have very precise requirement regarding to SLA: If issue is created in first 5 working days of the month, then SLA is X hours. Otherwise it's Y hours.

I created custom calendar and added Holidays. Can it be used to generated SLA rule as stated above?

1 answer

This widget could not be displayed.


You should add two Goals for your SLA

1. created > startOfMonth() AND created < startOfMonth(1w) 

2. created > startOfMonth(1w) 


But doesn't it work for first  week and not first 5 working days? What if there are some holidays (for example 1st and 3rd day of month are holiday) and 5th working day is on second week of the month?

Also - This works only on current month. Consider following: for issues on first days of the month we got 12h, on rest 20h.

On 1st November we get an issue. It is resolved in 16 h, so it's overdue. When I generate report on 1st December regarding issues closed after SLA will this issue show? It's now not in first week on the current month.

Alexey Matveev Community Champion Dec 20, 2017

Develop your own Jql function by writing a plugin or using Adaptivist ScriptRunner

Suggest an answer

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

What modern development practices are at the heart of how your team delivers software?

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...

274 views 1 3
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you