Bitbucket modules
Common modules
Compass modules
Confluence modules
Jira modules
Jira Service Management modules

Jira Service Management portal subheader

The jiraServiceManagement:portalSubheader module adds a panel rendered underneath the title of customer portal pages.

This module can be used in Jira Service Management.

For UI Kit 1, see the PortalSubheader component documentation for an example. When adding this to your app, use it as a top-level component.

Unlicensed user access: This module supports interaction with anonymous users, customer accounts, and unlicensed accounts. For information, see Access to Forge apps by unlicensed users.

Example of a portal subheader

Properties

PropertyTypeRequiredDescription
key

string

Yes

A key for the module, which other modules can refer to. Must be unique within the manifest.

Regex: ^[a-zA-Z0-9_-]+$

functionstringRequired if using UI Kit 1.A reference to the function module that defines the module. Only used in UI Kit 1.
resourcestringRequired if using custom UI or the current version of UI Kit.A reference to the static resources entry that your context menu app wants to display. See resources for more details.
render'native'Yes for UI Kit.Indicates the module uses UI Kit.
resolver{ function: string } or
{ endpoint: string }
Yes

Set the function property if you are using a hosted function module for your resolver.

Set the endpoint property if you are using Forge remote (preview) to integrate with a remote back end.

viewportSize'xsmall','small', 'medium', 'large' or 'xlarge'The display size of resource. Remove this property to enable automatic resizing of the module.
pageshelp_center,portal, create_request, view_request, approvals,profile or my_requestsRestrict the module to only be visible in specified customer portal pages.
unlicensedAccessList<string>A list of unlicensed user types that can access this function. Valid values for this module are: unlicensed, customer, and anonymous. For more information, see Access to Forge apps for unlicensed Jira Service Management users.

Extension context

UI Kit and Custom UI

Use the useProductContext hook to access the extension context in UI Kit or getContext bridge method in custom UI.

PropertyTypeDescription
typestringThe type of the module.
pagestringThe location of the page where the module is rendered. Values include help_center,portal, create_request, view_request, approvals,profile and my_requests.
portal.idnumberThe id of the service desk, depending on the page where it's rendered.
request.typeIdnumberThe id of the request type, depending on the page where it's rendered.
request.keystringThe key of the request, depending on the page where it is rendered.

UI Kit 1

PropertyTypeDescription
typestringThe type of the module.
pagestringThe location of the page where the module is rendered. Values include help_center,portal, create_request, view_request, approvals,profile and my_requests.
portal.idnumberThe id of the service desk, depending on the page where it's rendered.
request.typeIdnumberThe id of the request type, depending on the page where it's rendered.
request.keystringThe key of the request, depending on the page where it is rendered.

Rate this page: