Hello,
Is there a way to Clone and link issue using Custom script post function instead of "Clone and link" built in script
Thanks.
You could clone an issue with IssueFactory.cloneIssueWithAllFields(issue). The function would return the new issue. Then you could create a link with IssueLinkManager.createIssueLink
Hi Alexey,
Thanks for the reply.
The Jira version I use is 6.4.14, the method IssueFactory.cloneIssueWithAllFields(issue) doesn't exist for this version.
https://docs.atlassian.com/software/jira/docs/api/6.4.14/com/atlassian/jira/issue/IssueFactory.html
Since the cloneIssueWithAllFields doesn't exist, do we have to copy all the fields manually?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, You need to copy required fields by yourself. You can find more info here:
https://developer.atlassian.com/server/jira/platform/performing-issue-operations/
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.