Automação - mudança de status dos irmãos

Glauce Machado Ignacio Alves December 5, 2024

 

 

Olá!
Como eu crio uma automação que ao fazer uma modificação do status em uma subtarefa, mude também o status das subtarefas "irmãs", ou seja do mesmo pai?

1 answer

1 accepted

3 votes
Answer accepted
Trudy Claspill
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 5, 2024

Olá @Glauce Machado Ignacio Alves ,

Você já tentou construir esta regra? Você pode nos mostrar o que você tem até agora?

Algo assim deve funcionar:

Gatilho: problema transferido

Condição: Condição dos Campos de Emissão
Campo: Tipo de Problema
Condição: igual
Valor: Subtarefa

Para cada um: regra de filial/questões relacionadas
Tipo de problemas relacionados: JQL
JQL: parent = {{triggerIssue.parent}}
Desmarque incluir apenas problemas que foram alterados

Ação: Problema de Transição

---

Hello,

Have you tried to construct this rule? Can you show us what you have so far?

Something like this should work:

Trigger: Issue Transitioned

Condition: Issue Fields Condition
Field: Issue Type
Condition: equals
Value: Sub-task

For Each: Branch Rule / Related Issues
Type of related issues: JQL
JQL: parent = {{triggerIssue.parent}}
Uncheck only include issues that have changed

Action: Transition Issue

 

Automation - sibling status change
Hello!
How do I create an automation that, when changing the status of a subtask, also changes the status of "sister" subtasks, that is, those of the same parent?

Glauce Machado Ignacio Alves December 6, 2024

Já tentei construir sim

Dessa forma, mas ele só faz a mudança no Pai


automação.png

Quando eu mudar o status de uma subtarefa ele precisa colocar o mesmo status para o Pai e as outras subtarefas, ou seja, as irmãs

 

Trudy Claspill
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 6, 2024

O problema é o seu segundo ramo. Essa ramificação diz "Para cada subtarefa [do problema que acionou a regra]". O problema que acionou a regra é uma Subtarefa, portanto não pode ter Subtarefas abaixo dela. Este tipo de ramo procura filhos, não irmãos.

Você precisa alterar o branch conforme descrevi na minha resposta:

Para cada um: regra de filial/questões relacionadas
Tipo de problemas relacionados: JQL
JQL: parent = {{triggerIssue.parent}}
Desmarque incluir apenas problemas que foram alterados

 

---

The problem is your second branch. That branch says "For each Subtask [of the issue that triggered the rule]". The issue that triggered the rule is a Subtask, so it cannot have Subtasks below it. This type of branch is looking for children, not for siblings.

You need to change the branch as I described in my response:

For Each: Branch Rule / Related Issues
Type of related issues: JQL
JQL: parent = {{triggerIssue.parent}}
Uncheck only include issues that have changed

 

I already tried to build

This way, but he only makes the change in the Father

When I change the status of a subtask, it needs to give the same status to the Parent and the other subtasks, that is, the sisters

 

Glauce Machado Ignacio Alves December 6, 2024

Eu consegui!!!!
Muito obrigada!

2024-12-06 16 19 59.png

Like Trudy Claspill likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events