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

1 votes


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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,968 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot