Getting main workspace name via api

Is there a way to fetch the name of the main workspace via the GraphQL API ?

Hey @colin_stewart :wave:

At this time, querying workspaces is only possible as part of the Boards object. When querying the main workspace, however, you will only be able to get null as the ID, and the name will not be returned, I’m afraid:

I hope this helps clarify - at this time, this is not possible, basically. I’ve moved this post to the Feature Requests section, so that other users can chime in with further feedback.

-Alex

2 Likes

Hi Alex,

I am also facing the same issue. I am getting null for the Main workspace. Can you please update about the feature request and when did we get this resolved?

Thank you.

Hi @vipul321,

The Main Workspace currently returns a null value. I’m happy to pass your feedback on to our development team in regards to this query!