Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create custom dashboard on plugin installation?

Parag Bhole
Contributor
February 10, 2015

Hi,

I want to -

  1. create a custom dashboard available for all users when plugin is installed,
  2. add the gadgets bundled in my plugin by default,
  3. Add a link to this dashboard from my plugin's menu item.

Is it possible and if yes then can some one point out any documentation or example to achieve this?

OR else is there a way to extend dashboard functionality in plugin's webpage, to make it gadget container?

Thanks,

Parag

1 answer

0 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2015

Hi Parag!

I am sure that it's possible to implement 1, 2 & 3 however it will not be an easy task.

I advise you to check how it's done in JIRA (JIRA sources are open to everyone who bought it and can be downloaded under atlassian account). I monitored actions that are invoked for "Create dashboard" and "Add gadgets" screens and noted mappings for you:

Action            URL                                                 Class
Create dashboard  https://MY-JIRA/secure/AddPortalPage!default.jspa   com.atlassian.jira.web.action.user.AddPortalPage
Add gadgets       https://MY-JIRA/secure/Dashboard.jspa               com.atlassian.jira.web.action.Dashboard

You need to examine the appropriate classes and copy - paste and then adjust the code. It could be useful to debug appropriate JIRA actions.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events