Forums

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

Is there a way to have a validator based off of business days?

Zekeriya Spoth September 24, 2024

Right now I have a validator so that when someone selects a due date on a form, it must be 3 days after the current date. I'm using the 'Date Compare Validator' so that:

Date: Due Date

Condition: >

Compare with: 3d 

Is there a way to have it so that the days counted are business days only? (ex. someone fills out the form on a thursday and the earlier due date they can select would be wednesday, not sunday)

1 answer

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
October 3, 2024

Hi @Zekeriya Spoth ,

for my knowledge you can't put in place that through the builitin Date Compare Validator.

You should implement your own custom validator or, if you have scriptrunner, through the following approach https://docs.adaptavist.com/sr4jc/latest/features/workflow-extensions/validators

Hope this helps,

Fabio

Suggest an answer

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

Atlassian Community Events