Hello team, does anyone know of a way to update the information presented in the issue panel without having to update the entire page manually or automatically? It would be of great importance your help
Hello @CristinaBalczar ,
You can rely on events.
import {events} from "@forge/bridge";
...
useEffect(() => {
events.on('JIRA_ISSUE_CHANGED', () => {
someFunction();
});
}, []);
It will call someFunction()
when the event JIRA_ISSUE_CHANGED
is emitted in the frontend.
1 Like
Hello @FabienLydoire,
Thanks for your answer, the current problem we have is that we use a background-script in the issue panel and the current way we update the information obtained from the script is with a refresh the entire page, is there any way to do this without the need for a refresh of the entire page and that the information displayed is correct?