POST /rest/api/2/jql/function/computation

Update the precomputation value of a function created by a Forge/Connect app.

Permissions required: An API for apps to update their own precomputations.

The new write:app-data:jira OAuth scope is 100% optional now, and not using it won't break your app. However, we recommend adding it to your app's scope list because we will eventually make it mandatory.

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
skipNotFoundPrecomputations Boolean No

Default value: false

Request body fields

Name Type Required Description
values[] Array No
values[].id String Yes

The id of the precomputation to update.

values[].error String No

The error message to be displayed to the user if the given function clause is no longer valid during recalculation of the precomputation.

values[].value String No

The new value of the precomputation.

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.