Forums

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

Not able to copy Components from epic on story update using Jira Automation

Kashif Ansari April 22, 2020

Whenever an issue is updated, I want the automation to check the issue's epic component. If the epic's components field contains Technical then I would like to update the given issue's components field with that of the epic.


Here is what I am doing.


Screen Shot 2020-04-20 at 1.06.43 PM.png

2 answers

1 accepted

0 votes
Answer accepted
Kashif Ansari April 23, 2020

This solution worked.

Screen Shot 2020-04-23 at 5.23.10 PM.png

0 votes
John Funk
Community Champion
April 22, 2020

Hi @Kashif Ansari  - Try using a Branch rule / related issues component prior to the Edit issue fields component at the end. 

Kashif Ansari April 23, 2020

Didn't work

Kashif Ansari April 23, 2020

@John Funk This query updates the epic not the updated issue.

 

Screen Shot 2020-04-23 at 4.52.26 PM.png

John Funk
Community Champion
April 23, 2020

Glad you were able to figure it out!

Holly Schomann
Contributor
August 11, 2021

Help! I am having the same issue. I want the tickets in the epic to pull the components from the Epic.  The automation keeps updating the Epic components, not the tickets in the Epic. 

I have tried numerous combinations, including the combination below. 

Any suggestions?

I have spent so many hours on this. It's just driving me crazy.

holly

 

Screen Shot 2021-08-11 at 1.47.21 PM.png

Kashif Ansari August 11, 2021

 

@Holly Schomann I use this query to update the fix versions and components whenever an issue is updated.

Jir aautomation.png

Suggest an answer

Log in or Sign up to answer