-
Bug
-
Resolution: Fixed
-
High (View bug fix roadmap)
-
8.14.0
-
8.14
-
3
-
Severity 1 - Critical
-
43
-
Issue Summary
Jira Data Center 8.14.0 introduces this new functionality, so that e-mail templates are stored at Jira's Shared Home folder.
On environments using Windows, the path to the Shared home will be specified like \\path\to\shared_home and Jira tries to complete the path to the e-mail templates using '/' instead, so it is unable to find the files there.
Steps to Reproduce
- Install Jira Data Center 8.14.0
- Create an e-mail subscription for a filter
- Wait until it's triggered
Expected Results
Jira will successfully send the subscription notification
Actual Results
Jira will send the notification with a "Could not locate resource" text.
At the application logs, Jira will throw a warning stating that the required template was not found:
com.atlassian.cache.CacheException: java.lang.RuntimeException: Couldn't load template! templateFile: templates/email/subject/filtersubscription.vm
Workaround
Disable new functionality:
- Edit the file <JIRA_INSTALLATION_FOLDER>/atlassian-jira/WEB-INF/classes/jira-features.properties
- Look for the setting called com.atlassian.jira.email.templates.readFromJiraHome and set it to false, as shown below:
com.atlassian.jira.email.templates.readFromJiraHome=false
- Save the change made to this file
- Restart Jira
- Jira will use bundled templates instead of custom ones from <Shared_Home>
- is caused by
-
JRASERVER-7266 Create an Email Template Editor in the UI to Replace Editing Velocity Templates
- Closed
- mentioned in
-
Page Failed to load
-
Page Failed to load
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- relates to
-
YET-306 Loading...
[JRASERVER-71988] Some notifications will fail on Jira Data Center 8.14.0 instances hosted on Windows
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 626658 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 662663 ] |
Remote Link | New: This issue links to "Page (Atlassian Documentation)" [ 626658 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 546124 ] |
Description |
Original:
h3. Issue Summary
Jira Data Center 8.14.0 introduces [this|https://confluence.atlassian.com/adminjiraserver/customizing-email-content-938847640.html] new functionality, so that e-mail templates are stored at Jira's Shared Home folder. On environments using Windows, the path to the Shared home will be specified like {{\\path\to\shared_home}} and Jira tries to complete the path to the e-mail templates using '/' instead, so it is unable to find the files there. h3. Steps to Reproduce # Install Jira Data Center 8.14.0 # Create an e-mail subscription for a filter # Wait until it's triggered h3. Expected Results Jira will successfully send the subscription notification h3. Actual Results Jira will send the notification with a "Could not locate resource" text. At the application logs, Jira will throw a warning stating that the required template was not found: {noformat} com.atlassian.cache.CacheException: java.lang.RuntimeException: Couldn't load template! templateFile: templates/email/subject/filtersubscription.vm {noformat} h3. Workaround Disable new functionality: # Edit the file <JIRA_INSTALLATION_FOLDER>/atlassian-jira/WEB-INF/classes/jira-features.properties # Look for the setting called {{com.atlassian.jira.email.templates.readFromJiraHome}} and set it to false, as shown below: {code:java} com.atlassian.jira.email.templates.readFromJiraHome=false {code} # Save the change made to this file # Restart Jira # Jira will use bundled templates instead of custom ones from <Shared_Home> |
New:
h3. Issue Summary
Jira Data Center 8.14.0 introduces [this|https://confluence.atlassian.com/adminjiraserver/customizing-email-content-938847640.html] new functionality, so that e-mail templates are stored at Jira's Shared Home folder. On environments using Windows, the path to the Shared home will be specified like {{\\path\to\shared_home}} and Jira tries to complete the path to the e-mail templates using '/' instead, so it is unable to find the files there. h3. Steps to Reproduce # Install Jira Data Center 8.14.0 # Create an e-mail subscription for a filter # Wait until it's triggered h3. Expected Results Jira will successfully send the subscription notification h3. Actual Results Jira will send the notification with a "Could not locate resource" text. At the application logs, Jira will throw a warning stating that the required template was not found: {noformat} com.atlassian.cache.CacheException: java.lang.RuntimeException: Couldn't load template! templateFile: templates/email/subject/filtersubscription.vm {noformat} h3. Workaround Disable new functionality: # Edit the file <JIRA_INSTALLATION_FOLDER>/atlassian-jira/WEB-INF/classes/jira-features.properties # Look for the setting called {{com.atlassian.jira.email.templates.readFromJiraHome}} and set it to false, as shown below: {code:java} com.atlassian.jira.email.templates.readFromJiraHome=false {code} # Save the change made to this file # Restart Jira # Jira will use bundled templates instead of custom ones from <Shared_Home> |
Remote Link | New: This issue links to "Page (Confluence)" [ 542894 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 539797 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 537398 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 528838 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |