Hi all,
When I add tag into velocity template it breaks the jira format I could not find where is the problem. Can anyone find this?
This is velocity template
<!DOCTYPE html>
<head>
<title>Test Management</title>
$webResourceManager.requireResourcesForContext("aresPlugin-resources") <!-- Include CSS and JS -->
</head>
<body>
<div class="mod-header">
<table>
<thead>
<tr>
<th>Case Name</th>
<th>Created By</th>
<th>Test Result</th>
</tr>
</thead>
<tbody>
#foreach( $item in $result )
#foreach( $case in $item.cases )
<tr>
<td>$case.name</td>
<td>$item.createdBy</td>
<td>$case.testResult</td>
<td><a href="https://ares.trendyol.com/test-management/sprints">See in ares</a></td>
</tr>
#end
#end
</tbody>
</table>
</div>
</body>
</html>
And this my atlassian-plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}"/>
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
</plugin-info>
<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="aresPlugin"/>
<!-- add our web resources -->
<web-resource key="aresPlugin-resources" name="aresPlugin Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="aresPlugin.css" location="/css/aresPlugin.css"/>
<resource type="download" name="aresPlugin.js" location="/js/aresPlugin.js"/>
<resource type="download" name="images/" location="/images"/>
<context>aresPlugin</context>
</web-resource>
<web-panel name="TestManagement"
i18n-name-key="test-management.name"
key="test-management"
location="atl.jira.view.issue.left.context"
weight="1000">
<description key="test-management.description">Ares Test Management Plugin</description>
<context-provider class="com.trendyol.aresPlugin.impl.TestManagement"/>
<resource type="download" name="aresPlugin.css" location="/css/aresPlugin.css"/>
<resource name="view" type="velocity" location="templates/aresTestManagementPlugin.vm"/>
</web-panel>
</atlassian-plugin>
You can see the image for what I want to tell about broken format.