Crucible Web Item Locations

This page describes the places in the Crucible UI where you can add a Web Item.You control whether a Web Item is shown using a condition.

There are also FishEye Web Items.

If you find that the locations provided are not sufficient for the plugin you wish to write, please raise an issue explaining where you would like a location to be added, and we will consider providing that location in a future release.

On this page:

Web Items Listing and Reference

Each location has a number of Helper Objects available, which can be used to generate parts of the links and titles.

Key

Description

Helpers available

system.crucible.review

Actions which can be performed on a review. These appear in the tools menu of the pop-up shown for a review in a review list, and the main Tools menu of the Review page.

global, project, review

system.crucible.review.comment

Actions which can be performed on a review comment. These appear as buttons in the comment header bar, left of the reply, edit and delete buttons.

global, project, review, reviewItem, repository, comment

system.crucible.review.fileitem

Actions which can be performed on a revision in a review. Displayed next to the 'Remove', 'Change Diff' buttons.

global, project, review, reviewItem, repository

system.userprofile.tab

The user profile tabs.

global

crucible.report.tab

This item adds a link to the review reports tab. This would usually be a link to a servlet which generates a page specifying the crucible.report.tab decorator.

global

system.crucible.review.addcontent Adds a link to the 'Add content' dialog on the review screen (Crucible 3.6.0 and later only) global, review
system.crucible.review.subheader Adds a button to the review subheader  

Visual Locations of Crucible Web Items

system.crucible.review

This item relates to actions that can be performed on a review, appearing in various places inside the Crucible UI.

Screenshot: Crucible's system.crucible.review Web Item


system.crucible.review.comment

This item relates to actions that can be performed on a review, appearing in various places inside the Crucible UI.

Screenshot: Crucible's system.crucible.review.comment Web Item

system.crucible.review.fileitem

This item relates to actions which can be performed on a revision in a review, in the Crucible UI.

Screenshot: Crucible's system.crucible.review.fileitem Web Item

system.userprofile.tab

This item relates to user profile tabs in the Crucible UI.

Screenshot: Crucible's system.userprofile.tab Web Item

crucible.report.tab

This item relates to user profile tabs in the Crucible UI.

Screenshot: Crucible's crucible.report.tab Web Item

system.crucible.review.addcontent

Allows adding links to the 'Add content' dialog on the review screen. The <link> element on the webitem should contain the url that will be opened in the popup when the link is clicked.

For example:

<web-item key="changelog" section="system.crucible.review.addcontent" weight="100">
    <link>/cru/${helper.reviewPermId.id}/edit-changelog</link>
    <label>Browse changesets</label>
    <tooltip>Browse recent changes for revisions to add to this review</tooltip>
    <styleClass>method-changelog</styleClass>
</web-item>

system.crucible.review.subheader

Adds a button to the review subheader. 


For example:

<web-item key="review-activity-button" section="system.crucible.review.subheader">
    <label>Activity</label>
    <styleClass>review-activity-button</styleClass>
    <param name="data.action-label">Activity</param>
    <condition class="com.atlassian.fisheye.plugin.web.conditions.HasCrucible"/>
</web-item>


(info) Looking for the FishEye web items? Click here.

Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport