Hi there! I need some help with cascading fields in automation, I've created the cascading field "Reason", as you can see in the picture:
And then on the automation rule, I just wanted that when transitioned, this field couldn’t be empty, so I did like this:
However, it’s not working right, even with the field filled:
Could anyone help me with this?
Best Regards,
Raynara.
Hii
Cascading select fields in Jira like "Reason" have two levels – a parent and a child. When you use a condition like "Reason is not empty" in automation, Jira might not evaluate it correctly because it's stored as an object, not as a simple value.
Instead of using the default "is not empty" check, use an Advanced Compare Condition in the automation rule.
Set it like this:
{{issue.fields.customfield_XXXXX.parent.value}} != null
If you also want to check if the child value is selected:
{{issue.fields.customfield_XXXXX.child.value}} != null
Replace customfield_XXXXX with your actual field ID. You can find the field ID by going to Jira > Issues > Custom Fields > locate your field and check the ID in the URL or via Inspect.
This method makes sure Jira correctly checks whether both the parent and child values in the cascading field are selected before continuing with the rule.
Hii Hari! Thank you so much for your anwser, it worked here! The only thing I did was to look up for the field propor custom name in the smart values { } -> custom fields.
I belive the issue of not finding it before was because there's in another board one field with the same name.
Thank you both @Hari Krishna and @Marc - Devoteam !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the field on the screen used for edit action?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Marc - Devoteam I'm not sure I undestand your question right, but I think it isn't. The automation is just to certify that someone didn't forget to fill the field, and if he/she did it, the card is changing columns and a comment will be made to inform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The message in the audit log says it can't find the field.
See KB, resolve-automation-rule-failure-due-to-missing-configured-field-in-jsm-cloud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.