Forums

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

Make both fields in cascading list required to submit form

Salvador Garcia January 8, 2020

Hey all, 
I am using Jira Service Desk (CLOUD) and Jira (Cloud). Right now, when a cascading field is set to "Required", it will allow a user to submit a form using Jira Service Desk so long as the parent field is chosen. We need the child to be required as well. 

I do not have ScriptRunner but we do have Misc Workflow Extension (JMWE) installed. I've attempted to create a validator, but whenever I apply one at the create transition, the form will refuse to submit. Is this possible?

I've looked at other questions related and have not been able to find any information.

2 answers

1 accepted

0 votes
Answer accepted
Salvador Garcia January 8, 2020
issue.customfield_15168.child.value != null
0 votes
David Fischer
Community Champion
January 8, 2020

It should be possible using a build-your-own Validator. What did you try that didn't work?

However, you need to know that because of a known Jira Service Desk issue, the error message you configured will not be displayed when submitting the request - only a generic message will be displayed when the Validator doesn't pass. 

Salvador Garcia January 8, 2020

!! issue.customfield_15168.child.value


Salvador Garcia January 8, 2020

Actually, this code seems to work. Just fyi.  

issue.customfield_15168.child.value != null

Suggest an answer

Log in or Sign up to answer