One of my requirements is to access the selected project in the left pane along with board details in the inner page.
I tried using:
import { useProjectContext } from '@forge/ui';
// Use project context to access current project details
const context = useProjectContext();
// Extract project details from the context
const projectName = context.project.name;
console.log("projectName ->", projectName);
Any suggestions?
Hi @Mahesh Ghodke and welcome to Community,
I don't have a specific tip to access the project id, but tomorrow there's an ACE about Forge where you might be able to ask a question at the end after the main presentation: https://ace.atlassian.com/events/details/atlassian-atlassian-developers-presents-patterns-for-integrating-forge-with-external-services-forge-dev-den/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.