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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,233
Community Members
 
Community Events
176
Community Groups

Automation to set value based on when an epic link is added or removed

I am looking to copy a custom text field from an Epic when an epic link is added to an issue or clear the field when the epic link is removed.

 

Epic link is not a value I can use in the selection condition have been looking at the change log.

This rule works fine when you add an Epic link. But when the Epic Link is removed it continues past the compare values  and then fails as the is no Epic.

I was expecting to have a separate rule to clear the values when Changelog.Epic Link equals Empty 

 

Any recommendation as to a workable solution would be appreciated.

Screenshot 2022-01-24 181715.pngScreenshot 2022-01-24 181837.png

1 answer

0 votes

Hvae you tried having the left hand side of the condition simply:

{{issue.Epic Link}}

This will already be the latest value of the Epic Link field so when you've cleared it, it should evaluate to empty

I think the current value doesn't have the correct closing tag. It needs a {{/}} after the to

The best way to debug the smart value is to add a "Log action" before the condition and then just log out the smart value and then you can see what value you're comparing

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events