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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

792 views 2 19
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