Forums

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

How to inherit from parent the fix version only when there is one fix version in the parent

Aarón Palazón Barber February 22, 2024

Hello World! I have a problem to solve: I want to create an automation that copies the parent fix version field to all their childrens but only when the parent has one fix version. For now the automation I have created copies all fix versions that are in their parents. Can I do that? 

1 answer

1 accepted

1 vote
Answer accepted
Mark Segall
Community Champion
February 22, 2024

Hi @Aarón Palazón Barber 

You'll want to add a smart value condition in your rule:

{{issue.fixversions.size}}
Equals
1
Aarón Palazón Barber February 23, 2024

Thank you so much for your answer @Mark Segall , you give me the clue to have the solution!! The correct answer for me is the variable {{issue.parent.fixversions.size}} because I want to check if the parent has more than one fix version, not the issue I'm creating. 

Have a nice weekend!! :) 

Like Mark Segall likes this

Suggest an answer

Log in or Sign up to answer