Skip to end of metadata
Go to start of metadata

This page is part of the Gadget Developers' JavaScript Cookbook.

How do I add my chart to the issue navigator view?

Place the gadget in the 'JIRA' and 'Charts' categories, include two userprefs and change the gadget configuration field:
  1. Place the gadget in both categories: 'JIRA' and 'Charts':

  2. Include the following two UserPrefs:

  3. Dynamically change the Configuration field for your gadget's Configuration form:

    The popup sets the 'projectOrFilterId' UserPref to the value jql-<JQL-string>. You do not want to display the filter picker.

  4. Your resource should accept the UserPref projectOrFilterId and be able to deal with values of both formats: filter-<filterId> and jql-<JQL-string>.

Refer to the PieChart Gadget for an example of this functionality.


Gadget Developers' JavaScript Cookbook
Using the Atlassian Gadgets JavaScript Framework

  • No labels