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
44.2k stars 5.42k forks source link

Make milestones and projects assignable through issue templates #14629

Open ichwillkeinenaccount opened 3 years ago

ichwillkeinenaccount commented 3 years ago

Description

I recently discovered the template feature for issues and created a test template with the same content as the documentation page. (https://docs.gitea.io/en-us/issue-pull-request-templates/) That worked.

Then I tried to assign the milestone and project (to get new issues to show up on the kanban board) through the template:

---

name: "Template Name"
about: "This template is for testing!"
title: "[TEST] "
labels:

- bug
- "help needed"

milestones:
- 1.0.0
projects:
- test
---

This is the template!

I created the milestone and the project beforehand and tried it with "milestones"/"projects" as well as "milestone"/"project". Neither worked. I didn't find anything milestone or project related on the documentation page, in the github issues or via general google.

Is this even possible? If not, wouldn't it be a nice feature?

lonix1 commented 3 years ago

I'm not sure about milestones, because it assumes that every time you add a milestone you need to recommit the template.

But for "projects" I agree. Being able to automatically add a new issue (user story) to the backlog on a kanban board would be very nice.

geospatialology commented 1 year ago

I personally agree with milestones (and projects). I'm not bothered by recommitting a template or creating a new one. If milestones could be specified in a template, it means you can add a bunch (or even bulk load) tickets (tasks) that are associated with a planned release (that you organize on a milestone). Then once everything is complete, you can create a release associated with hitting the milestone. Often times when planning out software "next features", you know some (most/all occasionally) of the requirements and user stories and being able to queue these on a planned milestone more easily would be nice (i.e., don't have to select the milestone manually after creating the ticket - milestone already pre-populated by the template).

jtagcat commented 3 weeks ago

Migrating from GitLab, where issues get a milestone per-creation-year. Sorry for the +1, didn't see any real-world use detailed before here.