How to enable/disable the "Epic Panel" from a board through REST API
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
There is no official and supported API endpoint to update the board administrators in the Jira Cloud REST API, but there is an available endpoint to do it.
Atlassian no longer supports this endpoint, so there is no official documentation for it, nor guarantee it will continue working as expected in the future.
環境
Jira Software Cloud
ソリューション
To enable/disable the "Epic Panel" from a board, use the following endpoint:
PUT /rest/greenhopper/1.0/rapidviewconfig/showEpicAsPanel'
curl:
curl --location --request PUT 'https://<instance>.atlassian.net/rest/greenhopper/1.0/rapidviewconfig/showEpicAsPanel' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <authorizationToken>' \
--data '{
"rapidViewId":<boardId>,
"showEpicAsPanel":true
}'
The options for "showEpicAsPanel" are "true", to enable it, and "false" to disable it.
You just need to replace "<instance>", "<authorizationToken>", and "<accountId>" with your data and execute it.
While there's no official documentation, you can check the WADL here.