You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.