The HTTP API is the lowest-level way to use JQL. At its core, the API is very simple: you write a script, and you post it to an API endpoint with some authentication parameters.
For longer scripts, you will likely want to keep the code in a file. If you had your script in a file called my_query.js, you could run it using the following cURL command:
-u YOUR_API_SECRET: \ --data-urlencode [email protected]_query.js
- Queries will timeout after 2 minutes of run-time.