Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Is adding/removing an Issue under an Epic considered an "issue update" (trigger) in Jira automation?

I am trying to create an automation when the automation is triggered when an Epic gets a new issue added/removed under it. 

 

Does the "Issue updated" trigger work in this scenario?Screenshot 2023-10-20 141848.png

2 answers

1 vote
Bill Sheboy
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.
Oct 22, 2023

Hi @brian_g 

When a child issue is added / removed / changed for an epic, the parent field is changed in the child issue.  I believe the epic link field is also changed for company-managed project issues, although that field is sunsetting.

To do what you ask, please try using the Issue Updated trigger, check if the issue type is not an epic, and then check the changelog smart value for changes to the parent field.  Once the rule confirms the parent has changed, you may use the parent field (and / or changelog) to branch to the parent epic with JQL to access it.

Please look here to learn more about the changelog smart value:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--changelog--

Kind regards,
Bill

Hi Bill. Thanks for your reply.

How do I use the smart value {{changelog}} to get information that the parent field is updated (T/F)? From what I can see, the only changelog properties available for me are summary, issuetype, and status. 

I have tried using an "Advanced compare condition" to catch when I add a parent epic to a task

     First value = {{changelog.Parent}}

     Condition = greater than

     Second value = 0

But "The following issues did not match the condition:"

Please advise. 

Thanks!

I saw your other post here https://community.atlassian.com/t5/Jira-Software-questions/jira-automation-for-team-managed-project-when-story-changes/qaq-p/2296545, and together with you advice from this post, I came up with the following solution. 

Essentially what I wanted was - update an issue with it's parent's labels when an issue gets a new parent. 

This is what worked for me

Untitled.png

Bill Sheboy
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.
Oct 23, 2023

Well done, and interesting: I am not familiar with that smart value, IssueParentAssociation.

What do you want your rule to do if the issue no longer has an epic parent (i.e., the parent is cleared)?

As written, I believe the rule will show an error if there is no parent.  That can be prevented by adding a condition to check if the parent is not empty before the edit action.

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 20, 2023

I would assume so. Is that not what you are seeing?

No. It doesn't seem to take into account adding/removing an epic's children.

Suggest an answer

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

Atlassian Community Events