Hi,
is it possible to set Next-Gen project private using the API? I haven't found any way to achieve that.
The following code does not work:
curl --request PUT --url 'https://dsprojects.atlassian.net/rest/api/3/project/[ID]' \
--header 'Authorization: Basic [token]' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"isPrivate": "true"
}'
The "isPrivate" attribute is not recognized.
The strange thing is that the following code returns "isPrivate": "false" even though the project is private according to the Jira UI (Project Settings -> Details).
curl --request GET --url 'https://dsprojects.atlassian.net/rest/api/3/project/[ID]' \
--header 'Authorization: Basic [token]==' \
--header 'Accept: application/json'
Am I missing something here? Thanks