Enable adding labels if User has triage role
See original GitHub issueDescribe the bug Given a user with Triage access, labels are not added when creating an issue.
To Reproduce
- Give a user Triage access to a repo
- Create a Ticket with one label
The label is not applied.
Expected behavior Given Triage allow applying labels, I expect my label to be applied.
It appears I can add the labels once the issue is created
Confirmed with 1.112
Typically, in this usecase, I sucvcessfully apply with labels with something like:
GHIssue issue = building.create();
labels.forEach(t -> {
try {
issue.addLabels(t);
} catch (IOException e) {
throw new UncheckedIOException(e);
}
});
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Automatic Triage and Labelling (#30748) · Issues - GitLab.org
Things like assigning a user when a label is added, blocking moving columns if an issue still has incomplete tasks, etc.
Read more >Ability to add and remove labels in Post Function to Workflow ...
This would be useful for use - we would like to mark all new issues with a NEW label so we could periodically...
Read more >Issue workflow · Contributing · Development · Help · GitLab
In order to help track the feature proposals, we have created a feature label. For the time being, users that are not members...
Read more >Automatically triaging tickets based on intent and language ...
When intelligent triage is enabled, the smart assist panel will automatically be available for users in the Agent Workspace.
Read more >GitHub Permissions and Access in ZenHub
GitHub Issues must be enabled for all repositories you wish to use ZenHub with. Check Settings > General > Features to determine if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My previous procedure was like:
If Owner, the issue is open with proper labels: OK If triage, the issue is open without any labels: KO
I then turned into:
My new procedure is something like:
I then have a clear workaround in my code around the library.
I suggest the library either:
Yeah, the problem is here: https://docs.github.com/en/rest/reference/issues#create-an-issue .
The doc says:
So it’s properly documented but this limitation should be lifted to allow users with the triage permission to do the same.