Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Best method for mass cloning of issues from one project to multiple without duplication?

Melanie Pasztor
Contributor
February 5, 2020

Hello!

I am looking into figuring out a way to clone an issue into multiple projects from one global project, and all linked to it. Using either Automation for Jira or Scriptrunner, or both. 

Then also have a check to ensure does not duplicate in a project that the clone has already been created. This I think will be the hardest part, as there will be bottom up check as well, where if an issue in one of those projects are created before the global, then a global issue is created, which in turn triggers the top down creation.

Also include, which I already figured out for something else, auto update status of original issue once all of the clones are resolved. 

Tried finding examples online, but have not found much info on this idea. Aside maybe, more plugins.

Essentially like Epics > Stories > Subtasks, but without using that, across multiple projects.

1 answer

0 votes
Fernando Bordallo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 6, 2020

Hello @Melanie Pasztor

My first go at this would be to do a mass export to CSV and then mass import to each project. 

What have you tried/thought of?

Melanie Pasztor
Contributor
February 7, 2020

Get further clarification to the request, as I was overthinking it. It would be more semi-automatic, where we click on a transition that loops to same status to trigger the cloning of an issue designed in a field to all of the projects to a given category. And making sure all those link to the cloned. A means to prevent a duplication is nice have, but the user can determine that from the global project.

With scriptrunner, the script can be runned from the workflow, from listener, or from a Automation for Jira rule. 

At the moment, trying to figure out how to do recursive loop array with project category.

Like Fernando Bordallo likes this

Suggest an answer

Log in or Sign up to answer