Support of `type` argument in boards

Hi Team,

I see that we have a new response property in board i.e. type which is of type BoardObjectType' and has values like board, sub_items_board or document`.

We have a usecase where we need boards which are of type boards only.
Is it possible to have this type property as an argument field? So when I give type as board it will list down only board type boards.

Hello there @Yash!

As of today the type can not be used as an argument for boards.

Having said that, I will add this as a feature request :slightly_smiling_face:

Cheers,
Matias

Thanks @Matias.Monday. It would be really helpful if we get this feature in this week.

Hello @Yash!

I do not think that this will be implemented soon.

Please check every now and then our changelog to know about our most recent changes :slightly_smiling_face:

Cheers,
Matias

Hi @Matias.Monday , Can you please update on this requirement, As I am not able to access the changelog

Here is the new link to the changelog

1 Like

Hello @Yash!

This has not been deployed at the moment. You can use the “type” field in your query to check if you are dealing with a board, but it can not be used as an argument.

Thank you @kolaai for the new link!

Cheers,
Matias

I didn’t still see “type” field supported as argument in doc. Do we have any latest update?

Any reason why it’s still not considered? Seems like a valid request though, makes the query powerful.

Hello there @mari-strivelabs,

How would you like to use such a field in your query? Would you be able to write an example of what you would like for the query to look like?

Looking forward to hearing from you :smile:

Cheers,
Matias

Sure.

I was expecting “type” field support as an argument. Something like,

query {
          boards (workspace_ids: ${context.spaceId}, type: ['board', 'sub_items_board']) {
            id
            name
            board_kind
            board_folder_id
            type
            state
            url
          }
        }

(or) even support to query for single type would also help I guess

query {
          boards (workspace_ids: ${context.spaceId}, type: 'board') {
            id
            name
            board_kind
            board_folder_id
            type
            state
            url
          }
        }

This should ideally query boards for the workspace with type board (I don’t need other types like document for eg). Hope this helps!

Thank you for the context @mari-strivelabs !

I have changed this topic into a feature request and users can vote for it now!

1 Like