The ViewIssueModal
class enables your UI Kit and custom UI app to open the issue view modal for an issue.
It can be used by these modules:
1 2interface ViewIssueModalOptions { context: { issueKey: string; }; onClose?: () => void; } class ViewIssueModal { constructor(opts: ViewIssueModalOptions); open(): Promise<void>; }
This example shows how to open an issue view modal.
1 2import { ViewIssueModal } from '@forge/jira-bridge'; const viewIssueModal = new ViewIssueModal({ onClose: () => { console.log('ViewIssueModal closed'); }, context: { issueKey: 'CS-15', }, }); viewIssueModal.open();
Rate this page: