I have a parent ticket with 10 attachments on and after approving the images,
1. I want to click 'Approved' triggering an automation to split these images into 10 sub-task tickets with 1 of the images on each.
2. Then delete the attachments from the parent ticket.
I managed to create 10 tickets using an automation that counts the attachment.size, but then it seems like all the attachments come through to the subtasks every time (so 10 sub-tasks with 10 images each) instead of 10 with 1 each?
I see there is an option to look for first and last attachments e.g. {{attachment.first.size}} but not e.e. {{attachment.(x).size}}
My Smart Value section looks like this:
Did you have success with this?
I am looking to do something similar, wanting to allocate select attachments to a new issue and believe this can be done with script runner but haven't used it before.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.