Forums

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

Partager les composants entre 2 projets / Share components between 2 projects

Anthony
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 8, 2021

Hello

we are currently running a project in which i have created about 200 components. I just created a related project that will use the exact same components.

Is it possible to share them, or at least import them?

thanks in advance

 

Bonjour
nous exploitons actuellement un projet dans lequel j'ai créé environ 200 composants. Je viens de créer un projet connexes qui va utiliser exactement les mêmes composants.
Est-il possible de les partager, ou au moins de les importer ?
Merci d'avance

2 answers

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 8, 2021

The components are listed for each project independently, they are purely project artifacts.

There are a couple of tricks you could play (scraping the list from the admin screen, converting it to csv and importing some dummy issues in the target project, for example), but it will be simply duplicating the names as a new list into the target project. 

Duplicating components can make your reporting look odd and it is rather counter-intuitive to have multiple components with the same name.  A report for "Project A, Project B and Project C" will report three different components even if all three projects have a component called the same thing.  Same name is not same component.

Anthony
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 8, 2021

thank you for your reply.

 If I understand correctly, this system will generate duplicates. I will instead create a rule to redefine the component of a ticket when it passes from one project to another.

thanks again

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 8, 2021

You would need to do that anyway!  The component "Penguin" in project A is not the same thing as the component "Penguin" in project B. 

Moving issues from one project to another will always lose the components on it because the components are project aretifacts.

John Funk
Community Champion
September 8, 2021

Actually, I am pretty sure that if the component exists by the exact same name between the projects in Cloud, then the value of the component field will be retained in the move. 

0 votes
Salim Hammar
Contributor
February 12, 2022

Salut @Anthony 

Voici le script qui m'a aider et qui va t'aider aussi : 

https://mraddon.blog/2021/04/25/how-to-sync-components-between-jira-projects/

sur ce site il y a un script qui va te permettre de dupliquer des composant avec différents projets.

 

Je suis débutant sur Jira mais si ta des questions ou autre n'hésite pas , j'essayerai de t'aider.

Suggest an answer

Log in or Sign up to answer