soyTransformer not found on custom plugin

Hello,

I have been working through the plugin-gadget docs/tutorials and decided to try to create my own version of the assigned-to-me plugin. I based on the orginal plugin, and am just trying to get it to work as is, but bundled as my own plugin. The gadget renders with no issues and I get the following error in the log:

[talledLocalContainer] <2012-08-24 10:16:04,699 http-2990-17 WARN anonymous 616x4089x2 2jb3f6 10.15.5.88 /s/en_US-3ydc0y/706/1/1.0/_/download/resources/jira-gadget-tutorial-plugin:g-assigned-to-me/assigned-to-me.js [atlassian.plugin.webresource.WebResourceTransformation] Web resource transformer soyTransformer not found for resource assigned-to-me.js, skipping

My atlassian-plugin.xml has the following for a web-resource

&lt;web-resource key="g-assigned-to-me"&gt;
        &lt;dependency&gt;com.atlassian.jira.gadgets:common-lite&lt;/dependency&gt;
        &lt;dependency&gt;jira.webresources:issue-table&lt;/dependency&gt;
        &lt;resource type="download" name="labels.css" location="/ui/labels.css"&gt;
            &lt;param name="source" value="webContextStatic"/&gt;
        &lt;/resource&gt;
        &lt;transformation extension="soy"&gt;
            &lt;transformer key="soyTransformer"/&gt;
        &lt;/transformation&gt;
        &lt;resource type="download" name="assigned-to-me.js" location="assigned-to-me-gadget.soy"/&gt;
    &lt;/web-resource&gt;

Is the soyTransformer available by default? Or do I have to explicitly add it to my plugin and if so, how?

Thx!

1 answer

I personally use the following declaration. I have no idea what I'm doing, I've copy-pasted it for years and it just works without any other import.

&lt;transformation extension="soy"&gt;
      &lt;transformer key="soyTransformer"&gt;
        &lt;functions&gt;com.atlassian.confluence.plugins.soy:soy-core-functions&lt;/functions&gt;
      &lt;/transformer&gt;
    &lt;/transformation&gt;

Try that just in case it works ;)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,980 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot