Forums

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

In Automation rule "Issue fields Condition" how can we select Cascading field?

Pathan Zubair Khan
Contributor
September 8, 2021

Hi All,

 

I'm trying to create an automation for the affects version field. We have one cascading field called "Version defect was found" when a new issue is creating if the user selects the value in cascading field "1234" The Affects version field needs to show only the selected version. 

Automation rule:

When: Issue is created

Project equals to ABC

Issue Type is Bug

Issue fields condition 

hear I'm not able two select "Version defect was found" field 

 

Thanks 

2 answers

1 accepted

4 votes
Answer accepted
Alex Koxaras _Relational_
Community Champion
September 9, 2021

Hi @Pathan Zubair Khan 

Instead of issue field condition, try advanced compare condition and type:

{{issue.Version defect was found.value}} equals "the value of your field"

{{issue.Version defect was found.child.value}} equals "the SECOND value of your field"

Keep in mind that you will need TWO advanced compare condition

Pathan Zubair Khan
Contributor
September 9, 2021

Hi @Alex Koxaras _Relational_ 

 

Thanks, It's working 

Like # people like this
Alex Koxaras _Relational_
Community Champion
September 9, 2021

Nice!

Pathan Zubair Khan
Contributor
November 10, 2021

Hi @Alex Koxaras _Relational_ 

 

If we have multiple values in "Second value". For example, I'm using cascading field and 1  value is 1AA  and 2 values are 1.aa and 2.aa.. So when I select 1 value and 2nd value matches any of this. How can I add this to rule   

Alex Koxaras _Relational_
Community Champion
November 10, 2021

Hi @Pathan Zubair Khan then just remove the second condition. You only care if the user chooses the parent value of the cascade field. So it's irrelevant if the users chooses any child value.

0 votes
Celeste Beaulieu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 2, 2022

Hi, @Alex Koxaras _Relational_, I'm having a similar issue. Could you break that syntax down into a fill in the blank type code? I take it that the "Version defect was found" is the name of the field, but should ".value" be there for every type of code? Should I enter the value I want fulfilled? Or does that go in the second value line?

Thanks for your help! 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events