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/3/policies/project/{projectIdOrKey}/validate

Request

  • Base URL
    https://your-domain.atlassian.net
  • URL
    https://your-domain.atlassian.net/rest/api/3/policies/project/{projectIdOrKey}/validate
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization code: 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