Hi Team,
I am trying to save admin configure page’s user entering data into forge storage.here i am getting Error: Forge runtime not found. error.how i resolve this issue.
i have mentioned below permission to my manifest.yml file
permissions:
scopes:
- storage:app
- manage:jira-configuration
calling storage within the user’s handler function
const onSubmit = async () => {
if (!selectedOptions) {
alert("Please choose Fields!");
return;
}
await storage.set('issue-fields', selectedOptions);
setSettings(formData);
};
<Button text="Save" onClick={onSubmit}>Save</Button>