Hello,
Thanks for your excellent website.
I'm a Jira-service desk supporter.
I have got a project definition issue type and in this issue type, I've got a date picker field that has the Project Plan Delivery Date name. but I want to put a condition on this field for users can't pick a date for more than 2 months.
Also, I have "Adaptavist ScriptRunner for JIRA" but don't know how to write scripts.
I appreciate your help.
You should edit your workflow, and on a specific transition, you can add a "Validator" that is called "Date Compare Validator"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Marcin Wiktor
I know this way but this is for when I created the issue.
I want something before the creation so as a result, I don't have workflow before the creation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@CRS123456 but you can add this validator on a "create issue" path (literally the path that goes as first in your's workflow) - it will prevent people from createing an issue when this condition isn't match.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're right. I didn't know this so I learned a new thing.
It's working great, man. Thanks a lot.
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.