Forums

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

Comment déplacer automatiquement 2 tickets de projets différents liés entre eux ?

Julie Mathieu July 20, 2023

Bonjour,

 

Nous avons liés deux projets JIRA de manière à ce que dans mon projet A, si je passe un ticket T1 de "TO DO" à "DOING", alors, dans mon projet B, cela crée un ticket T2 lié au ticket T1 en indiquant qu'il s'agit d'un duplicata. (Ca fonctionne bien)

 

Nous souhaiterions qu'ensuite si, dans le projet B le ticket T2 passe en "DONE" alors, le ticket T1 soit aussi également bougé à l'état "DONE".

 

Nous avons essayé de dire :

- Règle 1 : dans le projet B, si le ticket passe en "DONE" alors je supprime le lien avec le ticket lié

- et Règle 2 : dans le projet A, si le lien du ticket lié est supprimé alors le ticket passe en "DONE"

Mais cela ne semble pas fonctionner.

 

Comment pouvons nous mettre en place cette automatisation ?

Merci d'avance pour votre aide

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
July 20, 2023

Bonjour @Julie Mathieu ,

Bienvenue dans la communauté.

Le type de lien que vous utilisez entre ces tickets est-il unique ? Utilisez-vous uniquement ce type de lien pour lier les problèmes du projet A et du projet B ?

Il serait possible de créer une règle qui fonctionne de la manière suivante :

Lorsqu'un changement d'état se produit et que l'état passe à Terminé,

Et le problème où cela s'est produit est dans le projet B,

Ensuite, trouvez les problèmes qui sont liés au projet B,

Choisissez uniquement les problèmes liés qui existent dans le projet A,

Et fait passer ces problèmes liés dans le projet A à Terminé.

 

Cela nécessiterait la création d'une règle de projets multiples, qui ne peut être effectuée que par un administrateur Jira.

 

---

Hello,

Welcome to the community.

Is the link type that you use between these tickets unique? Do you only use that link type to link issues in Project A and Project B?

It would be possible to create a rule that operates in the following manner:

When a status change occurs and the status is changed to Done,

And the issue where this occurred is in Project B,

Then find the issues that are linked to Project B,

Pick only the linked issues that exist in Project A,

And transitions those linked issues in Project A to Done.

 

This would require creating a multiple project rule, which can be done only by a Jira Administrator.

 

How to automatically move 2 tickets from different projects linked together?

Good morning,

We linked two JIRA projects in such a way that in my project A, if I change a T1 ticket from "TO DO" ​​to "DOING", then in my project B, it creates a T2 ticket linked to the T1 ticket indicating that it is a duplicate. (It works well)

We would like that then if, in the project B the ticket T2 passes in "DONE" then, the ticket T1 is also also moved to the state "DONE"

We tried to say:

- Rule 1: in project B, if the ticket goes "DONE" then I delete the link with the linked ticket

- and Rule 2: in project A, if the linked ticket link is deleted then the ticket changes to "DONE"

But that doesn't seem to work.

 

How can we implement this automation?

thank you in advance for your help

Julie Mathieu July 21, 2023

Merci, je vais regarder ça avec un administrateur JIRA.


Pour avoir accès à ceci, il faut aller aussi dans la partie "automation" d'un projet comme je peux le faire moi en étant administratrice d'un projet JIRA ? ou bien autre part ?

Trudy Claspill
Community Champion
July 21, 2023

Un administrateur Jira créerait cette règle en accédant aux paramètres système et en sélectionnant Automatisations globales.

Screen Shot 2023-07-21 at 7.41.01 AM.png

Dans les détails de la règle, ils devront spécifier la portée en tant que projets multiples et sélectionner le projet A et le projet B.

Screen Shot 2023-07-21 at 7.42.09 AM.png

---

A Jira Administrator would create this rule by navigating to System Settings and selecting Global Automations.

In the Rule Details they would need to specify the Scope as Multiple Projects and select Project A and Project B.

 

Thanks, I'll look into this with a JIRA admin.


To have access to this, you must also go to the "automation" part of a project as I can do by being an administrator of a JIRA project? or somewhere else?

Julie Mathieu August 4, 2023

Bonjour,

 

Merci pour ces informations. J'ai pu devenir administratrice JIRA et avoir les droits pour créer une règle d'automatisation globale, entre plusieurs projets.

J'ai pu ajouter les règles : 

1. When a status change occurs and the status is changed to Done,

2. And the issue where this occurred is in Project B,

 

Mais je ne sais pas comment ajouter les règles : 

3. Then find the issues that are linked to Project B,

4. Pick only the linked issues that exist in Project A,

5. And transitions those linked issues in Project A to Done.

 

Dans quelle catégorie d'actions est ce que je peux trouver l'étape 3 ? 

 

Merci d'avance pour votre réponse.

Trudy Claspill
Community Champion
August 4, 2023

Bonjour,

Vous utiliseriez l'option de branche pour l'étape 3.

Screen Shot 2023-08-04 at 9.10.24 AM.pngScreen Shot 2023-08-04 at 9.10.36 AM.png

Après avoir choisi le type de branche (problèmes liés), vous sélectionnerez ensuite Problèmes liés comme type de problèmes liés.

Screen Shot 2023-08-04 at 9.11.13 AM.png

Vous devrez également spécifier le type de lien que vous utilisez entre les problèmes.

 

---

Hello,

You would use the branch option for step 3.

After choosing the type of branch (related issues) you would then select Linked Issues as the type of related issues.

You will also need to specify the type of link you use between the issues.

Good morning,

 

Thanks for these informations. I was able to become a JIRA administrator and have the rights to create a global automation rule, between several projects.

I was able to add the rules:

1. When a status change occurs and the status is changed to Done,

2. And the issue where this occurred is in Project B,

But I don't know how to add the rules:

3. Then find the issues that are linked to Project B,

4. Pick only the linked issues that exist in Project A,

5. And transitions those linked issues in Project A to Done.

In which share class can I find step 3?

 

Thank you in advance for your answer.

Julie Mathieu August 7, 2023

Merci beaucoup, ça fonctionne parfaitement.

Like Trudy Claspill likes this

Suggest an answer

Log in or Sign up to answer