I am using ScriptRunner to Clone issues from one project to another. The cloning works great by itself. However if, at the end of the script, I add an action to delete the issue after clone some of the attachments are missing from the cloned issue.
It seems to happen when there are a lot of large attachments, some are cloned with the issue others are missing. I'm guessing but could it be the 'delete' executes before the 'clone' is finished copying?
Is there are work around for this ?
Thanks, Don
workaround:
instead of deleting the issue, set an identifier field on the issue e,g "marked for Deletion=Y"and than bulk delete all issues which were marked by script runner.
Thanks for the fast reply.. I sorta did something similar. I created a new status and at the end of the script transitioned the cloned issue to that status. Then from another script, when an issue is transitioned to the new status delete it.
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.