Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Set default share scope

Sets the default share scope of the logged-in user. Available values are: AUTHENTICATED (for sharing with all logged-in users) and PRIVATE (for no shares).

PUT/api/2/filter/defaultShareScope
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Request body
application/json
scopestring
Allowed:GLOBALAUTHENTICATEDPRIVATE
Responses
200

Returns the new default share scope of the logged-in user

scopestring
Allowed:GLOBALAUTHENTICATEDPRIVATE
400

Returned if there is a problem setting the preferences for the logged-in user

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/api/2/filter/defaultShareScope' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "scope": "AUTHENTICATED"
}'
Response
{
  "scope": "AUTHENTICATED"
}

Was this page helpful?