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:
You'll have to adapt this to your use case, replacing the "11900" by your custom field's ID.
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"
Hi Atlassian Community! This is Teresa from the Atlassian team. My colleague Paul Buffington @Buff and I are excited to share a brand new ITSM resource we’ve created – "The Complete Guide to At...
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