{
"opencollection": "1.0.0",
"info": {
"name": "Atlassian Admin Account JQL Functions (Apps) API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "JQL Functions (Apps)",
"type": "folder"
},
"items": [
{
"info": {
"name": "Atlassian Get Precomputations Apps",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/jql/function/computation",
"params": [
{
"name": "functionKey",
"value": "",
"type": "query",
"description": "The function key in format:\n\n * Forge: `ari:cloud:ecosystem::extension/[App ID]/[Environment ID]/static/[Function key from manifest]`\n * Connect: `[App key]__[Module key]`"
},
{
"name": "startAt",
"value": "",
"type": "query",
"description": "The index of the first item to return in a page of results (page offset)."
},
{
"name": "maxResults",
"value": "",
"type": "query",
"description": "The maximum number of items to return per page."
},
{
"name": "orderBy",
"value": "",
"type": "query",
"description": "[Order](#ordering) the results by a field:\n\n * `functionKey` Sorts by the functionKey.\n * `used` Sorts by the used timestamp.\n * `created` Sorts by the created timestamp.\n * `updated` Sorts by the updated timestamp."
}
]
},
"docs": "Returns the list of a function's precomputations along with information about when they were created, updated, and last used. Each precomputation has a `value` \\- the JQL fragment to replace the custom function clause with.
**[Permissions](#permissions) required:** This API is only accessible to apps and apps can only inspect their own functions."
},
{
"info": {
"name": "Atlassian Update Precomputations Apps",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/rest/api/3/jql/function/computation",
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Update the precomputation value of a function created by a Forge/Connect app.
**[Permissions](#permissions) required:** An API for apps to update their own precomputations."
}
]
}
],
"bundled": true
}