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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.