Make milestones and projects assignable through issue templates #6839

Open
opened 2025-11-02 07:08:11 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @ichwillkeinenaccount on GitHub (Feb 10, 2021).

  • Gitea version (or commit ref): 1.14.0+dev-665-g19fccdc45
  • Git version:
  • Operating system: docker image from docker hub
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

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?

Originally created by @ichwillkeinenaccount on GitHub (Feb 10, 2021). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Make sure it's not mentioned in the FAQ (https://docs.gitea.io/en-us/faq) 5. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.14.0+dev-665-g19fccdc45 - Git version: - Operating system: docker image from docker hub - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - Log gist: <!-- It really is important to provide pertinent logs --> <!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems --> <!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini --> ## 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?
GiteaMirror added the type/proposal label 2025-11-02 07:08:11 -06:00
Author
Owner

@lonix1 commented on GitHub (Feb 13, 2021):

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.

@lonix1 commented on GitHub (Feb 13, 2021): 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.
Author
Owner

@geospatialology commented on GitHub (Sep 6, 2023):

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).

@geospatialology commented on GitHub (Sep 6, 2023): 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).
Author
Owner

@jtagcat commented on GitHub (Aug 25, 2024):

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.

@jtagcat commented on GitHub (Aug 25, 2024): 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6839