Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-35448

User Preferences Default outgoing email format is not applied.

    XMLWordPrintable

Details

    Description

      In the newer JIRA versions (tested on a vanilla 6.0.8) it seems that the User Preferences for the Default outgoing email format does not seem to be applied for the existing users. As you click on the Apply link next to the Default outgoing email format it shows the screen:

      After clicking on Update and when you go back to the user's profile the format does not seem to be updated as expected. However, the same behavior was tested on older instances such as 5.0 and 5.1, the email format seems to be updated as expected.

      Steps to reproduce:

      • Go to Administration > User Management > User Preferences
      • Click on Edit default values
      • Choose the Email format, and click Update
      • Click on the Apply link and click Update
      • Lastly, go to your user profile and check the Email Type, you will see that the format is not changed as expected.

      Workaround:

      1. Create a backup of JIRA;
      2. Stop JIRA;
      3. Run the following query in the JIRA database:
        • To change all users who currently receive 'text' email to receive 'html' email:
          UPDATE propertystring SET propertyvalue = 'html' WHERE id IN (SELECT pe.id FROM propertyentry pe WHERE pe.property_key = 'user.notifications.mimetype' AND entity_name = 'ApplicationUser');
          
        • To change all users who currently receive 'html' email to receive 'text' email instead:
          UPDATE propertystring SET propertyvalue = 'text' WHERE id IN (SELECT pe.id FROM propertyentry pe WHERE pe.property_key = 'user.notifications.mimetype' AND entity_name = 'ApplicationUser');
          
      4. Restart JIRA.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aalshargabi AlaA
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: