Web Panel

Web panels can be used to add HTML snippets to parts of a page. They could be used to display additional information on a particular build, a plan, or the system navigation. For more information, read up on web panels in the Atlassian documentation.

As a simple example, let’s imagine we want to inform editors of certain Confluence spaces or Jira projects that the space is to be deprecated, and we’d prefer that they updated a page in another space.

Choose the Show a web panel built-in script, and configure it as follows:

New version

The weight field is optional, and it only takes positive integers. Lower weights will make the panel be displayed at the top of its section. If blank it will appear at the end of its section.

This is the result of the above web panel, which should only appear in the specified space:New version


You must write to the provided Writer object, not just return a String.

Conditions

Conditions are largely the same as for web item conditions.


On this page