This page contains answers to frequently asked questions posed by FishEye/Crucible developers.
Feel free to comment, make submissions, or pose your own question on FishEye/Crucible Development here.
Q: I'm getting the error "API access is disabled" as a response from fisheye/api/rest/repositories on my installation. How do I enable the API as a Fisheye administrator?
A: There is a toggle to enable the API under "Server Settings" in the web admin interface. See Configuring the FishEye web server for more details.
Q: Is there any way to return unique results from an EyeQL query?
A: It is not currently possible to return unique results. An improvement request exists: FE-1136. Your vote and comments on that issue are appreciated.
Q: How do I use AUI on a page generated by a servlet plugin module?
A: FishEye 2.4 and earlier don't include AUI by default, so your servlet will need to explicitly include it. There are two ways to do this:
In FishEye/Crucible 2.4 and later, specify that the context of its page decorator requires the resource. i.e. your file should include:
1 2 3 4
<web-resource key="aui"> <dependency>com.atlassian.auiplugin:ajs</dependency> <context>atl.general</context> </web-resource>
assuming your generated page will request the decorator.
If you are rendering a velocity template, include in your template.