Forums

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

Automations: Use Parent Field of Issue for Conditions

Sarah Alaghbari November 29, 2023

I am writing a rule where an Issue should automatically inherit its parent's components.

So far, this works, except for the case of an issue having no parent (it throws an error then). In order to avoid this, I would like to check beforehand if the parent field is not empty and only execute the action then. Unfortunately, Parent doesn't seem to be a valid field inside Issue here.

Am I missing anything?

Bildschirmfoto 2023-11-29 um 10.56.42.png

1 answer

1 accepted

3 votes
Answer accepted
Antuan Sammak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 29, 2023

Hi @Sarah Alaghbari 

 

Welcome to the Atlassian Community!

 

you would need to change the condition type you selected from "issue fields condition" to "related issues condition" 

Sarah Alaghbari November 29, 2023

Okay wow, this does make a lot of sense! I just blindly selected the condition type suggested to me without reconsidering 😬

Works perfectly, thanks!

Like Antuan Sammak likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events