Hi Support,
How to use groovy scripts to clone an issue based on multiple project select choose?
I am a begineer for groovy scripts and not familiar with it?
Could you please give me some direction or suggestions?
Or Provides some reference code?
Thank you.
Hi Support,
This Clones an issue,and links function only support traget single project created,But I want to choose multiple project to create,do you have any suggestions about it?
Thank You.
Hi Yun,
Could you provide more details as to what you are trying to accomplish?
Let me see if I understand correctly:
You could accomplish this using a Script post-function. For example, you could add a post-function on the "Create" transition of the workflow.
ScriptRunner already has a built-in function to clone an issue:
You could use a condition like this to check what values are selected in the custom field:
('Project1' in cfValues['Project List']*.value) && ('Project2' in cfValues['Project List']*.value) && ('Project3' in cfValues['Project List']*.value)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Support,
This Clones an issue,and links function only support traget single project created,But I want to choose multiple project to create,do you have any suggestions about it?
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.