[DC] Export (via API)
There is no in-app feature allowing you to export OKR data from the Data Center instance, but you can do so using the REST API endpoint.
The following method exports:
Only a snapshot of your OKRS; the exported data does not contain all the details associated with the exported OKRs, such as update history (only the latest update is included).
OKRs only from a selected OKR period. If you have OKRs scheduled in different periods, you will need to run an export for each period.
Export OKR data
Log in to your Jira DC instance (preferably as Jira Admin).
Open the following link:
{JIRA_URL}/rest/okrs/1.0/periods(replace{JIRA_URL}with the URL address of your instance).
You will receive a list of OKR periods. Note the PERIOD_ID for each period you want to export data from.
For each OKR period, open the following link:
{JIRA_URL}/rest/okrs/1.0/export?periodId={PERIOD_ID}(replace the{JIRA_URL}with the URL address of your instance and the{PERIOD_ID}with the OKR period ID).
You will receive a .CSV file with the OKR data from the selected period.
After the OKR export
When your OKRs are exported from the Data Center and you want to import them to OKR for Jira on Cloud, you can do the following:
Consolidate data from all .CSV files into one file.
Create OKR periods on your cloud instance so that they match the periods of the exported OKRs.
Clean and adjust data.
To import OKRs to Jira Cloud, ensure all the required and optional headings in the .CSV file are present and the required headings contain data. If any data is missing in your .CSV file, add it manually.
Visit the Import OKRs page to learn how to structure your .CSV data and import it to the Jira Cloud instance.
