I'm trying to create a JIRA Automation rule that triggers a set of actions, based upon what the user puts into a custom field, which uses the Cascading list selector option. When I try to do this, the custom field I created doesn't show up in the list of available options to use as the trigger in the JIRA automation rule.
No, if you are trying to run the "Field Value changed" that is not supported i believe. I verified and cannot use such fields in my systems either.
What you should be able to do as a workaround though is to use the "Issue updated" or "issue created" trigger instead and then use IF statement to limit things to what you want it to do.
I got lazy and found these two previous questions which should point you in the correct direction:
Thanks, Krister. What I'm actually trying to do is a little different than what is showing in the other links you sent. I'm using the "Issue Created" trigger. And then setting an IF statement. I'm trying to have the IF statement include a condition where IF <Value of Cascading Child from custom field> is X, then y.
However, I'm not given the option of using my custom field (with the cascading value) for the condition.
I emailed the Automation for JIRA team, and received this suggestion (which I haven't yet tried but will do so):
as a workaround, you can use the Advanced Compare Condition with the code below, for example:
{{issue.customfield_11900.child.value}}
You'll have to adapt this to your use case, replacing the "11900" by your custom field's ID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yep should work, Automation is good in that you can handle looking at only the child value through the advanced compare. That function is a pro function though.
An option if you are only on the free server version AND If the child value is not reused meaning that one child is specific to one parent you can also use the JQL statement by using the advance search cascadeOption
Example in my cascading selection field "TestCascading"
TestCascading in cascadeOption("ABCDE","DE45")
This will show only issues that are in parent "ABCDE" and child "DE45"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.