Rate this page:
The IssueGlance
component renders content that is shown/hidden in an issue by clicking a button.
The button for the issue glance is placed alongside fields such as Assignee and Labels. Clicking
the button renders the children
content in the right sidebar. IssueGlance
is the top-level component required for the jira:issueGlance
module.
This module can be used in Jira Core, Jira Software, and Jira Service Desk. It works in the new issue view but not the old issue view.
1
import ForgeUI, { IssueGlance } from '@forge/ui';
Name | Type | Required | Description |
---|---|---|---|
children | Array<ForgeComponent> | Yes | A container for displaying multiple components. Can contain any UI kit component. |
A hello world example of the issue glance.
1 2 3 4 5 6 7 8 9 10 11
import ForgeUI, { render, IssueGlance, Text } from "@forge/ui";
const App = () => {
return <Text>Hello from the Issue glance!</Text>;
};
export const run = render(
<IssueGlance>
<App />
</IssueGlance>
);
Displays the button to launch the glance (1) and the glance content (2).
Rate this page: