ScriptRunner allows you to customise the UI of Jira by adding buttons or displaying web content on a page.
Web panels can be used to add HTML snippets to parts of a page.
You can use Web Panels to display additional information on the current wiki page, or Jira issue etc.
For more information about web panels see Atlassian’s documentation.
Due to certain limitations, no more than one fragment can be displayed in a single location.
Additional functionality with the Adaptavist Bridge
If you are hosting your own site, you have to include a
<script> tag to our bridge.js.
You can find the "bridge" by referencing
AdaptavistBridgeContext contains a
context property, which provides more information of the current environment. Eg. If the panel is displayed inside an issue, the
context will contain the
You can also make calls to the Jira rest api, with the
AdaptavstBridge.request function. You can find more information about the available endpoints, and the usage here.
How to use Script Fragments
Navigate to the Script Fragments section in the ScriptRunner menu
Click on Add fragment
Select the space where you want the fragment to appear
Select the location that you want the item to appear in.
Select either the Render External or HtmlCssJs options int he Rendering Mode dropdown
The Render External option will link a webpage to your web item, displaying it in a pop-up box where the Web Panel is located
If you’ve selected the Render External option, add your target URL
Click Save changes