Hi experts,
I need to fix the jira automation which it should copy the attachments from parent issue (trigger issue) and paste to linked issues (is cloned by) then the attachments of the parent issue must be deleted.
Copying the attachments works well in the automation, but the deleting part gets error every time. It has to delete all the attachments from parent issue. When I use "delete attachment/all attachments" it does not work in the automation. Instead of this I tried to use regular expression for the trigger issue, it gets wrong results or no action.
Could you please share your opinions regarding this issue?
I would be grateful if you could help me.
Thanks a lot in advance
Based upon your rule image, I suspect you are encountering a timing problem (i.e. a racetrack error).
Automation rule branches which process one-and-only-one-issue (e.g. branch on epic parent) run in-line and complete before any other rule steps process. All other branches run in parallel and asynchronously. The impact for your rule is the first branch (on linked issues) is still running when the second one (on parent) starts/finishes.
Without seeing your entire rule, I suggest a solution may require a redesign of your approach. If you post your entire rule the community may see some way to do this in one rule.
Another possible work-around that might help is divide-and-conquer using two rules:
I note this only "might" work because there still could be timing issues.
Kind regards,
Bill
Hi,
Thank you so much for the explanation.
You are absolutely right that, divide-and-conquer using two rules is more efficient way.
And I have fixed the problem.
Thanks a lot for your help.
Have a nice day!
Br/ Anar
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.
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.