I have created a web-panel and it works fine as expected in the view issue
page.
<web-panel name="Test" i18n-name-key="test-plugin.name" key="test-plugin" location="atl.jira.view.issue.left.context" weight="300">
<description key="test-plugin.description">Plugin</description>
<resource name="view" type="velocity" location="templates/test-web-panel.vm"/>
</web-panel>```
My question is how can I add the `...` menu icon as it's show for the attachments web-panel in the right side? I want similar menus for my custom new web panel too.
![image|689x209](upload://znuP7NUKIeYXiZvW1rqDi9vZMh2.png)
I could not see your picture, but I can guess your question.
So that ...
menu icon is just simply a new web-item
which placed at your web-panel
's header.
<web-item key="quick-operation"
name="Quick Operation"
section="app-key:web-panel-key/header"
weight="1">
<label key="your.operation.label"/>
<tooltip key="your.operation.label"/>
<styleClass>aui-icon aui-icon-small aui-iconfont-more</styleClass>
</web-item>
1 Like
Thanks a lot. It was very useful.
I am trying to show a collection of menus items using web-section. But I could not make it work. Below is the code. No icons or menus are shown.
<web-section name="New Test " key="new-test-case-section"
location="com.tms-jira-plugin:test-cases/header" weight="1000">
<description key="new-test-case-panel.description">
Add new test case
</description>
<label>New Test Case</label>
<styleClass>aui-icon aui-icon-small aui-iconfont-add-circle</styleClass>
</web-section>
<web-item key="my_links_link1" section="com.tms-jira-plugin:test-cases/header/new-test-case-section" weight="47">
<label>Gherkin</label>
<link linkId="gherkin-test">#</link>
</web-item>
<web-item key="my_links_link2" section="com.tms-jira-plugin:test-cases/header/new-test-case-section" weight="10">
<label>Manual</label>
<link linkId="manual-test">#</link>
</web-item>
Sorry, if this question is basic. Today is my 3rd day with Jira plugin development.
I solved it by using a web-section at the section com.tms-jira-plugin:test-cases/drop
1 Like
Hi PurusothamanRamanuja. I have the same problem. Please, Can you share final web-section and web-item code?