Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

update due date with working days instead business days

Tehmina Aslam
Contributor
December 29, 2022

My due date field getting value from the {{issue.resume date.plusBusinessDays(TimeTrackingDays.asNumber)}}

 

but the issue is Friday and Saturday are our holidays and Sunday to Thursday are our working days. 

the above smart value sometimes set Friday as a due date but it should set Sunday as the due date. 

is there any way to set plus working days instead business days? 

2 answers

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 29, 2022

Hi @Tehmina Aslam 

Unfortunately, very few features of Jira appear to use the working days (or hours) configured for the site or at a project level.  This includes ignoring any defined holidays for non-working days.  Automation rule functions have this same limitation.

One possible work-around is to first use plusDays followed by the diff and format functions in an advanced compare condition to determine if the resulting day falls on your team's non-working days.  You could then increment the date, as needed.  Please look here to learn more about those functions: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/

Kind regards,
Bill

0 votes
Sebastian Krzewiński
Community Champion
December 29, 2022

Hi @Tehmina Aslam 

 

In automation you can work with business days or days. There is no something like working days.

I think that the best solution will be set working days in jira - https://support.atlassian.com/jira-software-cloud/docs/configure-working-days/

 

Regards,

Seba

Tehmina Aslam
Contributor
January 1, 2023

Hi,

 

Thanks for the reply but setting working days in the board setting is not changing business days for automation. 

Sebastian Krzewiński
Community Champion
January 2, 2023

I didn't think about workdays in board but in jira global time tracking permission. Please go through docs again.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events