When the user tries to re-open a ticket, a pop up with a deadline (date field) is still with values. This field is required. How do I blank this out on the pop up so the user can enter the appropriate date/deadline on Re-Open transition?
You can use the Scriptrunner Behaviours to implement this request. Setup a project specific behaviour so that if the screen is shared with another project this behaviour will not load.
Here is the code snippet that you need to add on the Behaviour Intialiser
def screen = "Screen with Deadline Field" // the name of the screen
def deadLineField = getFieldByName("Deadline") // the name of the field you're validating
if (getFieldScreen().name == screen) {
deadLineField.setFormValue("")
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.