I want to put a validation that if something gets uploaded in the attachment field I want to make a few custom fields hidden plus make them not required but I am not able to find "Attachment" under add field option in "Behaviours" Scriptrunner
Hi @venkatesh_rajput
It do not seem possible to do it with a Behaviour
https://productsupport.adaptavist.com/browse/SRJIRA-52
Regards
Hi @Florian Bonniec
Is there any other way to achieve what I want?
You could set the fields are optional, but create a validator in the workflow to set them required if no attachments. You will not be able to hide/show them.
It looks like you're new here. Sign in or register to get started.