How can I use the below script to set the value of an issue field such as "Description" instead of a custom field?
def cf = customFieldManager.getCustomFieldObjects(issue).find {it.name == 'field name'}
issue.setCustomFieldValue(cf, 'Non-project')
Also how can I use the above script or a mod of it to set a date picker custom field to 3 days from the current date?
Thanks for your help guys.
David