@forge/ui-jira
v13.0.16
Published
Helpers for interacting with Jira
Downloads
487
Keywords
Readme
forge-ui-jira
A package of helpers for interacting with Jira
Note permissions apply to interacting with entity properties, for the entity (e.g. issue) being accessed. So it is impacted by the user being used to interact with Jira (is app or request user).
issue-properties
Allows interacting with Jira Issue Properties.
Example usage:
import Forge, { render, Fragment, Text, Button, useAction, useProductContext } from "@forge/ui";
import { issueProperties } from '@atlasian/forge-ui-jira';
const App = () => {
const [ data, setData ] = useIssueProperty('counter', 1);
return (
<Fragment>
<Text>Current value {data.count}</Text>
<Button text="Add one (modify)" onClick={() => { setData(data + 1); }} />
</Fragment>
);
};
export const run = render(<App />);