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
It do not seem possible to do it with a Behaviour
https://productsupport.adaptavist.com/browse/SRJIRA-52
Regards
Is there any other way to achieve what I want?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.