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)
I'm John Allspaw, co-founder of Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...
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