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

Email Notification sends errors after customized priorities were deleted

    XMLWordPrintable

Details

    Description

      Atlassian Update – 7-Dec-2018

      Hi, Everyone! This issue was reported a while ago and the version were this was being experienced (Jira 6.3.14) has reached End of life with no additional cases being found. As a validation we have tried to reproduce the issue in the latest Jira 7.13 and the error does not seem to be showing in the logs anymore. From these results we will proceed to close this bug as Obsolete.

      If anyone is able to replicate the bug reported here in a supported Jira version (7.3 at the time of this update), please let us know, including the steps to reproduce in the comments or by raising a support request.

      Best regards,
      René Chiquete - JAC Champion.

      Issue summary

      Email notification sends errors after customized priorities were deleted

      Steps to reproduce:

      1. Add a new priority
      2. Create any issue and assign that newly created priority to the issue
      3. Change the priority to a another priority in that issue
      4. Delete the newly created priority

      Expected Result:

      Email notification sent would show the value changed in the issue (issue updated)

      Actual Result:

      • An email notification will be sent for issue updated, showing this error message
        An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getPrettyFieldString' in class com.atlassian.jira.util.JiraVelocityHelper threw exception com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid priority name 'test priorities'. at templates/email/html/includes/fields/changelog.vm[line 32, column 50] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:507) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:393) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:316) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:263) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at 
        

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              azuhra Aqqiela
              Votes:
              7 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: