Issue templates: specify a project #9687
-
User storyAs a GitHub user defining an issue template, I want to specify a project for that issue template, just like I can specify labels, assignees, and so forth. DepthFor my use case, it's not a big deal to be able to define multiple projects, or even a specific column within the project. (The project's default column works ok. Being able to specify a column would be nice, but it's not essential to get value from this.) ScreenshotUse caseContext: At Fleet, we are active users of GitHub Projects, and we're trying our best to make it work. We've invested a lot of time in it, have grown to 21 people, and are now about to make a more permanent decision on whether to stick with projects. We would like to! Regardless, we are quite committed to using Github issue templates, and use them for everything from file bugs to employee onboarding to closing enterprise sales, and more. We are getting a lot of value from issue templates! Questions?Would you please reach out to me via email, LinkedIn message, or a public tweet to twitter.com/mikermcneil? (i might not see DMs) Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 31 comments 22 replies
-
Hello @mikermcneil, yesterday I was just watching this vídeo to figure out how the GitHub project works and start to create some tests in one of my repositories. Immediately I created issues templates and tried to use the existent syntax to link them with my brand new project, just like labels and assignees. Good to know that you have the same insight! Taking care of ours projects in just one place is a really good idea and Github is showing itself a perfect option, isn't it? |
Beta Was this translation helpful? Give feedback.
-
@mikermcneil would be curious to know if you all have stuck with it and if you'd be willing to share some insights into what is/is not working for you all. It would be great to use GH Issue Templates for this, and/or have the ability to create a "default project" for a repo, so that any issues created in the repo are automatically added to that project. Sucks to have to burn Actions minutes on stuff like that. |
Beta Was this translation helpful? Give feedback.
-
This is a missing albeit necessary feature. |
Beta Was this translation helpful? Give feedback.
-
Yep can we get this enabled ASAP please? |
Beta Was this translation helpful? Give feedback.
-
Totally agreed!!! Very much needed feature!!!! |
Beta Was this translation helpful? Give feedback.
-
This would be extremely useful for moving our automations entirely to github projects |
Beta Was this translation helpful? Give feedback.
-
Would be very useful to have, indeed. |
Beta Was this translation helpful? Give feedback.
-
I would use this, was looking for how to do this today |
Beta Was this translation helpful? Give feedback.
-
I'm hoping that this feature is implemented as I just looked around to see if there was a way to set a project to an issue template now and found this discussion. |
Beta Was this translation helpful? Give feedback.
-
would be a truly useful feature. |
Beta Was this translation helpful? Give feedback.
-
I was also looking for a way to do this. I believe this would be an excellent addition 👍 |
Beta Was this translation helpful? Give feedback.
-
Cannot wait for this feature! We are moving our community management on GitHub. Right now, assigning the issue to a specific project is blocking us. |
Beta Was this translation helpful? Give feedback.
-
For someone who does the Onboarding using GitHub a lot, this feature is essential. The templates are already great but choosing the project every time is tiresome and sometimes I forget to assign it to the right project when I need to urgently create multiple issues. |
Beta Was this translation helpful? Give feedback.
-
Hi folks, happy new year. Total overkill, but I've managed to achieve this request using Actions, so I thought I'd share it. I've used the following script to add any issues created in a repo to a single project. You can replicate the script and secret to replicate the feature in multiple repo case:
Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
There seems to be now a section called Workflows directly embedded to the Project folder |
Beta Was this translation helpful? Give feedback.
-
Would be a very nice feature! |
Beta Was this translation helpful? Give feedback.
-
By using this workflow, I was able to achieve this without the ability to add projects from issue templete. |
Beta Was this translation helpful? Give feedback.
-
I agree with this demand i'm looking for the same feature, it's uncomfortable to do it manually for each issue created. |
Beta Was this translation helpful? Give feedback.
-
Agree too to add this feature:
|
Beta Was this translation helpful? Give feedback.
-
Please include this feature |
Beta Was this translation helpful? Give feedback.
-
Adding a comment in support of this feature, would be very useful. |
Beta Was this translation helpful? Give feedback.
-
Please I need this!! |
Beta Was this translation helpful? Give feedback.
-
I just found out about a new toplevel property you can set in your template definition:
This is from the documentation drawer which appears when you open the template for editing in the GH web editor. I did not found this in the docs elsewhere. The project board references are formatted as Example name: MyIssueTemplate
projects: "github/1"
body:
- ...
|
Beta Was this translation helpful? Give feedback.
-
This new feature is awesome! I also found this github action to add project to issues. I started to use this action before the new issue template feature and think have this two options is perfect. |
Beta Was this translation helpful? Give feedback.
-
Is there a special trick? i cannot get this to work, and I have tried every possible variation of project path for the "projects: " property I can think of and the new issues i create from the relevant template do not have a default project set. Other properties like 'label' and 'assignee' do read from the front matter correctly. But not 'project' |
Beta Was this translation helpful? Give feedback.
-
Did you manage to get this working with that frontmatter for projects? I have checked and compared the orgname like 50x and it is 100% identical, yet it does not map. |
Beta Was this translation helpful? Give feedback.
-
[image:
https://user-images.githubusercontent.com/90803118/259155905-6112b11c-2aa3-40e7-85ab-54ccd3623865.png]
For this project, the id to be specified is
projects: "Test-Org/29"
This way I am able to successfully add default Projects to my issues.
…On Fri, Aug 11, 2023 at 1:46 AM Fabio Tielen ***@***.***> wrote:
@jehtee <https://github.com/jehtee>
Did you manage to get this working with that frontmatter for projects?
I have exactly the same problem.
All other fields like assignee, labels, ... are mapping totally fine, but
projects is always empty.
I have checked and compared the orgname like 50x and it is 100% identical,
yet it does not map.
Feels like there is something wrong at Github side like a bug, because I
don't I don't see anything else possible.
—
Reply to this email directly, view it on GitHub
<#9687 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKPKYW3TLR4W5AVW6JY6XTXUU6QJANCNFSM5LLQGI2A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You don't need the first forward slash I think. That might be the issue.
…On Fri, 11 Aug, 2023, 14:30 Fabio Tielen, ***@***.***> wrote:
I have used the correct the path like it is showing for me, but I don't
have that /org part?
When I check the URL for my project, it's like this:
https://github.com/users/codeagencybe/projects/18/
So I used "/codeagencybe/18" like:
projects: "/codeagencybe/18"
But it does not work while the path is absolutely correct.
Is this a feature that only works under org repo's?
—
Reply to this email directly, view it on GitHub
<#9687 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKPKYQLC4PVLTLR2QJ3RVTXUXYD5ANCNFSM5LLQGI2A>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You can now specify a project in your issue forms! Check out the changelog announcement here. If you have other feedback on issue forms and templates, feel free to drop a note in this discussion 👍 |
Beta Was this translation helpful? Give feedback.
-
for non org user accounts, but personal pro. What is the fix here? |
Beta Was this translation helpful? Give feedback.
You can now specify a project in your issue forms! Check out the changelog announcement here. If you have other feedback on issue forms and templates, feel free to drop a note in this discussion 👍