Source

atlassian-connect-express / test / atlassian-plugin.xml

Full commit
<atlassian-plugin key="{{key}}" name="{{name}}" plugins-version="2"
  xmlns="https://remoteapps.jira.com/rest/atlassian-connect/1/installer/schema/atlassian-plugin">

  <plugin-info>
    <description>{{description}}</description>
    <version>{{version}}</version>
    <vendor name="{{vendorName}}" url="{{vendorUrl}}"/>
    <permissions>
      {{#each permissions}}
      <permission>{{item}}</permission>
      {{/each}}
    </permissions>
    {{#if documentationUrl}}
    <param name="documentation.url">{{documentationUrl}}</param>
    {{/if}}
    <param name="configure.url">/plugins/servlet/atlassian-connect/{{key}}/config-page</param>
  </plugin-info>

  <remote-plugin-container key="container" display-url="{{localBaseUrl}}">
    <oauth>
      <public-key>
{{publicKey}}
      </public-key>
    </oauth>
  </remote-plugin-container>

  <webhook key="enabled" event="remote_plugin_enabled" url="/enabled"/>
  <webhook key="test_hook" event="remote_plugin_test_hook" url="/test-hook"/>

  <general-page key="hello-world-page-in-jira" name="Hello World" section="system.top.navigation.bar" url="/hello-world"/>
  <general-page key="hello-world-page-in-confluence" name="Hello World" section="system.user" url="/hello-world"/>

</atlassian-plugin>