Scriptrunner post function clones an issue, and links is not cloning attachments

David Hightower September 24, 2018

Using Scriptrunner post function on a workflow transition.

I'm using the post function : Clones an issue, and links, and expect the attachments clone from the original issue to the new issue. But upon typing attachments into the Fields to copy box, I get a No Matches found on Attachments.

I'm cloning from one project to a different project. Target issue type is left to the default of the original project.


1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Ivan Tovbin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2018

I would solve this by either:

1) Writing a separate post function which would copy attachments from the original issue 


2) Write a custom post function which would clone the issue with all required fields and attachments

David Hightower November 8, 2018

Thanks Ivan! Not sure why, possibly a jira version upgrade, but I am able to add attachments now on the clone. 

AUG Leaders

Atlassian Community Events