Feature #34302
closed
  
 Show parent issues in notification email
 
        
        Added by Go MAEDA almost 5 years ago.
        Updated over 2 years ago.
        
Category:
Email notifications
 
 
  
  
  
  Description
  
  The current format of email notifications lacks the information of parent issues. I think the information is useful to know the purpose of the subtask because the subject of a parent task usually expresses a more generic concept.
	Web UI already shows parent issues with indented style. I think it would be nice if they are shown with the same style in email notifications.
   
 
  
  Files
  
 
  
  
    
    
    
    
    As shown in the image below, I think that it would be difficult to read the notification email if the parent-children hierarchies became deep, so I added "Parent task" in the issue attributes of the notification email.
	
	
	I attached a patch.
 
     
   
  
  
    
    
    
    Thank you for posting the patch. I am not sure if it is appropriate to add a method to Issue model just for email notifications.
 
     
   
  
  
    
    
    
    
       - Target version set to Candidate for next major release
 
    
    Go MAEDA wrote:
	Thank you for posting the patch. I am not sure if it is appropriate to add a method to Issue model just for email notifications.
	After consideration, I don't think that adding Issue#parent_issue is a problem. Adding the method simplifies the implementation of the feature. Also, it makes things more consistent because there is already Issue#parent_issue_id.
 
     
   
  
  
    
    
    
    
       - Target version changed from Candidate for next major release to 5.1.0
 
    
    Setting the target version to 5.1.0.
 
     
   
  
  
    
    
    
    
       - Status changed from New to Closed
 
       - Assignee set to Go MAEDA
 
       - Resolution set to Fixed
 
    
    Committed the patch. Thank you.
 
     
   
  
 
  
  
  
 
Also available in:  Atom
  PDF