Returns whether Jira is currently in read-only mode.
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns the current read-only mode state.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/readonly-mode' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
{
"enabled": true,
"endTime": "2026-06-30T18:00",
"message": "Jira is currently in read-only mode for maintenance.",
"timeZone": "Asia/Beirut"
}Enables or disables Jira read-only mode.
Forge and OAuth2 apps cannot access this REST resource.
boolean
string
string
string
Returned when read-only mode state is updated.
1
2
3
4
5
6
7
8
9
10
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/readonly-mode' \
--user 'email@example.com:<api_token>' \
--header 'Content-Type: application/json' \
--data '{
"enabled": true,
"endTime": "2026-06-30T18:00",
"message": "Jira is currently in read-only mode for maintenance.",
"timeZone": "Asia/Beirut"
}'Rate this page: