go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.01k stars 5.49k forks source link

[Proposal] Auto-assign projects to issues in issue templates #25028

Open sebthom opened 1 year ago

sebthom commented 1 year ago

Feature Description

Gitea issue templates are great! They already allow the automatic assignment of labels on issue creation. I propose to allow the same for projects (kanban boards).

E.g.

---
name: "Template Name"
about: "This template is for testing!"
title: "[TEST] "
ref: "main"
labels:
- bug
- "help needed" 

# new property `projects`:
projects:
- 3 # same-repo level project with ID 3
- ../1 # org level project with ID 1
---

This is the template!

Screenshots

No response

lunny commented 1 year ago

The syntax of org level project looks wired, maybe orgname/1 is better? Then you can even link to another org.

sebthom commented 1 year ago

Fine with me too.

lunny commented 12 months ago

part of #14629