Modal Windows

Display your panel content in a pop-up dialog instead of inline. A panel of the Issue Panel, Issue Activity, Issue Context, JSM Portal Panel, JSM Portal Header, JSM Portal Subheader or JSM Portal Footer module can open in a modal window instead of being shown in place.

Modal windows are not available for Issue Action, Global Page, Project Page, Custom Field, Dashboard Gadget and the request create modules (JSM Portal Subheader and JSM Portal Footer on the create request page) - these always render inline.

A modal shows the content of its own configuration only: when several configurations of one module apply to the issue, each has its own button, flag or auto-open modal, and none of them shows the messages of the others.

Overview

Modal windows are useful for:

  • Important warnings that need attention
  • Detailed information without cluttering the issue view
  • Blocking notifications that require acknowledgment
  • Critical instructions for specific issues

Enabling Modal Mode

  1. Edit your panel configuration
  2. Go to the Other tab, section Modal Window
  3. Enable Show in modal window
  4. Configure modal options
  5. Save
Other Settings Tab
Setting Default Options
Show in modal window Off When on, the panel shows a button that opens the modal
Open button text “Show Information” Up to 100 characters
Open button appearance Subtle Default, Primary, Subtle, Warning, Danger
Modal window size Extra Large Small, Medium, Large, Extra Large
Modal window appearance Primary (Default) Primary, Warning, Danger
Close button text “Close” Up to 100 characters
Auto-open modal window Off Opens the modal when the issue is opened
Show a flag when the issue is opened Off Issue Panel, Issue Activity, Issue Context; available while auto-open is off, also without the modal window
Open the modal from the flag On Shown with the flag and the modal window; off - the flag has no Open button
Show only once per issue Off Available with auto-open or with the flag

Show in Modal Window

Toggle to enable modal display. When enabled:

  • A button appears in the module’s location instead of the panel body
  • Clicking the button opens the modal dialog
  • Panel content displays inside the modal

Open Button Text

Customize the button label that opens the modal (up to 100 characters, default “Show Information”).

Examples:

  • “View Blockers”
  • “Important Notice”
  • “See Related Issues”

Open Button Appearance

Visual style of the open button:

Style Use Case
Default Standard button
Primary Main action (blue)
Subtle Less prominent (default)
Warning Caution (yellow)
Danger Critical (red)

Control the dialog size:

Size Use Case
Small Simple messages
Medium Standard content
Large Tables, detailed info
Extra Large Complex dashboards (default)

Set the modal header color for emphasis:

Appearance Color Use Case
Primary Default Standard information
Warning Yellow/Orange Cautions, reminders
Danger Red Critical alerts, blockers

Close Button Text

Customize the button that closes the modal (up to 100 characters, default “Close”).

Examples:

  • “Got it”
  • “Acknowledge”
  • “OK”

Auto-Open

With Auto-open modal window the modal opens when the issue is opened, even if the panel itself is collapsed or not added to the issue view. The same conditions as for the panel apply (projects, issue types, JQL and template conditions, user fields). Nothing opens on a site whose license Jira reports as inactive.

Several auto-open modals of one issue open one after another: the next one opens when the previous one is closed. During one visit to the issue a modal opens at most once - closing it, clicking around the issue, editing a field or a refresh of the issue view does not open it again.

Use cases:

  • Critical warnings that must be seen
  • Mandatory instructions
  • Blocking information

Flag on Issue Open

With Show a flag when the issue is opened the modal does not open by itself. Instead a Jira flag (an info notification in the corner of the page) appears when the issue is opened, with the modal window title and an Open button; Open opens the modal. When the configuration name is hidden, the flag shows the open button text instead. The setting is offered for Issue Panel, Issue Activity and Issue Context while Auto-open modal window is off - with auto-open on the modal opens and no flag is shown.

Under the title the flag shows the message of the configuration as plain text:

  • the values of the issue are filled in;
  • the message is in the viewer’s language when the configuration has a translation for it;
  • formatting (HTML, Markdown, ADF) is dropped - a flag shows text only; line breaks become spaces.

A configuration without a message shows the title only. The flag shows the same message the modal shows to the same viewer.

Open the modal from the flag (on by default) decides whether the flag has the Open button. Turned off, the flag only shows the message and no modal opens from it. Configurations saved before this setting appeared keep the Open button.

The flag can also be turned on without Show in modal window. Such a configuration is shown in its panel as usual, and when the issue is opened a flag with its message appears as well - a flag without a modal, so it has no Open button and Open the modal from the flag is not shown.

The modal that opens from the flag or by auto-open looks like the modal opened by the panel button: the title in the header (coloured by Modal window appearance), the content below it and the close button at the bottom. Unlike the panel button’s modal, the rest of the page is not dimmed behind it.

The flag follows the same conditions as auto-open (projects, issue types, JQL and template conditions, user fields, the license check) and the same rule: during one visit to the issue a flag appears at most once. If an auto-open modal is on the screen when Open is pressed, the flagged modal opens right after it is closed.


Show Only Once Per Issue

Available with Auto-open modal window or with Show a flag when the issue is opened.

After the viewer closes the modal it does not open automatically again for this issue and configuration for 7 days. With the flag, the flag counts as shown: it does not appear again for this issue and configuration for 7 days. This is remembered in the viewer’s browser, so another browser or device shows it again.

This prevents annoying repeated popups while ensuring users see important information.


Preview in the Configuration Form

With Show in modal window on, the Preview tab of the configuration form shows the open button (Preview (Modal Mode)). The button opens the same modal the issue shows: the title in the header with the icon and colour of Modal window appearance (Warning, Danger), the Close button text on a close button of the same colour, and the Modal window size. The preview follows the form as it is now - a changed setting shows in the preview without saving the configuration.


Show the Panel by Default with an Automation Rule

The Issue Panel module (Message Panel) is shown on an issue only after someone adds it with the app’s button in the issue view. Jira remembers this per issue in an issue property. An Automation rule that sets the same property adds the panel to issues without a click - for example to every new issue of a project. The panel still shows only where it applies: the Issue Panel module is on and one of its configurations matches the issue’s project and issue type.

Property key

ari:cloud:ecosystem::extension/<app id>/<environment id>/static/message-issue-panel
  • <app id> - the id of the app, a UUID such as 6f9500c8-1499-4546-9515-8f7a541a4eb7.
  • <environment id> - the id of the app’s installation environment, also a UUID.
  • message-issue-panel - the key of the Issue Panel module; it does not change.

Both ids are in the address of the app’s administration page: open Message Panel Settings in the Apps menu of Jira administration, and the address ends with /jira/settings/apps/<app id>/<environment id>. The key depends on the environment: a key copied from another site, or from a test (development, staging) installation of the app, does not match and the panel is not added. Copy both ids from the site where the rule runs.

Property value

A list with one entry, in the format Jira itself writes when a user adds the panel:

[{"added": 1767225600000, "id": "messagepanel", "collapsed": false}]
Key Value
added A time in milliseconds (any time works)
id A text unique for the issue - only letters and digits, without a hyphen (for example messagepanel or 5b0d8c2e)
collapsed false to show the panel expanded

Warning: Jira ignores an entry whose id contains a hyphen, such as a UUID: the property is set on the issue, but the panel is not added.

Rule steps

  1. Open Project settings > Automation (or Jira settings > System > Automation rules for several projects) and create a rule.
  2. Trigger: Issue created (or another trigger, such as Scheduled with a JQL query for existing issues).
  3. Optionally add a condition that limits the rule to the projects and issue types of your configurations.
  4. Action: Set entity property - entity type Issue, property key and property value as above.
  5. Save and turn the rule on.

The rule actor needs the Edit issues permission in the project: Jira lets only users who can edit an issue set its properties.


Configuration Examples

Critical Blocker Warning

Settings:

  • Data Source: Linked Issues → “is blocked by”
  • Display JQL: status != Done
  • Modal enabled: Yes
  • Button Text: “View Blockers”
  • Button Appearance: Danger
  • Modal Size: Medium
  • Modal Appearance: Danger
  • Auto-Open: Yes
  • Show only once per issue: Yes

Result: Red modal automatically opens showing blocking issues. After the user closes it, it does not open by itself on this issue again for 7 days.

Important Instructions

Settings:

  • Data Source: Empty (Message only)
  • Message: Instructions text
  • Display JQL: type = "Deployment"
  • Modal enabled: Yes
  • Button Text: “Deployment Checklist”
  • Button Appearance: Warning
  • Modal Size: Large
  • Auto-Open: No

Result: Yellow button appears on deployment issues. Users click to view checklist.

Release Notes

Settings:

  • Data Source: JQL → "Epic Link" = {{ issue.key }}
  • Modal enabled: Yes
  • Button Text: “View Release Items”
  • Button Appearance: Primary
  • Modal Size: Extra Large
  • Auto-Open: No

Result: Blue button on epics opens large modal with all stories/tasks in the release.

SLA Breach Alert

Settings:

  • Data Source: Empty
  • Message: SLA breach warning
  • Display JQL: priority = Highest AND created < -4h AND status != Done
  • Modal enabled: Yes
  • Button Text: “SLA Alert”
  • Button Appearance: Danger
  • Modal Appearance: Danger
  • Modal Size: Small
  • Auto-Open: Yes
  • Show only once per issue: Yes
  • Close Button Text: “Acknowledge”

Result: Small red modal auto-opens on issues breaching SLA. User must acknowledge.


Best Practices

When to Use Modals

Good use cases:

  • Critical blockers that need immediate attention
  • Mandatory acknowledgments
  • Detailed information that would clutter the issue view
  • Time-sensitive warnings

Avoid for:

  • General information (use inline panels)
  • Frequently updated content
  • Content users need to reference while working

Auto-Open Carefully

  • Use sparingly to avoid annoying users
  • Enable “Show only once per issue” with auto-open or the flag
  • Reserve for truly critical information
  • Combine with specific Display JQL filters

Troubleshooting

  1. Check that the configuration’s display module is enabled globally
  2. Confirm the module supports modals - Issue Panel, Issue Activity, Issue Context, JSM Portal Panel, JSM Portal Header, JSM Portal Subheader and JSM Portal Footer do (not the request create modules)
  3. Verify the panel’s context filters match the issue
  4. Ensure “Show in modal window” is enabled

Auto-Open or Flag Not Showing

  1. The modal auto-opens and the flag appears only when the issue is opened, at most once per visit to the issue
  2. Check “Show only once per issue” - the modal or flag may have been shown in the last 7 days; another browser or device shows it again
  3. With Auto-open modal window on, no flag is shown - the modal opens instead
  4. Verify the context filters and Display JQL condition match the issue

Review your context filters:

  • Project filter
  • Issue type filter
  • Display JQL condition

Next Steps