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

Bugzilla verified bug not recognized when different QA Contact #189

Closed
ghost opened this issue Feb 22, 2019 · 6 comments
Closed

Bugzilla verified bug not recognized when different QA Contact #189

ghost opened this issue Feb 22, 2019 · 6 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Feb 22, 2019

It seems that did does not recognize that I have verified a bug when I am not the "QA Contact", which is the usual situation as we have a team mailing list in there instead of personal e-mails.

@psss psss self-assigned this Feb 26, 2019
@psss
Copy link
Owner

psss commented Feb 26, 2019

If I remember correctly, the original way how to identify verified bugs was the changedby email which you propose in #190. However we changed the behaviour in order to better cover bugs where the actual switch of the bug state is performed by an automation tool, which has a different email address. So using the QA Contact field here seems to be more reliable. Is there a process which prevents you to update the QA Contact with your email?

@ghost
Copy link
Author

ghost commented Feb 26, 2019

Well, we do keep there the mailing list so the updates to the bug are visible to team members and it is easy to query for the team bugs using the QE Contact.

Can we change the query to use OR so both ways can be used or possibly merge results of two separate queries?

@psss
Copy link
Owner

psss commented Feb 26, 2019

I see, thanks for clarification. Extending the query with or to cover both use cases seems like a good solution and should not break anything, as far as I can see.

@psss psss added the plugins label Feb 26, 2019
@ghost
Copy link
Author

ghost commented Feb 27, 2019

I did a quick check and was unable to figure out how to add the OR to the query.
I have added second query with changedby and merge logic so bugs where the qa contact and chagedby are the same are not listed twice.

@ghost
Copy link
Author

ghost commented Feb 27, 2019

I have added test for the change in the second commit so the overall coverage is slightly better now.
Let me know if there is something I should improve before this can be merged.

@psss
Copy link
Owner

psss commented Feb 27, 2019

Thanks for the enhanced fix and extending the test suite. Advanced Bugzilla queries can be nicely explored directly from the web interface. See Custom Search at the bottom, set up your query and then check generated URL. I've modified your fix to use just a single query. Bugzilla queries are slow so it makes sense to optimize. Tests are passing. Going to merge.

@psss psss closed this as completed in a59ad6e Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant