Project

General

Profile

Actions

Feature #22

open

Créer une branche à partir d'un ticket

Added by Mathias Cabioch-Delalande about 1 year ago. Updated about 1 year ago.

Status:
Prêt
Priority:
Basse
Start date:
12/08/2024
Due date:
% Done:

0%

Estimated time:
12:00 h

Description

Pour un projet et un ticket, créé une branche dans GitLab

Si le projet n'existe pas : 404 Not Found
Si le projet n'est pas accessible pour l'utilisateur : 403 Forbidden

Si Redmine n'est pas configuré : 404 Not Found
Si le ticket n'existe pas : 404 Not Found
Si le ticket existe mais est terminé : 403 Forbidden

Si GitLab n'est pas configuré : 404 Not Found
Si une branche portant le numéro du ticket existe déjà : 409 Conflict
Si la branche source n'existe pas : 404 Not Found

Sinon, créer une branche dans GitLab

  • à partir de la branche source
  • ayant comme nom : $1/$2-$3
    • $1 : Type de ticket
    • $2 : Numéro du ticket
    • $3 : Nom du ticket
      • en minuscule
      • avec des tirets
      • sans accents
      • coupé au bout de 50 caractères

Retourner :

  • le numéro du ticket
  • le lien de la branche
Actions #1

Updated by Mathias Cabioch-Delalande about 1 year ago

  • Status changed from En préparation to Prêt
  • Estimated time changed from 8:00 h to 12:00 h
Actions #2

Updated by Mathias Cabioch-Delalande about 1 year ago

  • Priority changed from Haute to Basse
Actions

Also available in: Atom PDF