Developer
Documentation
Resources
Get Support
Sign in
Developer
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Developer
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Dec 8, 2017

Frequently asked questions

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: 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:

    1. In Fisheye/Crucible 2.4 and later, specify that the context of its page decorator requires the com.atlassian.auiplugin:ajs resource. i.e. your atlassian-plugin.xml file should include:

      1
      2
      <web-resource key="aui">
          <dependency>com.atlassian.auiplugin:ajs</dependency>
          <context>atl.general</context>
      </web-resource>
      

      assuming your generated page will request the atl.general decorator.

    2. If you are rendering a velocity template, include $webResourceManager.requireResource('com.atlassian.auiplugin:ajs') in your template.

Rate this page: