Policies

Validate policy application to a project

Changed on

Validates whether a set of policies can be applied to a project without actually applying them.

Runs the compliance checks for each specified policy against the project's current configuration. This can be called before applying policies to preview potential issues. Jira Admin only.

post/rest/api/2/policies/project/{projectIdOrKey}/validate

Request

  • Base URL: https://your-domain.atlassian.net
  • URL: https://your-domain.atlassian.net/rest/api/2/policies/project/{projectIdOrKey}/validate
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: manage:jira-project)

Path parameters

projectIdOrKeystring required

project ID or project key

Request body

policyIdsstring[]

Response

200 response

unknown required

Changes