While creating an issue, is there an easy way to clone the issue multiple times?

This may or may not be a unique situation, so any creative suggestions on how to solve this would be appreciated.

  1. I work in the maritime industry, and our work spans across a fleet of forty vessels.  Each vessel has one IT officer on each ship (assignee)
  2. We like to keep our fleet standard, so it is rare we have a task that doesn't need to be completed on all ships

With that in mind.  Let's use an example issue where we wanted to create a task in JIRA for our forty ships,

  • "Create Rack Elevation Drawing for Primary Data Center"

That one issue, is actually 40 issues.  Because we want each ship's assignee, to produce a unique rack elevation.  40 drawings, from 40 different assignees. 

From an oversight perspective, we would prefer see in the JIRA board which ships are done, and which are not, etc.


All very well conceptually, until we wear the shoes of the requestor.  As the requestor within JIRA, must we:

  • Create an issue, assign it to ship 1.  Submit.  Create an issue, assign to ship 2.  Submit.  (And repeat for 40 times).

Or is there an easier way either through customization, workaround, addons, that people are aware of that can do this in a more user friendly manner.  Maybe there has not been the exact issue reported on here, but even something could marginally help would be better than what we have now.


My worry is if we have to create an issue 40 times and fill in every field 40 times, we'll naturally default to just e-mailing the ships the task and ask them to reply once done.  A process I'd prefer to move away from...

Thank you!

1 answer

0 vote
Gaston Valente Community Champion Sep 20, 2017

Hi Matthew,

Using some scripting tool like script runner you can achieve this kind of behavior, for example:

  1. You create only one issue
  2. You create a group of IT officers with the forty people
  3. Then you create a script to clone a ticket for every person in the group.
  4. Finally you can make this script available as a post function of a transition of the workflow, for example "Replicate to all vessels"

Then you can improve this logic by changing some fields based on the assignee, that should be possible too.

Hi,

I am looking for a similar function.

Do have the groovy code for cloning an issue the right way? I thought of using the "Clone issue" function of Script Runner, but this only clones the issue once. 

Best regards

Michaela

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

340 views 2 4
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you