notableaddedAtlassian calls it: Added
(Experimental) New REST APIs for managing and applying space policies in Jira Cloud
- Announced
- Tags
- rest-jira-cloud-platform
- Endpoints
GET /rest/api/3/policiesGET /rest/api/3/policies/project/{projectIdOrKey}GET /rest/api/3/policies/project/{projectIdOrKey}/rulesPOST /rest/api/3/policies/{policyId}/applyPOST /rest/api/3/policies/{policyId}/removePUT /rest/api/3/policies/project/{projectIdOrKey}/policiesPOST /rest/api/3/policies/project/{projectIdOrKey}/validate- Severity
- notable, set by
reef/atlassian-rule-v2 - Source
- https://developer.atlassian.com/changelog/#CHANGE-3451
What's changing We've introduced new experimental REST APIs for managing space policies in Jira Cloud. Space policies allow site administrators to govern the creation and usage of fields and statuses in team-managed spaces, helping to prevent configuration sprawl and maintain instance health.
The following experimental endpoints are now available:
Viewing policies
GET /rest/api/3/policies— Get all policiesGET /rest/api/3/policies/project/{projectIdOrKey}— Get project policy stateGET /rest/api/3/policies/project/{projectIdOrKey}/rules— Get project policy rules
Applying policies to projects
POST /rest/api/3/policies/{policyId}/apply— Apply a policy to projectsPOST /rest/api/3/policies/{policyId}/remove— Remove a policy from projectsPUT /rest/api/3/policies/project/{projectIdOrKey}/policies— Set the policies applied to a projectPOST /rest/api/3/policies/project/{projectIdOrKey}/validate— Validate policy application to a project
What you need to do
- Review the Jira Cloud space policy API documentation to understand the available methods and data structures.
- Note that these APIs are currently experimental and may change without notice.
- If you are building integrations that create fields or statuses, ensure you handle potential blocks when a space policy is active.
The text above is the source's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.