The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • How can I also mark the second field of a cascading field selection list as a mandatory field?

How can I also mark the second field of a cascading field selection list as a mandatory field?

Sharam Blouri
July 19, 2022

I have created a cascading field in custom fields, but I can mark the parent select list as required and not the child!

Best

 

Screenshot 2022-07-19 164004.png

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
John Funk
Community Champion
July 23, 2022

Hi Sharam,

I am not aware of a way to make that happen. 

Sharam Blouri
August 3, 2022

Hi John, 

I have created a cascading field in custom fields, but I can mark the parent select list as required and not the child!

Best

John Funk
Community Champion
August 3, 2022

Exactly   :-)

Sharam Blouri
August 3, 2022

do you have a solution?:)

John Funk
Community Champion
August 3, 2022

No - read my original answer. I am not aware of any way to do that. 

Dani Cuello
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!
April 13, 2023

Hello everyone,

Hopping that this solution works for all of you, it did in my case.

First of all you need to have the ScriptRunner application installed.

Then, in the workflows transitions (in my case in the "create issue" transition), press on the transition and click "validations" option. Now you can create a new validation using the ScriptRunner Script option.

Use the following expression to avoid request creations without completing the child field of a cascading custom field like yours:

issue.YourCustomerFieldName.child != null

You can also include the error message description you want to show.

Regards
Dani Cuello

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events