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
Next: Root
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 a use case where if a component is removed from an issue we want to remove the component from all child issues.
I have been able to use {{#changelog.components}}{{toString}}{{/}} to identify is a component has been added to an issue BUT I cannot find a way to identify if the component has been removed as the removed components are not in the change log that I get form this.
Does anyone have any ideas on how we can identify if a component has been removed from an issue?
Hi @Daniel Lupton ,
Welcome to the Atlassian Community.
As I understand you are able to fetch the latest component from the changelogs but unable to perform the deletion steps for automation, is it right??
If this is the case go through the below link,
how to delete specific issue components using automation for Jira
Here you can find the steps to delete the component from an issue and then use it in your automation rule as you required.
I hope it helps😊!!
Hi Wasim,
I have thr code to delete the component but what I am first trting to determine is what component was removed.
For some issues I have 3 components assigned and then delete 1 or 2 components how can I identify which component(s) have been removed?
I can retrieve the to and from strings but these return strings with no delimiter and so make it hard to split out the components.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.