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

[New Rule] Needinfo when a bug is pending sec-approval but not all tracking flags are set #2509

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

benjaminmah
Copy link
Contributor

Resolves #2336.

Intended to needinfo bug assignees when not all current release tracking fields are set to either affected/unaffected and an attachment is pending sec-approval.

Checklist

  • Type annotations added to new functions
  • Docs added to functions touched in main classes
  • Dry-run produced the expected results
  • The to-be-announced tag added if this is worth announcing

@benjaminmah
Copy link
Contributor Author

Still a WIP: have not added the command to search for all open bugs with sec-approval? (denoted by the TODO comment in the code).

@benjaminmah benjaminmah changed the title [New Rule] Need-info when a bug is pending sec-approval but not all tracking flags are set [New Rule] Needinfo when a bug is pending sec-approval but not all tracking flags are set Oct 17, 2024
Comment on lines 76 to 83
params = {
"include_fields": self.fields,
"resolution": "---",
"f1": self.status,
"o1": "anywords",
"n1": "1",
"v1": ",".join(["unaffected", "affected"]),
}
Copy link
Member

Choose a reason for hiding this comment

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

This query seems to retrieve all open bugs with tracking for the target version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct, however I noticed that bugs may have multiple versions being tracked. Is there an easy way to view all versions and their statuses aside from iterating through all versions and manually checking in the query?

Copy link
Member

Choose a reason for hiding this comment

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

view all versions

Yes, you can return them all using the alias _custom, but you cannot query them all with that alias.

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.

Add an autonag to need-info when a bug is pending sec-approval but not all Tracking Flags are set.
2 participants