Bug 823399

Summary: Bug mail should show alias for depends on and blocked fields
Product: [Community] Bugzilla Reporter: Jan Pazdziora (Red Hat) <jpazdziora>
Component: Email NotificationsAssignee: Simon Green <sgreen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: high    
Version: 4.2CC: ebaak, jpazdziora, kzak, sgreen
Target Milestone: 4.2-1Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.2.1-2.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-07 23:21:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 786624    

Description Jan Pazdziora (Red Hat) 2012-05-21 07:17:19 UTC
Description of problem:

When "Blocks" is changed for a bugzilla, bugzilla sends email informing interested parties about that change. The email looks like this:

https://bugzilla.redhat.com/show_bug.cgi?id=1

Michael Mráka <mmraka> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmraka
             Blocks|677498                      |

If those "Blocks" bugzillas have aliases, the alias should be shown next to the bug number:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmraka
             Blocks|677498(sat541-triage)       |

Version-Release number of selected component (if applicable):

Bugzilla 4.2.

How reproducible:

Deterministic.

Steps to Reproduce:
1. Have email notifications setup.
2. Have bugzilla blocking another bugzilla. Have that another bugzilla have alias.
3. Change the "Blocks" to different bugzilla which also has alias set.
  
Actual results:

Email comes, showing that Blocks has changed, and shows bugzilla numbers.

Expected results:

Email comes, showing that Blocks has changed, and shows bugzilla numbers and next to them, aliases of those bugzillas.

Additional info:

We had the information added via bug 486554 and we lost it with upgrade to 4.2.

Comment 1 Jan Pazdziora (Red Hat) 2012-05-23 15:21:29 UTC
While we are at it, having also the initial NEW bug email show aliases in Blocks / Depends on would be a welcome enhancement.

Comment 2 Simon Green 2012-06-04 00:39:23 UTC
(In reply to comment #1)
> While we are at it, having also the initial NEW bug email show aliases in
> Blocks / Depends on would be a welcome enhancement.

I'll be working on THIS bug this week. If the above comment doesn't happen as part of that change, please file a new bug about it.

  -- simon

Comment 3 Simon Green 2012-06-04 07:32:34 UTC
This will be fixed in the next release, and will apply to the new mail that is sent out (see comment #1), as well as for bug changes.

There is a catch though, that wasn't in the version used in Bugzilla 3.6. You will only see the alias if you have visibility to see the other bug. This prevents us leaking information that the user wouldn't otherwise be able to see. This also matches the behaviour of the show_bug.cgi page.

  -- simon

Comment 7 Simon Green 2012-06-07 23:21:29 UTC
This change is now live.

  -- simon

Comment 8 Simon Green 2012-06-15 00:52:55 UTC
*** Bug 172187 has been marked as a duplicate of this bug. ***