Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Fisheye Report



I am looking for sample Fisheye report created using plugin SDK. Please let me know.




1 answer

0 votes

Could you elaborate please? I don't know what kind of report would you like to see. And what plugin SDK do you use?

AbrahamA Rising Star Nov 28, 2017

Hello Marek

I am just looking for a sample report to query data from fisheye. 


Ex: Lines of code written by a particular user.

I know that there are existing reports for this, but I would like to know how to write my own reports so that I can build custom reports as required.

I have experience developing add-ons for Jira and Confluence. I would like to learn writing the same for Fisheye.


Here is the plugin sdk version.

ATLAS Version: 6.2.14
ATLAS Home: C:\atlassian-plugin-sdk-6.2.14
ATLAS Scripts: C:\atlassian-plugin-sdk-6.2.14\bin
ATLAS Maven Home: C:\atlassian-plugin-sdk-6.2.14\apache-maven-3.2.1
AMPS Version: 6.2.11



AbrahamA Rising Star Nov 28, 2017



This is the closet I can find

I will try writing a sample report and take it from there..


Can you please let me know what to use as fecru.version when I run the plugin using atlas-run

I am using Atlassian FishEye analysis (Version:4.4.1 Build:20170515065843 2017-05-15) 

Here is what I tried:

  • Put fecru version as 4.4.1 but when I run atlas-run it failed to dowload the fisheye-api 
  • Kept fecru same as version plugin generated, sal-api failed


[INFO] >>> maven-amps-dispatcher-plugin:6.2.11:run (default-cli) @ fecruplug >>>
Downloading: file://C:\atlassian-plugin-sdk-6.2.14/repository/com/atlassian/fisheye/atlassian-fisheye-api/2.3.3-493/atlassian-fisheye-api-2.3.3-493.pom
Downloading: file://C:\atlassian-plugin-sdk-6.2.14/repository/com/atlassian/crucible/atlassian-crucible-scmutils/2.3.3-493/atlassian-crucible-scmutils-2.3.3-493.pom
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:15 min
[INFO] Finished at: 2017-11-29T04:52:55-08:00
[INFO] Final Memory: 18M/309M


and also what sal-api version should I use

Here is my pom.xml

 <project xmlns=""


<name>Example Company</name>

<description>This is the plugin for Atlassian FishEye/Crucible.</description>









<!-- See here for an explanation of default instructions: -->
<!-- -->

<!-- Add package to export here -->

<!-- Add package import here -->

<!-- Ensure plugin is spring powered -->




<!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->



Check the 

In case of Fisheye 4.4.1 the artifact version is 4.4.1-20170515065843

Hello Marek

Now I have created plugin, looked at the sample using atlas-run.

Now when I run "atlas-create-fecru-plugin-module" I get following options:

Choose Plugin Module:
1: Component Import
2: Component
3: Downloadable Plugin Resource
4: Gadget Plugin Module
5: Licensing API Support
6: Module Type
7: REST Plugin Module
8: Servlet
9: Template Context Item
10: Web Item
11: Web Resource
12: Web Resource Transformer
Choose a number (1/2/3/4/5/6/7/8/9/10/11/12):


I am not sure which option to take and figure out how to pass data to template.

All I would like to do is display in a report how many lines were committed by a particular user.

I appreciate your help, i have to ask again because I could not find a tutorial anywhere which will help me do it (unlike that jira where there are many samples)


If you can please point me to a sample it will help me a lot.



I don't know how do you want to integrate your plugin, but probably you want to use the '8: Servlet' and/or '10: Web item'.
We don't have code examples for your particular case, sorry. 

The only hints I can give you are as follows:

1. Create a web-item to add an additional tab on the repository page and link it to a servlet, e.g.:

<web-item key="loc-report-tab" section="">

2. Create a servlet responsible for generating the HTML page, e.g.:

<servlet key="loc-servlet" name="LOC Servlet" class="com.acme.LocServlet">
... add <resource> here ...

3. In the servlet try to use some of the following services to get data required by you:

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events