Testar grátis
5 min leitura Guide 147 of 877

Automatizando Transições Workflow com Labels

Gestão workflow manual desperdiça tempo e introduz erros. Quando membros time devem lembrar de mover cards, notificar stakeholders, ou atualizar campos, coisas são perdidas. Automação baseada em labels no GitScrum dispara ações automaticamente, garantindo execução processo consistente enquanto libera seu time para focar no trabalho real.

Fundamentos Automação

Como Funciona Automação Labels

CONCEITO AUTOMAÇÃO:
┌─────────────────────────────────────────────────────────────┐
│ AUTOMAÇÃO DISPARADA POR LABELS                              │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│ PADRÃO BÁSICO:                                              │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ QUANDO [label adicionado/removido]                      ││
│ │ ENTÃO [executar ação]                                   ││
│ │ OPCIONALMENTE [notificar alguém]                        ││
│ └─────────────────────────────────────────────────────────┘│
│                                                             │
│ TRIGGERS AUTOMAÇÃO:                                         │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ • Label adicionado à tarefa                             ││
│ │ • Label removido da tarefa                              ││
│ │ • Tarefa movida para coluna                             ││
│ │ • Tarefa atribuída a usuário                            ││
│ │ • Data limite alcançada                                 ││
│ └─────────────────────────────────────────────────────────┘│
│                                                             │
│ AÇÕES POSSÍVEIS:                                            │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ • Mover tarefa para coluna                              ││
│ │ • Atribuir tarefa a usuário                             ││
│ │ • Adicionar/remover outros labels                       ││
│ │ • Definir data limite                                   ││
│ │ • Enviar notificação (Slack, Teams, Discord)            ││
│ │ • Atualizar campos tarefa                               ││
│ └─────────────────────────────────────────────────────────┘│
│                                                             │
│ EXEMPLO:                                                    │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ QUANDO: Label "approved" é adicionado                   ││
│ │ ENTÃO:                                                  ││
│ │ • Mover tarefa para coluna "Ready for Dev"              ││
│ │ • Remover label "needs-review"                          ││
│ │ • Notificar canal Slack #dev-team                       ││
│ └─────────────────────────────────────────────────────────┘│
│                                                             │
└─────────────────────────────────────────────────────────────┘

Design Sistema Labels

Projetando para Automação

ESTRUTURA LABELS:
┌─────────────────────────────────────────────────────────────┐
│ ORGANIZANDO LABELS PARA AUTOMAÇÃO                           │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│ USE PREFIXOS PARA CATEGORIAS:                               │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Labels status (disparam movimentos coluna):             ││
│ │ status/needs-design                                     ││
│ │ status/needs-review                                     ││
│ │ status/approved                                         ││
│ │ status/blocked                                          ││
│ │ status/on-hold                                          ││
│ │                                                         ││
│ │ Labels prioridade (disparam ordenação):                 ││
│ │ priority/critical                                       ││
│ │ priority/high                                           ││
│ │ priority/medium                                         ││
│ │ priority/low                                            ││
│ │                                                         ││
│ │ Labels time (disparam atribuições):                     ││
│ │ team/frontend                                           ││
│ │ team/backend                                            ││
│ │ team/design                                             ││
│ │ team/qa                                                 ││
│ │                                                         ││
│ │ Labels tipo (disparam workflows):                       ││
│ │ type/bug                                                ││
│ │ type/feature                                            ││
│ │ type/hotfix                                             ││
│ │ type/refactor                                           ││
│ └─────────────────────────────────────────────────────────┘│
│                                                             │
└─────────────────────────────────────────────────────────────┘

Receitas Automação Comuns

Padrões Prontos para Usar

RECEITAS AUTOMAÇÃO:
┌─────────────────────────────────────────────────────────────┐
│ AUTOMAÇÕES WORKFLOW COMUNS                                  │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│ WORKFLOW REVIEW:                                            │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Receita: Roteamento review automático                   ││
│ │                                                         ││
│ │ Trigger: Tarefa movida para coluna "Review"             ││
│ │ Ações:                                                  ││
│ │ • Adicionar label "status/needs-review"                 ││
│ │ • Atribuir a rotação code review (round-robin)          ││
│ │ • Notificar reviewer via Slack DM                       ││
│ │                                                         ││
│ │ Trigger: Label "status/approved" adicionado             ││
│ │ Ações:                                                  ││
│ │ • Mover para coluna "Ready to Deploy"                   ││
│ │ • Remover label "status/needs-review"                   ││
│ │ • Notificar atribuído original                          ││
│ └─────────────────────────────────────────────────────────┘│
│                                                             │
│ TRIAGEM BUGS:                                               │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Receita: Escalação bug crítico                          ││
│ │                                                         ││
│ │ Trigger: Labels "type/bug" + "priority/critical" added  ││
│ │ Ações:                                                  ││
│ │ • Mover para coluna "In Progress" (pular fila)          ││
│ │ • Atribuir a desenvolvedor on-call                      ││
│ │ • Definir data limite hoje + 4 horas                    ││
│ │ • Enviar notificação urgente para #incidents            ││
│ │ • Adicionar à sprint atual automaticamente              ││
│ └─────────────────────────────────────────────────────────┘│
│                                                             │
│ TRATAMENTO BLOQUEADOS:                                      │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Receita: Escalação tarefa bloqueada                     ││
│ │                                                         ││
│ │ Trigger: Label "status/blocked" adicionado              ││
│ │ Ações:                                                  ││
│ │ • Mover para coluna "Blocked"                           ││
│ │ • Notificar team lead                                   ││
│ │ • Adicionar à agenda daily standup                      ││
│ │                                                         ││
│ │ Trigger: Label "status/blocked" removido                ││
│ │ Ações:                                                  ││
│ │ • Retornar para coluna anterior                         ││
│ │ • Notificar atribuído original                          ││
│ └─────────────────────────────────────────────────────────┘│
│                                                             │
└─────────────────────────────────────────────────────────────┘

Automações Sprint

Simplificando Gestão Sprint

RECEITAS SPRINT:
┌─────────────────────────────────────────────────────────────┐
│ AUTOMATIZANDO WORKFLOWS SPRINT                              │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│ INÍCIO SPRINT:                                              │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Quando sprint inicia:                                   ││
│ │ → Notificar todos membros time                          ││
│ │ → Postar sprint goal no canal #team                     ││
│ │ → Criar tarefa retrospectiva sprint                     ││
│ │ → Arquivar tarefas "Done" sprint anterior               ││
│ └─────────────────────────────────────────────────────────┘│
│                                                             │
│ AVISO FIM SPRINT:                                           │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ 2 dias antes da sprint terminar:                        ││
│ │ → Verificar itens alta prioridade incompletos           ││
│ │ → Notificar team lead de itens em risco                 ││
│ │ → Postar status no canal #sprint-status                 ││
│ │                                                         ││
│ │ Sprint termina:                                         ││
│ │ → Mover itens incompletos para backlog                  ││
│ │ → Adicionar label "carried-over" a itens incompletos    ││
│ │ → Gerar relatório resumo sprint                         ││
│ └─────────────────────────────────────────────────────────┘│
│                                                             │
└─────────────────────────────────────────────────────────────┘

Soluções Relacionadas