Can I add the following validator to transition into Close status:
If cascading list first value = Something, then custom field 'Field 2' is required
If cascading list first value = AnythingElse, then custom field 'Field 2' is not required
Was trying to use 'Fields Required Validator (JMWE app)' Validator,
selected the field: 'Field 2',
put the error message (optional),
selected 'Conditional validation', but can't get my condition working.
Also haven't found any similar example. Is it even possible to create sth like this?
Both fields are added on the screen.
Hi @Helena Tubli ,
In the Field required validator, add the below code in the Conditional validation, which returns true if the parent value of the cascading field is equal to "Some value".
issue.get("customfield_11601")?.get(null)?.value == "Some value"
customfield_11601 -> id of the cascading field. Modify the field id and the value as per your use case.
You can refer to "Issue Fields" tab in the Help section for snippets on how to access/test the value of fields.
Hope this helps!
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events