Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×What is the best way to copy all the information from a parent issue to sub-task, when the sub-task is created? I haven't found a good way copy the attachments and other fields to the sub-task. We got scriptrunner, but haven't found anything.
I'm using jira server.
Thanks!
You might find https://library.adaptavist.com/entity/copy-field-value-from-parent-issue-to-sub-task-upon-creation is a good starting point!
No, it won't, it was intended to get you started.
You could add attachment copies to it, but the Library doesn't have an example for that.
I don't think I've seen any demand for it, the handful of times I've seen "we want to copy attachments", it's actually turned out to be down to something that would be better handled by not using attachments or by linking to a single source of truth rather than duplicating things. So I'd question why you're duplicating attachments before getting stuck into some coding. Attachmentmanager is the right thing to import though
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.