Our requirement is we need to add a button or menu item or a link to issue. On clicking this, it will open an external link. The external link is composed of an external URL and the issue id (issue_id) from which it was clicked, e.g., http://www.myurl.com/issue_id
Dear Atlassian/Jira,
Could you please create some simple documents with examples? Like the Qt documents :)
Anyway I could implement it using features, e.g., web-section and web-item:
1. https://developer.atlassian.com/server/jira/platform/issue-view-ui-locations/
2. A short and useful video tutorial is on: https://www.youtube.com/watch?v=U4m-heLNqv4
3. Code snippet:
dmslink/src/main/resources/dmslink.properties
#put any key/value pairs here
my.plugin.name=MyPlugin
dms.label=DMS
dms.name=DMS
dms.description=Document Management System (DMS)
# dms section
dms-section.label=DMS
dms-section.name=DMS
dms-section.description=Document Management System (DMS)
# upload item
dms-upload.label=Upload
dms-upload.name=Upload
dms-upload.description=Upload files to DMS
# manage item
dms-manage.label=Manage
dms-manage.name=Manage
dms-manage.description=Manage files in DMS
dmslink/src/main/resources/atlassian-plugin.xml
<web-section name="DMS" i18n-name-key="dms-section.name" key="dms-section" location="opsbar-operations" weight="1000">
<description key="dms-section.description">The DMS Section Plugin</description>
<label key="dms-section.label"/>
</web-section>
<web-item name="Upload" i18n-name-key="dms-upload.name" key="dms-upload" section="dms-section" weight="1000">
<description key="dms-upload.description">The Upload Plugin</description>
<label key="dms-upload.label"/>
<link linkId="id-link">https://www.dms.com/upload?ticketNo=$issue.key</link>
</web-item>
<web-item name="Manage" i18n-name-key="dms-manage.name" key="dms-manage" section="dms-section" weight="1000">
<description key="dms-manage.description">The Manage Plugin</description>
<label key="dms-manage.label"/>
<link linkId="id-link">https://www.dms.com/manage?ticketNo=$issue.key</link>
</web-item>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.