-
Notifications
You must be signed in to change notification settings - Fork 36
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
[RFE] Better Extension/Expiration Management #350
Comments
Bounty points as this should close this as well: |
* Configurable option "notify_until_extended:" for quads.yml * Default set to "True" * Adds message in expiration notifications that users can ignore expiration warnings if they've already submitted an extension request. * Reason: Hopefully this will cut down on duplicate extension requests as folks may not know that JIRA and MongoDB are not tied together (and we actually want repeated notifications for expiration for awareness). * This is temporary until a better solution is in place: #350 Change-Id: I042fc20fd7e9b58c207dad82634bf889926252d0
for --ls-extensions, would we want to list the extension requests in full? In other words since we know the ticket number associated with the original request, could we use API calls to find all "sub-tasks" that are of type "extension" and list them all? Or possibly just the active extension requests? |
Good question, the scope would be to only associate the first, valid extension request for a cloud here. I think there would be only one valid extension request at any given time for any cloud that's nearing expiration. There might be duplicates filed due to user error, but there is always just one actionable JIRA ticket we'd reference for extension. In this case it'd associate the first sub-tasked JIRA issue that is not status: Because we mark extensions as I think per your comment the beginnings of |
Update here, the JIRA library is already in the codebase as of: https://review.gerrithub.io/c/redhat-performance/quads/+/508872 Expanded to handle some initial ticket automation here: https://review.gerrithub.io/c/redhat-performance/quads/+/508905 |
Some further discussion around this, we should consider an optional ability to alert (via (Notification Scenario: Late extension or Operator Miss)
(Notification Scenario: Conflict Detected)
|
This is an RFE to enhance the handling of extensions, the beginnings of some small tie-ins to JIRA to gather more data to put into QUADS with the result being
quads-cli
, notifications and Wiki/visual improvements.This could likely be split up into several enhancements as needed.
1) CLI Enhancements
quads-cli --ls-extensions
quads-cli --ls-expirations
2) Notifications Enhancements
quads/tools/notify.py
:message
7,5,3,1 day notifications if an extension is filed already per the populated--ls-extensions
but not yet actioned.message
otherwise if an extension is filed.3) Wiki Assignments Visual Enhancements
How to Get There - Changes / Components
quads/tools/jira.py
: helper library using the JIRA API. This should be the beginnings of a basic helper framework that might do a lot more later.--cloud-ticket
of active assignments as needed below.(To be run out of Cron)
--cloud-ticket
and look for the first sub-tasked issue with a definable label (e.g.EXTENSION
) that is not of status: Done and update/record a new field in the Cloud collection for something likeextension: 1234
extension:
associations with every cloud for their Status field, if marked done clear the entry.(Other modifications)
quads/tools/create_input.py
: query theextension
field for every cloud and apply the color codes as described in the RFE under Visual.bin/quads-cli
: Add new argparse for--ls-expirations
,--ls-extensions
.(MongoDB considerations)
extension
value unless it can create itself on first population.The text was updated successfully, but these errors were encountered: