Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleUpcoming changes

As of Reporting version 6.6.0, support for supplier-core and support-core plugins will be removed from Reporting, which means support for the legacy custom supplier, custom reporter, and custom query will be removed.

This tutorial will take you to step by step through the process of creating your first Custom Reporter. By the end of this tutorial, you will be able to provide data from your plugin to be displayed in Reporting macro.

...

  1. Download the obr for Reporting version 6.6.0 from the Atlassian Marketplace.
     
  2. Extract the jar file from the obr using your preferred file extraction tool, such as 7-zip or WinRar.
     
  3. Install the extracted reporting-confluence-plugin-6.6.0.jar to your local Maven repository using one of the following commands:

    Code Block
    mvn install:install-file \
    -Dfile=<path-to-reporting-jar-file>/reporting-confluence-plugin-6.6.0.jar \
    -DgroupId=com.servicerocket.confluence \
    -DartifactId=reporting-confluence-plugin \
    -Dversion=6.6.0 \
    -Dpackaging=jar

    or

    Code Block
    mvn install:install-file -Dfile=<path-to-reporting-jar-file>/reporting-confluence-plugin-6.6.0.jar
  4. Next, add the Reporting addReporting add-on as a dependency into to your plugin's pom.xml:

    Code Block
    languagexml
    <dependency>
        <groupId>com.servicerocket.confluence</groupId>
        <artifactId>reporting-confluence-plugin</artifactId>
        <version>6.6.0</version>
        <scope>provided</scope>
        <exclusions>
            <exclusion>
                <groupId>*</groupId>
                <artifactId>*</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>com.servicerocket.confluence.plugin</groupId>
        <artifactId>servicerocket-utility-library</artifactId>
        <version>2.2.0</version>
        <scope>provided</scope>
    </dependency>

...