we have a cascading style filed named BU-BPA, we want a parent and child must be filled if anything not filled warn with pop up message, want to implement this with script runner, work validators.
if only the parent one selected want a pop a message like "please select both "
if they select both like above no need of pop up
It sounds like you would want a ScriptRunner Behaviour for this. You can have it check these on create or transitionss (and other options).
Let's say you do this on creation, it will:
Another thing also, for the Behaviour script, if you do not know how to write Groovy, no worries, I don't as well. What I do is use AI to write this part for me. I have created several behaviours and other things in ScriptRunner this way and they all work great.
Also you could probably use validator in workflows for this, on create require this field to be filled out, that's a very simple way to manage it, you can even go more deep with ScriptRunner in your workflow validating this with on screen pop ups. But it all depends on the details here of exactly what you are looking for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.