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?
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?
Já tentei construir sim
Dessa forma, mas ele só faz a mudança no Pai
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.