-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Import/Export - External System Import
-
None
-
1
-
Minor
Issue Summary
When navigated to External System Import > JSON File import, there is misleading information about generating JSON files:
"You can generate a JSON file while viewing an issue by clicking the Export button and selecting JSON. This option is disabled by default and requires Administrator rights to enable it."

However, there is no such option available.
Steps to Reproduce
- Navigate to External System Import
- Click on JSON
- See the misleading information.
Expected Results
- The information displayed should be either removed, or the JSON Export should be supported via the UI.
Actual Results
- The misleading information is displayed although the JSON Export isn't supported via the UI.
Workaround
The JSON file can be generated through the API either using curl or by simply pasting the URL in the address bar of your browser:
curl -X GET --user "<username@domain.com>:<api-token>" -H "Content-Type: application/json" "https://<jira-instance>.atlassian.net/rest/api/3/search?jql=<jql-query>&fields=<fields>&maxResults=<max-results>" > issues.json
In the above statement:
- <api-token> is your Jira API token.
- <jira-instance> is the name of your Jira instance.
- <jql-query> is the JQL (Jira Query Language) query used to filter the issues you want to export (e.g. project = "My Project"). This will have to be parameterized before you plug it into the script. The easiest way to do this is to write the JQL search in Jira then copy the part of the url starting with jql=
- <fields> is a comma-separated list of the fields you want to include in the exported JSON (e.g. summary,issuetype,created). All navigable fields are returned by default. This differs from GET issue where the default is all fields. To include all fields specify *all
- <max-results> is the maximum number of issues to return (e.g. 100).
The output will be saved in a file named issues.json. - You can read more about the API spec here: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get