Bitbucket modules
Common modules
Compass modules
Confluence modules
Jira modules
Jira Service Management modules
Rovo modules (Preview)

Jira Service Management portal request view action

The jiraServiceManagement:portalRequestViewAction module adds an option item to the request view action section that shows up request details page on Jira Service Management customer portal. When the menu item is clicked, the module’s function renders a modal dialog.

This module can be used in Jira Service Management.

For UI Kit 1, see the PortalRequestViewAction component documentation for an example.

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

When adding this to your app, use it as a top-level component.

Example of a Portal request view action button

This is an example of the triggered modal dialog:

Example of a Portal request view with the above sample code

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_-]+$

resourcestringIf using Custom UI or modern versions of UI KitThe key of a static resources entry that your module will display. See resources for more details.
render'native'If using modern versions of UI KitIndicates the module uses UI Kit.
functionstringDeprecated Required if using UI Kit 1The key of a function module that returns a UI Kit 1 component.
resolver{ function: string } or
{ endpoint: string }

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 to integrate with a remote back end.

viewportSize'small', 'medium', 'large' or 'xlarge'The display size of resource. Can only be set if the module is using the resource property. Remove this property to enable automatic resizing of the module.
titlestringYesThe title of the issue action, which is displayed as a menu item.
iconstringYesThe URL of the icon that's displayed next to the title. A generic app icon is displayed if no icon is provided.
unlicensedAccessList<string>A list of unlicensed user types that can access this function. Valid values for this module are: unlicensed and customer. This module does not support anonymous access. 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.
portal.idnumberThe id of the service desk where the module is rendered.
request.keystringThe key of the request where the module is rendered.
request.typeIdnumberThe id of the request type where the module is rendered.

UI Kit 1

PropertyTypeDescription
typestringThe type of the module.
portal.idnumberThe id of the service desk where the module is rendered.
request.keystringThe key of the request where the module is rendered.
request.typeIdnumberThe id of the request type where the module is rendered.

Rate this page: