Is there a way to have a date field such that it does not let you enter weekend dates or dates < 48hrs of submitted date.
For both the conditions it should give error.
Is it possible in Jira Service Desk Forms. Or Jira Service Desk Extension Add-on, Is there some add-on or automation available to do this?
Hey @Juby John
This would have to be achieved with an add on. All the options I am going to present to you are for Cloud and Server since you did not specify which one you are on.
I'm not 100% sure but you may be able to do this with JSU Automation Suite. You would add a validator on the create transition and use the Date Expression Compare. There may be a way to specific weekends and not allow those.
Another option is ScriptRunner. If anyone on your team has groovy experience, you could use ScriptRunner as the validator on the create transition.
You could also try out Extension for Jira Service Desk. This allows you to add dynamic fields to your forms. On date fields you can add additional validators within their application and you may be able to restrict weekends. Im not 100% sure on that though.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Of course, glad I could help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.