hi,
I wanted to ask a question, due to some weird reason behaviors are not working in our production environment and we were wondering if there was some way to use the behavior modules, classes, interfaces, like FormField etc. and import them inside a custom scripted validator inside workflows?
My support ticket to support my question:
https://productsupport.adaptavist.com/browse/SRJIRA-429
I want to make some fields visible/hidden and mandatory based on some field selection. I know exactly how to do it using behaviors but as i said behaviors are not working for us and we are pretty much stuck and were exploring ways to implement behaviors via other features of script runner plugin like custom script validators.
Any help would be appreciated!!
Thanks & Best Regards,
Bhupesh
Hello @Bhupesh Nagda
You cannot use behaviours classes outside of behaviours. Because FieldBehaviours class work with frontside jira API. Which you can not access from postfunction, conditions etc.
And why behaviours did not work for you?
With behaviours you can do all the stuff that validators do and more.
Hi Mark,
Thank you for your reply.
Actually behavior module of the plugin is not working properly for us and you can find details on below link on why we are not able to use behaviors
https://productsupport.adaptavist.com/servicedesk/customer/portal/2/SRJSUP-4065
However the vendor has finally agreed to entertain our request so we are hoping behaviors will be fixed for us and we would be able to use them for this requirement and many in future.
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.