Hello,
I have a requirement to clear value of date picker custom field making it null using script runner post function. I have tried the below but doesn't seem to work for date picker CF.
// Getting custom field object
def cfoFuncDate = customFieldManager.getCustomFieldObjectByName("QA Deployment Date")
// Getting custom field value
def cfFuncDate = issue.getCustomFieldValue(cfoFuncDate
if (cfFuncDate) {
issue.setCustomFieldValue(cfoFuncDate, null)
}
Kindly help.
Hi @Ramya Yarru can you post screenshot of postfunctions configuration? (I mean list of the postfunctions).
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.