How do I add a menu option for projects under the Tool menu?

Brian Hargrove March 20, 2012

I'm trying to add a new menu option for my new plugin that will export all the reviews associated with a project.

I would like to add a menu option under the Tools menu on the top right.

I was able to add one in the reviews section using this:

<web-item key="export-item" section="system.crucible.review">

<link>/plugins/servlet/export-project-report</link>

<label key="Export Project Report PDF"/>

</web-item>

But this only works in the reviews section and I don't see a simple way to add options when viewing Projects.
I also read some other post but nobody seems to answer this question clearly.
Here is another option I was trying but I don't see the menu option anywhere

<web-item key="export-item" section="system.content.action/secondary">

<link>/plugins/servlet/export-project-report</link>

<label key="Export Project Report PDF"/>

</web-item>

Anybody have suggestions? solution?
Thanks!

2 answers

1 accepted

1 vote
Answer accepted
Brian Hargrove May 7, 2012

Its not possible to add a web item to the tools menu under the project section.

I ended up creating a form linked from the reports section that contained a list of all the projects and the user could select a project and run the report.

Duy Nguyen August 13, 2014

Hello Brian,

Which plugin were you talking about? Is that JIRA plugin? Now I face the same problem with Crucible plugin and unfortunately I couldn't even create a link from reports list page. Did you find the solution somewhere or find it out yourself?

-- Best

0 votes
bharath S June 27, 2012

Hi Brian

I am also trying to do something similar to your problem in Jira.

I want to add a link in the Tools menu of Dashboard. And I am not getting the section to which it belongs to.

Reason is I have many gadgets in the dashboard which contains the issue filter. When I click on this new link "Email report" the plugin associated with this should fetch results of all the issue filters in the gadgets and send it as email.

But I am not able to find the section associated with the Tools menu.

-Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events