This site is moving soon to become part of an integrated Appfire documentation and information site for our apps. This site will remain available during the transition to our new and improved site. Once this site is moved over, this banner will be updated with the new site link for easy access.
The query for a list of all objectives, which have a start date or/and due date inside the specified date range.
GET /api/v2/api-export/objectives/byDate
Parameter
Description
Mandatory
Parameter
Description
Mandatory
startDateEpochMilli
Start date of query time window, in UNIX Epoch time format, in milliseconds.
deadlineEpochMilli
End date of query time window, in UNIX Epoch time format, in milliseconds.
expand
A list of objects you want to include expanded in reqeust. By default you receive only ids of connected entities. Permitted values: KEY_RESULTS,TEAMS,PERIODS,LABELS
Example request:
GET https://okr-jira-prod.appfire.com/api/v2/api-export/objectives/byDate? startDateEpochMilli=1409459200000 &deadlineEpochMilli=1748647410000 &expand=KEY_RESULTS,TEAMS,PERIODS,LABELS
The query for a list of all objectives with specified ids.
GET /api/v2/api-export/objectives/byIds
Parameter
Description
Mandatory
Parameter
Description
Mandatory
objectiveIds
Comma separated list of objective ids you want to receive.
expand
A list of objects you want to include expanded in reqeust. By default you receive only ids of connected entities. Permitted values: KEY_RESULTS,TEAMS,PERIODS,LABELS
Example request:
GET https://okr-jira-prod.appfire.com/api/v2/api-export/objectives/byIds?objectiveIds=5fda249d289742000406b3e4 &expand=OBJECTIVES,KEY_RESULTS,TEAMS,PERIODS,LABELS
The query for a list of all key results, which have a start date or/and due date inside the specified date range.
GET /api/v2/api-export/keyResults/byDate
Parameter
Description
Mandatory
Parameter
Description
Mandatory
startDateEpochMilli
Start date of query time window, in UNIX Epoch time format, in milliseconds.
deadlineEpochMilli
End date of query time window, in UNIX Epoch time format, in milliseconds.
expand
A list of objects you want to include expanded in reqeust. By default you receive only ids of connected entities. Permitted values: OBJECTIVES,TEAMS,PERIODS,LABELS
Example request:
GET https://okr-jira-prod.appfire.com/api/v2/api-export/keyResults/byDate? startDateEpochMilli=1509459200000 &deadlineEpochMilli=1748647410000 &expand=OBJECTIVES,KEY_RESULTS,TEAMS,PERIODS,LABELS
Query key results by id
Query for a list of all key results with specified ids.
GET /api/v2/api-export/keyResults/byIds
Parameter
Description
Mandatory
Parameter
Description
Mandatory
keyResultIds
Comma separated list of key result ids you want to receive.
expand
A list of objects you want to include expanded in reqeust. By default you receive only ids of connected entities. Permitted values: KEY_RESULTS,TEAMS,PERIODS,LABELS
Example request:
GET https://okr-jira-prod.appfire.com/api/v2/api-export/keyResults/byIds? expand=OBJECTIVES,KEY_RESULTS,TEAMS,PERIODS,LABELS &keyResultIds=5fda249d289742000406b3e5
Query updates by entity id
Query for updates for objective or key result, newest first.
NOTE ON PROGRESS: Updates are not the best way to calculate progress. Use percentDone field on Objectives and Key Results to get latest progress value.
Updates for non-auto Key Results have startValue, value, and desiredValue fields. They allow tracking changes in progress of a Key Result. Latest Update for Key Result will have up-to-date value. As of auto KR updates, there are two kinds of them. Automatic updates are generated when connected issues change status, and such updates have progress values. You also can create manual update with description, but progress values are not editable and will not be present on Update object fetched through API.
Objective progress can not be traced by its updates. Objective Updates will always have their progress as null. We calculate progress of an objective in-flight, and do not generate an Update for every change in Objectives underlying Key Results.
GET /api/v2/api-export/updates
Parameter
Description
Mandatory
Parameter
Description
Mandatory
entityId
Id of a single objective or key result to return updates for. If no id provided, updates for all key results and objectives will be returned, newest first.
earlierThan
Only updates earlier than date provided would be returned. Should be provided in UNIX Epoch time format, in milliseconds.
cursor
This endopint supports cursor-based pagination. Request returns up to pageSize records. If there are more updates, than fit in current page, nextCursor field would be populated in response object. You can get next page of updates by using value of nextCursor as cursor parameter in next request. Lack of nextCursor means there are no more updates to return.
pageSize
Controls how many updates the request will return in single response. If there are more updates than returned, nextCursor field of response object will be populated. Takes values from 1 to 1000. Default value is 1000.
Example request:
GET https://okr-jira-prod.appfire.com/api/v2/api-export/updates?entityId=5fda249d289742000406b3e5&pageSize=100&cursor=MTY0MDYwMDQ5MDI5MA==
Query comments
Query paged comments (all or for given updateIds).
GET /api/v2/api-export/updateComments
Parameter
Description
Mandatory
Parameter
Description
Mandatory
updateId
Ids of updates to retrieve comments. If no ids provided, comments for all updates will be returned, newest first.
cursor
This endopint supports cursor-based pagination. Request returns up to pageSize records. If there are more updates, than fit in current page, nextCursor field would be populated in response object. You can get next page of comments by using value of nextCursor as cursor parameter in next request. Lack of nextCursor means there are no more comments to return.
pageSize
Controls how many comments the request will return in single response. If there are more comments than returned, nextCursor field of response object will be populated. Takes values from 1 to 1000. Default value is 1000.
Example request:
GET https://okr-jira-prod.appfire.com/api/v2/api-export/updateComments?updateId=6453c760a3b1a006776f1c7f&pageSize=1&cursor=MTY4MzIxMjE0MTA1OQ==