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 vote

Hello,

You should add two Goals for your SLA

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

2. created > startOfMonth(1w) 

Hello,

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

529 views 3 11
Read article

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