Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-13616

Stars and Text are not Aligned Properly in the Satisfaction Survey Email received.

      Issue Summary

      When the resolution email is sent out after resolving a ticket, it seems to be very specific on where you need to click to be redirected to the satisfaction page when using Outlook.

      It appears that the start size has shrunk and the text below these starts is no longer aligned with them.

      Steps to Reproduce

      1. In a Service Desk Project, create an issue as a customer.  
      2. Make sure the Satisfaction Setting in the Jira Service Desk is configured and turned on. 
      3. Resolve that issue as an agent, this will generate the customer satisfaction survey
      4. As a customer, open the mail and access the notification with the satisfaction survey and notices the starts are small and the text below it is also not aligned properly under the starts.
      5. The issue is been observed in different languages (English, German, etc).

      Expected Results

      The Customer should get the email with the Survey in it with normal size starts and proper text under the starts to point the ratings.

      Actual Results

      The Survey email is received but the content of the survey email is not correct as it used to be in earlier versions.

      Workaround

      The following workaround would need to be applied separately in every JSM project and every language supported.

      1. Go to the relevant project settings
      2. Go to "Customer notifications" project setting
      3. Click on "Edit templates"
      4. Click on CSS
      5. Scroll down to the bottom of the text input below the "CSS" heading
      6. Paste the following CSS:
        .srf-star {
            text-decoration: none;
            font-size: 40px;
            border: none;
            display: inline-block;
            vertical-align: top;
            color: #666666;
        }
        
        .srf-star img {
            width: 20px;
            border: none;
        }
        
        .srf-star-table {
            width: 200px;
        }
        
        .srf-line-break {
            min-height: 10px;
            max-height: 10px;
            font-size: 8px;
            line-height: 10px;
            display: block;
            width: 100%;
            overflow: hidden;
        }
        
        .srf-star-table .srf-star-row {
            vertical-align: top;
        }
        
        .srf-star-table.srf-star-table-with-text {
            width: 400px;
        }
        
        .srf-star-table .srf-star-row.srf-star-with-text {
            text-align: center;
            width: 75px;
            border: none;
            display: table-cell;
        }
        
        .srf-star-table .srf-star-row .srf-text {
            margin: 0;
            padding: 0;
            font-size: 13px;
            font-weight: normal;
            line-height: 20px;
            text-align: center;
        } 

        1. Correct Survey email.png
          Correct Survey email.png
          270 kB
        2. Misaligned Starts and Text_English.png
          Misaligned Starts and Text_English.png
          240 kB
        3. Misaligned Starts and Text_German.png
          Misaligned Starts and Text_German.png
          262 kB
        4. screenshot-1.png
          screenshot-1.png
          10 kB
        5. screenshot-2.png
          screenshot-2.png
          3 kB

          Form Name

            [JSDSERVER-13616] Stars and Text are not Aligned Properly in the Satisfaction Survey Email received.

            Ulf Johansson added a comment - - edited

            Issue in JSM 5.9.1
            Suggested workaround do not work for us, I have tested both suggested fixes in task and by Knut Arne Risbråten

            Ulf Johansson added a comment - - edited Issue in JSM 5.9.1 Suggested workaround do not work for us, I have tested both suggested fixes in task and by Knut Arne Risbråten

            Duc Thang TRAN added a comment - - edited

            Hello,
            The workaround css code  for this issue isn't proving very effective in my case, but 744c36de7991 CSS code solution works perfectly for me  in Outlook on Windows

            Duc Thang TRAN added a comment - - edited Hello, The workaround css code  for this issue isn't proving very effective in my case, but 744c36de7991 CSS code solution works perfectly for me  in Outlook on Windows

            Experienced this issue as well, and the workaround in this ticket didn't work as expected in Outlook on Windows.

            Looks like Outlook have some issues when defining multiple classes in the CSS - I had to rearrange a bit.

            For me the following CSS works as a workaround for now. Tested with Outlook desktop client (Windows), Outlook on web, Outlook on Android and Email on iPhone.

             

            .jsd-satisfaction-survey-star,.srf-star {
                text-decoration: none;
                font-size: 40px;
                border: none;
                display: inline-block;
                vertical-align: top;
                color: #666666;
            }
            
            .srf-star img {
                width: 20px;
                border: none;
            }
            
            .srf-star-table {
                width: 200px;
            }
            
            .srf-line-break {
                min-height: 10px;
                max-height: 10px;
                font-size: 8px;
                line-height: 10px;
                display: block;
                width: 100%;
                overflow: hidden;
            }
            
            .srf-star-table,.srf-star-row {
                vertical-align: top;
            }
            
            .srf-star-table,.srf-star-table-with-text {
                width: 800px;
            }
            
            .srf-star-table,.srf-star-row,.srf-star-with-text {
                vertical-align: top;
                text-align: center;
                width: 200px;
                width: 400px;
                border: none;
                display: table-cell;
            }
            
            .srf-star-table,.srf-star-row,.srf-text p {
                margin: 0;
                padding: 0;
                font-size: 13px;
                font-weight: 400;  
                line-height: 20px;
                text-align: center;  
            }
            

            Knut Arne RistebrÃ¥ten added a comment - Experienced this issue as well, and the workaround in this ticket didn't work as expected in Outlook on Windows. Looks like Outlook have some issues when defining multiple classes in the CSS - I had to rearrange a bit. For me the following CSS works as a workaround for now. Tested with Outlook desktop client (Windows), Outlook on web, Outlook on Android and Email on iPhone.   .jsd-satisfaction-survey-star,.srf-star { text-decoration : none; font-size : 40px; border : none; display : inline-block; vertical-align : top ; color : #666666 ; } .srf-star img { width : 20px; border : none; } .srf-star-table { width : 200px; } .srf- line-break { min-height : 10px; max-height : 10px; font-size : 8px; line-height : 10px; display : block; width : 100%; overflow : hidden; } .srf-star-table,.srf-star-row { vertical-align : top ; } .srf-star-table,.srf-star-table-with-text { width : 800px; } .srf-star-table,.srf-star-row,.srf-star-with-text { vertical-align : top ; text-align : center; width : 200px; width : 400px; border : none; display : table-cell; } .srf-star-table,.srf-star-row,.srf-text p { margin : 0; padding : 0; font-size : 13px; font-weight : 400; line-height : 20px; text-align : center; }

            Cornelius Gillner added a comment - Was this possibly introduced by https://jira.atlassian.com/browse/JSDSERVER-12715?

            Two of my customers just had me deactivate their CSAT-Surveys for the whole Jira-instances as they can not bear to present customers such a a mail. All attempts of creating a workaround failed as some mail clients will override additional styling if it is not provided inline.
            This affects Jira 9.4.8 / JSM 5.4.8 as LTS Version. Why is this in priority "low"?

            Cornelius Gillner added a comment - Two of my customers just had me deactivate their CSAT-Surveys for the whole Jira-instances as they can not bear to present customers such a a mail. All attempts of creating a workaround failed as some mail clients will override additional styling if it is not provided inline. This affects Jira 9.4.8 / JSM 5.4.8 as LTS Version. Why is this in priority "low"?

            We are facing the same issue after upgrading from Jira 9.4.1 / JSM 5.4.1 Data Center to Jira 9.4.8 / JSM 5.4.8 Data Center.

             

            Colin Staeger added a comment - We are facing the same issue after upgrading from Jira 9.4.1 / JSM 5.4.1 Data Center to Jira 9.4.8 / JSM 5.4.8 Data Center.  

              f64b10823ad4 Rostislav Pasechnikov (Inactive)
              282265999e47 Hameed Saudagar
              Affected customers:
              14 This affects my team
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: