Forums

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

Jira automation & Inheriting 'component' value from parent

Anu Issac
Contributor
June 18, 2024

In Jira automation, I've set a rule that if children (story/task/bug/subtask) are created under a parent, the 'component' value should be inherited from the parent. This is working fine. However, if I add a different component that is not the same as the parent to the story/task, an error occurs. How can I avoid that?

1 comment

Comment

Log in or Sign up to comment
Sagar Mahajan
Community Champion
June 18, 2024

Hi @Anu Issac Can you share your working automation details as if you not want to take any action when parent component is different than what it is selected for child issues then it need to be added in the automation rule condition to skip it when component is not matching the parent, if you share the rule, that will help understand what and where it need an update.

Anu Issac
Contributor
June 18, 2024

Screenshot 2024-06-18 at 3.46.25 PM.png

Sagar Mahajan
Community Champion
June 18, 2024

@Anu Issac I created a below rule and it is working fine, not giving any error when other component is selected for child issues as automation rule keep the component added while creating the child issue and also copy the component from parent issue after the child issue created, so in this case child issues will have both the components one that copied from the parent and other that is selected while creating the child issue.

Capture 2024-06-18 at 16.17.03.png

TAGS
AUG Leaders

Atlassian Community Events