POST /rest/api/2/jql/parse

Parses and validates JQL queries.

Validation is performed in context of the current user.

This operation can be accessed anonymously.

Permissions required: None.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
validation String Yes

How to validate the JQL query and treat the validation results. Validation options include:

  • strict Returns all errors. If validation fails, the query structure is not returned.
  • warn Returns all errors. If validation fails but the JQL query is correctly formed, the query structure is returned.
  • none No validation is performed. If JQL query is correctly formed, the query structure is returned.

Possible values:

  • "warn"
  • "strict"
  • "none"

Default value: "strict"

Request body fields

Name Type Required Description
queries[] Array Yes

A list of queries to parse.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.