Creating public board using rest api

I am trying to create a public board using the REST API with a user that has full permissions, including ‘Create shared objects,’ however no matter what I do the board is created as private.

Here is the cURL command I am using:

curl --request POST \
--url 'https://xxxx.atlassian.net/rest/agile/1.0/board' \
--user 'xxxxxx' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "Test Public Board Name",
"type": "kanban",
"filterId": 10077,
"location": {
"type": "project",
"projectKeyOrId": "10079"
}
}'

Any idea what I am doing wrong? The board is definitely being created when I run the command.

Welcome to the Atlassian developer community, @jkaufman!

Seems like this request is correct since you can successfully create a board. Not sure about this but kindly check the permissions of your filter, 10077, maybe the access is only private.

Cheers,
Ian

The filter is set to public. Is there a way to change the board once it is created?

I am not sure. Maybe you can find something in https://developer.atlassian.com/cloud/jira/software/rest/#api-group-Board that could help.