Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add meta-component controller to support bug reassignment. #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mfojtik
Copy link
Contributor

@mfojtik mfojtik commented Sep 21, 2021

No description provided.

// we only looking for bugs with meta component name inside developer whiteboard
// and bugs that does not have meta component lead already assigned to them.
// NOTE: the search result only search for NEW bugs, so ASSIGNED or any other bugs are not present here.
if !strings.Contains(result[i].DevelWhiteboard, name) || result[i].AssignedTo == component.Lead {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so in order to intentionally assign to the (non-meta-)component lead you have to remove the keyword from the whiteboard, right? In other words: you are checking for the state of the bug, not an "assign to lead" event.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or set to ASSIGNED.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants