Hi,
I would like to copy the last attachment inserted in the issue to a new issue or sub-task created from a post function (Linked issue). Only the last attachment inserted in the post function screen. Can you help me please?
Thanks.
I would like to copy only last file attached in transition a post-function, did you solved???
if you solved this questions, please tell me how to do it.
I use the script runner "Script Post-Function [ScriptRunner]", the first option. Is this option correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please try code from this question - https://community.atlassian.com/t5/Jira-Core-questions/How-can-I-copy-the-last-attachment-from-a-Jira-issue-to-another/qaq-p/145363
Regards,
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sebastian Krzewiński I tested it with this code, but it had no effect. I wanted in this post function (Project A) to create an issue in another project (Project B) and copy only the last attachment for that other project, is my post function correct?
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.
What post function do you use?
In Jira out of the box this scenario is imposible to achieve. You must use add-on (e.g. script runner). But I will be able to help you if you tell me what add-on you use.
Regards,
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I use the script runner "Script Post-Function [ScriptRunner]". Can you help me please?
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.