Vacation workflow with approval - no mail sent to supervisor

Hi,

I'm evaluating the tempo approval workflow to establish a vacation approval process. Everything seems to work fine except sending a mail to the selected "supervisor".

Labs (Experimental Features)

Plan Workflow - Allows plans to be submitted for a supervisor's review. Unless disabled, notification emails
are sent on any workflow actions
I checked the above checkbox. Than plan some time in the timesheet -> Jira can't find the templatefor the mail.
Please see the following log:
2013-03-11 13:50:32,555 Sending mailitem To='Eckhard.xxx@heidelberg.com' Subject='' From='null' FromName='Ulrich yyy(Prinect Issues)' Cc='null' Bcc='null' ReplyTo='Ulrich.yyy@heidelberg.com' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ERROR ServiceRunner    Mail Queue Service [velocity] ResourceManager : unable to find resource 'templates/tempoplugin/email/text/planWorkflowAction.vm' in any resource loader.
2013-03-11 13:50:32,555 Sending mailitem To='Eckhard.xxx@heidelberg.com' Subject='' From='null' FromName='Ulrich yyy(Prinect Issues)' Cc='null' Bcc='null' ReplyTo='Ulrich.yyy@heidelberg.com' InReplyTo='null' MimeType='text/plain' Encoding='UTF-8' Multipart='null' MessageId='null' ERROR ServiceRunner    Mail Queue Service [com.atlassian.velocity.DefaultVelocityManager] ResourceNotFoundException occurred whilst loading resource
2013-03-11 13:50:32,555 QuartzWorker-0 ERROR ServiceRunner    Mail Queue Service [atlassian.jira.service.ServiceRunner] An error occured while trying to run service 'Mail Queue Service'. org.apache.velocity.exception.VelocityException: Could not find template 'templates/tempoplugin/email/text/planWorkflowAction.vm' ensure it is in the classpath.
java.lang.RuntimeException: org.apache.velocity.exception.VelocityException: Could not find template 'templates/tempoplugin/email/text/planWorkflowAction.vm' ensure it is in the classpath.
    at com.atlassian.jira.mail.RenderingMailQueueItem.send(RenderingMailQueueItem.java:85)
    at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:66)
    at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:28)
    at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
    at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
    at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: org.apache.velocity.exception.VelocityException: Could not find template 'templates/tempoplugin/email/text/planWorkflowAction.vm' ensure it is in the classpath.
    at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:76)
    at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asPlainText(DefaultVelocityTemplatingEngine.java:84)
    at com.atlassian.jira.mail.RenderingMailQueueItem.renderEmailBody(RenderingMailQueueItem.java:102)
    at com.atlassian.jira.mail.RenderingMailQueueItem.send(RenderingMailQueueItem.java:78)
    ... 7 more

Can I do something on my site to create the missing items?

2 answers

1 accepted

This widget could not be displayed.

Hi Ulrich

unfortunately the text version of this email template seems to be missing from Tempo. We need to have that fixed ASAP. Thanks for pointing this out.

If you switch to html email this should work ok until fixed.

Kind regards

Kristín

Hi Kristin

thank you for the tip with the html format. It works on my site.

Best regards

Uli

Hi Kristin

is it possible for me to customize the approval template like requested in TMA-3239?

Best regards

Uli

No I'm sorry thats still not possible.

Regards

Kristín

This widget could not be displayed.

This is fixed in Tempo 7.5.4 released yesterday

https://tempoplugin.jira.com/wiki/display/TEMPO/Tempo+7.5.4+Release+Notes

Sverrir Tynes
Tempo support

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

531 views 3 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you