Project

Profile

Help

Story #957

closed

Create automation to email assignee when bug is at MODIFIED without a target release

Added by bmbouter almost 9 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Overview

We need some reminder e-mails to email the assignee of a bug when it goes to MODIFIED without having target release set. Without target release being set it prevents the bugs from being transitioned to ON_QA.

Deliverables

  • Create and deploy a jenkins job using a template and Jenkins job builder. bcourt or bmbouter can quick start the developer of this. It will be similar to this periodic job.
  • The Jenkins job should be configured to run nightly at 10pm.
  • Create a Python script script which will query for all issues/stories/refactors at MODIFIED that do not have target release set. It does not need to deal with tasks because they cannot have a target release. Use python-redmine to interact with Redmine. You can either build queries in Redmine, or build them directly using filter() For maintainability bmbouter recommends going the filter() route. Talk to bmbouter more about how to do this because Target Release is a separate field for each project type (pulp, pulp_puppet, pulp_rpm, ... ).
  • An e-mail template should be clearly defined in the Python code and used for e-mailing. Each assignee should receive one e-mail with all bugs (not one email for each bug). Bugs should be shown with titles and links to each issue in this state.
  • The redmine-bugzilla automation job e-mail code uses email-ext but this one cannot because the recipients and the contents of the email are different for each run, so you'll have to e-mail from within Jenkins. I'm not sure how to do this, but maybe bcourt knows.
  • The Python code should also print a report to stdout so that it can be seen in the Jenkins console output if it is run manually.
  • Have the Python script use the same credentials id as the redmine-bugzilla script. This is the line that provides it.
Actions #1

Updated by mhrivnak almost 9 years ago

  • Groomed changed from No to Yes
Actions #2

Updated by mhrivnak almost 8 years ago

  • Sprint Candidate changed from Yes to No
Actions #3

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #4

Updated by bmbouter about 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #5

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF