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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

195 views 1 3
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