すべてのバージョン
Gadgets and Dashboards 3.0Gadgets and Dashboards 2.0
Gadgets and Dashboards 1.0
More...
This page tells you how to add your gadget to an Atlassian application (JIRA, Confluence, etc) as a plugin. In short, you will add a <gadget>
module type to your atlassian-plugin.xml
file.
On this page:
This list of prerequisites is incomplete
TO DO: We need to add instructions for configuring specific Atlassian applications to support AGSL-1.
Gadget plugin modules enable you to add your gadget to an Atlassian application (JIRA, Confluence, etc) as a plugin. Your gadget can then make use of the application's remote API to fetch data and interact with the application.
The element for the Gadget plugin module is gadget
. It allows the following attributes for configuration:
名前 |
必須 |
説明 |
既定 |
---|---|---|---|
鍵 (キー) |
|
The |
|
場所 |
|
The |
|
The syntax of the module type is:
<atlassian-plugin name="Hello World" key="example.plugin.helloworld" plugins-version="2"> <plugin-info> <description>A basic gadget module</description> <vendor name="Atlassian Software Systems" url="http://www.atlassian.com"/> <version>1.0</version> </plugin-info> <gadget key="unique-gadget-key" location="path/to/gadget.xml"/> </atlassian-plugin>
http://my-server.com:port/my-context/rest/gadgets/1.0/g/my-plugin.key:my-gadget/my-path/my-gadget.xml
Or without context:
http://my-app.my-server.com:port/rest/gadgets/1.0/g/my-plugin.key:my-gadget/my-path/my-gadget.xml
例:
http://mycompany.com/jira/rest/gadgets/1.0/g/com.atlassian.streams.streams-jira-plugin:activitystream-gadget/gadgets/activitystream-gadget.xml
Creating your Gadget XML Specification
Writing an Atlassian Gadget
Gadgets and Dashboards Development Hub