You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have to write an automation rule that will clear data from 2 custom (drop down select) fields when the epic is removed from the card/issue and the cards/issues sub-tasks.
The rule currently will update the card when an Epic is changed, but I now need to expand the rule for when the Epic is removed.
The current rule is:
When value changes for Parent Link (Any changes to the field value; for Edit issue)
To do that you would need an additional rule, using the generic Issue Updated trigger, followed by a check on the changelog to determine if the parent field was cleared. Then you could update, as needed.
Here is some information on the changelog to help you create the advanced compare condition you will need: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--changelog--
If you select the multi-select field with Issue Edit and do not select any options, it will clear it.
If instead you need to remove specific values, you may want to use a JSON edit to use "remove" or:
Here is the syntax for the JSON edit: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Multi-select-custom-field