---
title: "Validate policy application to a project"
method: POST
path: "/rest/api/2/policies/project/{projectIdOrKey}/validate"
tags: ["Policies"]
---

# Validate policy application to a project

`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`)

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.

## Path parameters

- `projectIdOrKey` string, required

## Request body

- ValidatePolicyRequest
  - `policyIds` string[]

## Response `200`

200 response

- unknown

## Other responses

- `400`: 400 response
- `401`: 401 response
- `403`: 403 response
- `404`: 404 response
- `409`: 409 response

## Changes

- **2026-10-14** `a8f48f288913`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api/changes/rest/api/2/policies/project/:projectIdOrKey/validate/post.md)

---

[API](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api.md) - [All operations](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api/revisions/5b336c497218?raw)
