API update methods
This page is about OKR for Jira Cloud. Using Data Center? Click here.
Base URL for all API calls
If you are in the EU region: https://eu.okr-jira-prod.appfire.com
Everywhere else: https://okr-jira-prod.appfire.com
Prerequisites
All update methods are carried out using the POST HTTP method, and necessitate a JSON object with specified properties in the request body.
Authentication is executed in the same manner as for query methods, by utilizing the
API-Token: {token}
header along with your authentication token.Additionally, the
Content-Type: application/json
header is mandatory to ensure that the server correctly interprets your request.
1. Update objective
Create updates for specified objectives.
POST /api/v2/api-update/objectives
Property | Description | Mandatory |
---|---|---|
| ID of objective to update. | |
| New state of the objective. Allowed statuses: | |
| A description to appear on created update. |
Example request
POST https://okr-jira-prod.appfire.com/api/v2/api-update/objectives
Request body
{
"objectiveId": "62334eac00ee2b102e34fdb7",
"status" : "ON TRACK",
"description" : "Spaceship assembly docks are delivering on time"
}
2. Update key result
Create updates for the specified key results.
POST /api/v2/api-update/keyResults
Property | Description | Mandatory |
---|---|---|
| ID of key result to update. | |
| New state of the key result. Allowed statuses: | |
| Progress value to set in update. In case KR progress unit is currency, value should still be a number, without currency symbol. | |
| A description to appear on created update. |
Example request:
POST https://okr-jira-prod.appfire.com/api/v2/api-update/keyResults
Request body: