Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

want a parent and child must be filled if anything not filled warn with pop up

Mamidipaka Pavan Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 18, 2026

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.

image.png

if only the parent one selected want a pop a message like "please select both "

image.png
if they select both like above no need of pop up 

1 answer

0 votes
Jason Krewson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 18, 2026

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: 

  • Validate the field as the user is making a selection.
  • Shows an error message immediately when only the parent value is selected.
  • Prevents the user from submitting until both parent and child values are chosen.
  • Provides a better user experience than waiting until Create, Edit, or a workflow transition.

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.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events