5 min lectura • Guide 147 of 877
Automatizando Transiciones Workflow con Labels
Gestión workflow manual desperdicia tiempo e introduce errores. Cuando miembros equipo deben recordar mover cards, notificar stakeholders, o actualizar campos, cosas se pierden. Automatización basada en labels en GitScrum dispara acciones automáticamente, asegurando ejecución proceso consistente mientras libera tu equipo para enfocarse en trabajo real.
Fundamentos Automatización
Cómo Funciona Automatización Labels
CONCEPTO AUTOMATIZACIÓN:
┌─────────────────────────────────────────────────────────────┐
│ AUTOMATIZACIÓN DISPARADA POR LABELS │
├─────────────────────────────────────────────────────────────┤
│ │
│ PATRÓN BÁSICO: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ CUANDO [label agregado/removido] ││
│ │ ENTONCES [ejecutar acción] ││
│ │ OPCIONALMENTE [notificar alguien] ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ TRIGGERS AUTOMATIZACIÓN: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ • Label agregado a tarea ││
│ │ • Label removido de tarea ││
│ │ • Tarea movida a columna ││
│ │ • Tarea asignada a usuario ││
│ │ • Fecha límite alcanzada ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ ACCIONES POSIBLES: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ • Mover tarea a columna ││
│ │ • Asignar tarea a usuario ││
│ │ • Agregar/remover otros labels ││
│ │ • Establecer fecha límite ││
│ │ • Enviar notificación (Slack, Teams, Discord) ││
│ │ • Actualizar campos tarea ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ EJEMPLO: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ CUANDO: Label "approved" es agregado ││
│ │ ENTONCES: ││
│ │ • Mover tarea a columna "Ready for Dev" ││
│ │ • Remover label "needs-review" ││
│ │ • Notificar canal Slack #dev-team ││
│ └─────────────────────────────────────────────────────────┘│
│ │
└─────────────────────────────────────────────────────────────┘
Diseño Sistema Labels
Diseñando para Automatización
ESTRUCTURA LABELS:
┌─────────────────────────────────────────────────────────────┐
│ ORGANIZANDO LABELS PARA AUTOMATIZACIÓN │
├─────────────────────────────────────────────────────────────┤
│ │
│ USA PREFIJOS PARA CATEGORÍAS: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Labels status (disparan movimientos columna): ││
│ │ status/needs-design ││
│ │ status/needs-review ││
│ │ status/approved ││
│ │ status/blocked ││
│ │ status/on-hold ││
│ │ ││
│ │ Labels prioridad (disparan ordenamiento): ││
│ │ priority/critical ││
│ │ priority/high ││
│ │ priority/medium ││
│ │ priority/low ││
│ │ ││
│ │ Labels equipo (disparan asignaciones): ││
│ │ team/frontend ││
│ │ team/backend ││
│ │ team/design ││
│ │ team/qa ││
│ │ ││
│ │ Labels tipo (disparan workflows): ││
│ │ type/bug ││
│ │ type/feature ││
│ │ type/hotfix ││
│ │ type/refactor ││
│ └─────────────────────────────────────────────────────────┘│
│ │
└─────────────────────────────────────────────────────────────┘
Recetas Automatización Comunes
Patrones Listos para Usar
RECETAS AUTOMATIZACIÓN:
┌─────────────────────────────────────────────────────────────┐
│ AUTOMATIZACIONES WORKFLOW COMUNES │
├─────────────────────────────────────────────────────────────┤
│ │
│ WORKFLOW REVIEW: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Receta: Routing review automático ││
│ │ ││
│ │ Trigger: Tarea movida a columna "Review" ││
│ │ Acciones: ││
│ │ • Agregar label "status/needs-review" ││
│ │ • Asignar a rotación code review (round-robin) ││
│ │ • Notificar reviewer vía Slack DM ││
│ │ ││
│ │ Trigger: Label "status/approved" agregado ││
│ │ Acciones: ││
│ │ • Mover a columna "Ready to Deploy" ││
│ │ • Remover label "status/needs-review" ││
│ │ • Notificar asignado original ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ TRIAGE BUGS: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Receta: Escalamiento bug crítico ││
│ │ ││
│ │ Trigger: Labels "type/bug" + "priority/critical" added ││
│ │ Acciones: ││
│ │ • Mover a columna "In Progress" (saltar cola) ││
│ │ • Asignar a developer on-call ││
│ │ • Establecer fecha límite hoy + 4 horas ││
│ │ • Enviar notificación urgente a #incidents ││
│ │ • Agregar a sprint actual automáticamente ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ MANEJO BLOQUEADOS: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Receta: Escalamiento tarea bloqueada ││
│ │ ││
│ │ Trigger: Label "status/blocked" agregado ││
│ │ Acciones: ││
│ │ • Mover a columna "Blocked" ││
│ │ • Notificar team lead ││
│ │ • Agregar a agenda daily standup ││
│ │ ││
│ │ Trigger: Label "status/blocked" removido ││
│ │ Acciones: ││
│ │ • Retornar a columna anterior ││
│ │ • Notificar asignado original ││
│ └─────────────────────────────────────────────────────────┘│
│ │
└─────────────────────────────────────────────────────────────┘
Automatizaciones Sprint
Simplificando Gestión Sprint
RECETAS SPRINT:
┌─────────────────────────────────────────────────────────────┐
│ AUTOMATIZANDO WORKFLOWS SPRINT │
├─────────────────────────────────────────────────────────────┤
│ │
│ INICIO SPRINT: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ Cuando sprint inicia: ││
│ │ → Notificar todos miembros equipo ││
│ │ → Postear sprint goal a canal #team ││
│ │ → Crear tarea retrospectiva sprint ││
│ │ → Archivar tareas "Done" sprint anterior ││
│ └─────────────────────────────────────────────────────────┘│
│ │
│ AVISO FIN SPRINT: │
│ ┌─────────────────────────────────────────────────────────┐│
│ │ 2 días antes que sprint termine: ││
│ │ → Verificar items alta prioridad incompletos ││
│ │ → Notificar team lead de items en riesgo ││
│ │ → Postear status a canal #sprint-status ││
│ │ ││
│ │ Sprint termina: ││
│ │ → Mover items incompletos a backlog ││
│ │ → Agregar label "carried-over" a items incompletos ││
│ │ → Generar reporte resumen sprint ││
│ └─────────────────────────────────────────────────────────┘│
│ │
└─────────────────────────────────────────────────────────────┘