Dear all!
In Bitbucket v 6.0.+ We used to
SoyMailMessageRequest messageRequest = new SoyMailMessageRequest.Builder()
.cssModuleKey(CSS_KEY)
.context(context)
.recipients(Collections.singleton(currentUser))
.soyTemplateModuleKey(TEMPLATE_KEY)
.soyTemplateName(TEMPLATE_NAME)
.subjectKey(messageTitleKey)
.build();
Iterable<MailMessage> messages = soyMailBuilder.build(messageRequest);
After migration on v 6.7.+ it fails with message:
Getting Attempting to render undefined template 'bitbucket.internal.email.layout.chrome'.
(https://developer.atlassian.com/server/bitbucket/reference/api-changelog/#bitbucket-server-6-7 States that it is no longer supported )
How should I change this dependencies:
<client-resource key="gii-email-templates" name="Email Templates">
<directory location="/email/">
<include>/**/*.soy</include>
</directory>
<dependency>com.atlassian.bitbucket.server.bitbucket-web:server-soy-templates</dependency>
<dependency>com.atlassian.bitbucket.server.bitbucket-notification:notification-email-templates</dependency>
</client-resource>
Thanks in advance!
P.S. Could we get a sources of Server Bitbucket if our company is a Atlassian Partner.