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 heremy.plugin.name=MyPlugindms.label=DMSdms.name=DMSdms.description=Document Management System (DMS)# dms sectiondms-section.label=DMSdms-section.name=DMSdms-section.description=Document Management System (DMS)# upload itemdms-upload.label=Uploaddms-upload.name=Uploaddms-upload.description=Upload files to DMS# manage itemdms-manage.label=Managedms-manage.name=Managedms-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>
It looks like you're new here. Sign in or register to get started.