Discussions

Ask a Question

Error when creating a feature

I keep getting an error when trying to create a feature. I get the error in my code and in the API tool provided by product board. Here is the code with dummy data for the status ID, product ID, and email ```php <?php require_once('vendor/autoload.php'); $client = new \GuzzleHttp\Client(); $response = $client->request('POST', 'https://api.productboard.com/features', [ 'body' => '{"data":{"type":"feature","status":{"id":"XXXXX-XXXXXXX-XXXXXXXX-XXXXXXX"},"parent":{"product":{"id":"XXXXX-XXXXXXX-XXXXXXXX-XXXXXXX"}},"owner":{"email":"[email protected]"},"name":"Test API Idea","description":"here is the description"}}', 'headers' => [ 'X-Version' => '1', 'accept' => 'application/json', 'authorization' => 'Bearer ...', 'content-type' => 'application/json', ], ]); echo $response->getBody(); ``` Here is the error that I'm getting ``` { "errors": [ { "code": "validation.html.invalid", "title": "Failed to parse HTML content", "detail": "[Path '/data/description'] [line: 1, col: 31] cvc-complex-type.2.3: Element 'body' cannot have character [children], because the type's content type is element-only.", "source": { "pointer": "/data/description" } } ] } ``` The description is text, so any ideas on what this error means?

How to add an Insight to a Feature via the API ?

I am trying to programmatically create new insights in a features through the API. Is this even possible ? Thanks !

Portal API?

I would like to integrate upvoting for features right in our product, can you make portal API available? Thanks.

Tags support

I'd like to find features by tags - is that possible? Can it be supported? (Either in the query call itself or as a property to filter manually against when the entities retrieved).

Internal Server Error (EC: 500) For Update Note PATCH

Is anyone else experiencing a server error for updating notes calls

Company Custom Fields

Has anyone had difficulties updating custom company fields programmatically? The custom fields I can see are set at the feature level and I am not getting any data returned for custom fields at the company level.

Get all notes endpoint does not works

The endpoint <https://api.productboard.com/notes> simply doesn't works, it throws an "Internal server error"

GET Notes doesn't return User or Company info

Hi there, Using GET notes endpoint, I see the User ID, but I don't see the User's email address or Company info returned. Is there a way to return these along with User ID?

Feature comments via API

Hi - it doesn't look like it's possible to retrieve the comments associated with a feature via the API (unless I missed it ?!) Is this feature planned for a future release at all?

User company association.

Is it possible to obtain a list of companies associated with users through the API endpoint that lists all users?