Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Clone Project along with all Project Schemes but without Sharing the schemes between them.

Mohan Sundar
Contributor
December 20, 2021

Dear Community Members,

 

I have a requirement to clone a Project along with all Project Schemes but without Sharing the schemes between them.

Let's say I need to copy/clone Project A without Issues but with all the scheme configurations (Workflow, Issue Type, Screen, Field Configuration). When copied Project B should be an independent project, the schemes shouldn't be shared.

Currently I'm able to copy/clone project through ScriptRunner built-in function but I need to clone it as Independent project rather than shared scheme.

I investigated but couldn't find any possible solution. Any help would be appreciated.

 

 

Thanks and Regards,

Mohana Sundar J.

1 answer

1 vote
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 20, 2021

Hi @Mohan Sundar 

With in-built Jira, it is not feasible.

Please use the add-on to achieve the requirement

https://docs.adaptavist.com/sr4js/latest/features/built-in-scripts/copy-project

Thanks,
Pramodh

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 20, 2021

FYI,

With this add-on, you can copy

  • Schemes

  • Role memberships

  • Custom field configurations

  • Agile boards related to the project (Optional)

  • Filters and dashboards that begin with the project key (Optional)

  • Versions (Optional)

  • Components (Optional)

  • Issues and their attachments (Optional. Components and Versions must be selected)

Thanks,
Pramodh

Mohan Sundar
Contributor
December 20, 2021

Dear @Pramodh M ,

 

As mentioned in my post, currently I'm able to copy/clone project through ScriptRunner built-in function but I need to clone it as Independent project rather than shared scheme.

I want all the schemes to be copied but it should not be shared with source project.

Thank you for your time and reply :) 

 

 

Regards,

Mohana Sundar J.

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 20, 2021
Like Mohan Sundar likes this
Mohan Sundar
Contributor
December 20, 2021

@Pramodh M Thank you! I also just stumbled upon the same post. 

I tried the script. It basically associates the workflow from Project A to Project B. The Workflow Scheme is different but the same workflow is shared between both the projects.

So if I edit Project A's workflow it will still reflect in Project B.

 

 

Regards,

Mohana Sundar J.

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 20, 2021

Hi @Mohan Sundar

I would check the script but it takes time.

Can you please go through two plugins in the test instance in the link below and let me know if this works

https://community.atlassian.com/t5/Jira-questions/Clone-a-project-AND-clone-all-schemes-with-it/qaq-p/1121878

Thanks,
Pramodh

Like Mohan Sundar likes this

Suggest an answer

Log in or Sign up to answer