Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trello boardPlugins endpoint not working as expected (API)

Wouter July 13, 2021

Hi there! I'm trying to enable the Custom Fields plugin using the API. Unfortunately, I can't get it to work. I'm using the following cURL command for testing:

 

I'm using the endpoint as documented here: https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-boardplugins-post

 

curl -X POST "https://api.trello.com/1/boards/{boardId}/boardPlugins?key={key}&token={token}&idPlugin=56d5e249a98895a9797bebb9", unfortunately, without any success. Can anyone help me out here? The output I'm getting is 'Forbidden', no JSON, nothing, although I can create boards, add comments etc without any issues. Am I missing something?

 

1 answer

0 votes
Wouter July 13, 2021

I've raised this issue to Trello customer service. They were able to reproduce the issue and will be pushing out a fix. No ETA yet unfortunately

Iain Dooley
Community Champion
July 13, 2021

@Wouter this was explicitly deprecated recently so I wouldn't hold your breath for a fix:

https://community.developer.atlassian.com/t/deprecating-oauth-access-to-1-boards-id-boardplugins-routes/49230

Wouter July 13, 2021

Interesting. This endpoint is still in the documentation without a deprecation warning

Jireh
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 14, 2021

@Wouter Hi there, thanks for flagging this issue. We'll be updating the docs accordingly to reflect these changes to the API.

Wouter July 14, 2021

Thank you @Jireh . Since the Trello API already has a lot of API methods, natively, for interacting with custom fields, it would be nice to enable it via the API directly.

I can understand that being able to enable every plugin could be a security risk, but perhaps the custom fields plugin could be added to the /1/boards/{id}/powerUps endpoint, and/or as a parameter when creating the board?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events