How to update board administrators through REST API

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.

Summary

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. 

(warning) 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.

Environment

Jira Software Cloud

Solution

To update board administrators, use the following endpoint:

PUT /rest/greenhopper/1.0/rapidviewconfig/boardadmins

curl:

curl --location --request PUT 'https://<instance>.atlassian.net/rest/greenhopper/1.0/rapidviewconfig/boardadmins' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <authorizationToken>' \
--data '{
    "id": 2,
    "boardAdmins": {
        "userKeys": [
            "<accountId>",
            "<accountId>"
        ],
        "groupKeys": []
    }
}'

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.




Last modified on Sep 26, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.