Apply labels automatically at issue creation #23682
-
I have seen the documentation on how to write custom templates for issues, and that is great. Tried the feature and it works perfectly. Now I am wondering if there’s a way to tune each template to perform specific queries automatically. What I am specifically looking for is a way to encode the information to auto-label a new issues in the appropriate template. For instance if a user opens a bug report I want the tag “bug” to be automatically applied (given he has sufficient permissions to apply a label). I have seen that I can do something like this using queries but the bit I am missing is if it is possible to generate those queries from the issue template. Thanks in advance for any reply! |
Beta Was this translation helpful? Give feedback.
Replies: 16 comments 1 reply
-
Hi @alalazo, This isn’t currently possible, but we’re always working to improve GitHub and consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration. Please let me know if you have any other questions. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hey @alalazo, have a look at https://defects.ai Cheers |
Beta Was this translation helpful? Give feedback.
-
Started using the Issues Template. It is so cool. Would be really happy to have labels attached along with templates. |
Beta Was this translation helpful? Give feedback.
-
I see the issue template now support labels, but not projects, will project tag be added? https://help.github.com/articles/manually-creating-a-single-issue-template-for-your-repository/ |
Beta Was this translation helpful? Give feedback.
-
Hi @jasonycw, We’re always working to improve GitHub, and we consider every suggestion we receive. I don’t know of any set plans to implement this, but I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration. Please let me know if you have any other questions. Cheers! |
Beta Was this translation helpful? Give feedback.
-
@nadiajoyce Thank you for implementing the feature! One question: is there any way to apply multiple labels? For instance can I e.g. apply the labels “bug” and “help wanted” simultaneously to a type of report? |
Beta Was this translation helpful? Give feedback.
-
Hi @alalazo, Yes, indeed! You just need to list them, and separate with commas. Example: labels: bug, feedback ^ That will produce an issue with the labels Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hi I’m trying to add name: Release_A_Deliver |
Beta Was this translation helpful? Give feedback.
-
Have to add to this thread too that adding labels automatically to a template would be very very useful! 😃 |
Beta Was this translation helpful? Give feedback.
-
Oh! It’s done! Perfect! |
Beta Was this translation helpful? Give feedback.
-
Hi, I am using a corporate account and the fields Title and Labels are filled. If I try in my private github account, it works fine. Is there a limitation related to versioning? Hugs, Cláudio Ramos |
Beta Was this translation helpful? Give feedback.
-
I have the same issue/need and we are using GitHub Enterprise 2.15.4 |
Beta Was this translation helpful? Give feedback.
-
What about the projects … ? automatic assigning a project in an issue template It does not work for me on GitHub.com Please help … Thanks, Ralf |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Fyi, for labels with spaces or characters that are not working with markdown or yaml formats you just need to wrap the value in quotes.
|
Beta Was this translation helpful? Give feedback.
-
Also if possible I would love to have enumerated labels, so i can consolidate all these multiple issue template and have just a single dropdown label to select bug severity. https://github.com/Mozilla-Ocho/llamafile/issues/new/choose |
Beta Was this translation helpful? Give feedback.
Hi @alalazo,
Yes, indeed! You just need to list them, and separate with commas. Example:
labels: bug, feedback
^ That will produce an issue with the labels
bug
andfeedback
both applied.Cheers!