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?
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)
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot