Create JSON data source
Remember that only admins have permanent permission to create data sources. If you're a User, ensure you've received the necessary permissions from your Jira administrator before attempting to create a data source. For detailed instructions on how to set up permissions, please visit the Administration page.
To create a JSON Data Source in our app, follow these steps:
Open Data Processor for Jira: Navigate to the app within your Jira Cloud instance.
Go to ‘Data Sources’ ‘JSON’: Select the ‘Data Sources’ section in the left-side menu, and then choose ‘JSON’ from the list.
or
On the Home page of the main interface, click the 'JSON' icon.
Create New Data Source: Click on 'Create your first Data Source' in the center of the screen if no Data Sources exist yet.
If you've previously created Data Sources, select '+New Data Source' at the top right corner of the screen.
Select Tables and Fields: Choose the specific tables and fields you want to include in your Data Source.
Available tables for export
In the right section of the main interface, under each tab of Jira services, you'll find a list of all available tables for export. You can conveniently select the specific tables you need by clicking the 'Plus' button next to each table. This feature allows for a tailored and efficient export process, ensuring that you export only the necessary data. Additionally, you can easily navigate using the Search bar.You can expand the tables to view the available fields and their formats, allowing for a clear understanding of the data structure before exporting.
The complete list of tables and fields that are available for export can be seen here.
Selected tables for export
Clicking the 'Plus' button moves tables from the right section to the 'Selected tables for export' section on the left. Here, you can select the fields for export. Check the box next to a label to select all fields within it, or expand the label to choose individual fields. The count of selected fields versus the total available is displayed next to each label name. You can also easily navigate using the Search bar.
To remove a table from those selected for export, simply click the ‘Trash bin’ button on the right. This will automatically move the table back to the 'Available tables for export' section, allowing you to adjust your selections as needed.
While selecting data for export, you may encounter ‘As Array of objects in the Issues table' and
'As Nested object’ switches.
As Array of objects in the Issues table
:
Nested JSON arrays of objects offer advanced data management by embedding objects within arrays for a structured, hierarchical format. This is particularly effective for representing complex relationships, enhancing both the efficiency and clarity in handling interconnected data. It's a preferred method in programming and data handling due to its organized approach to complex data structures.
Here is an example of disabled and enabled As Array of objects in the Issues table for Worklogs:
As Nested object
:
Nested JSON objects are highly effective for complex data organization. They offer better structuring by allowing objects within objects, creating a hierarchical layout. This method enhances data organization and reduces redundancy, as repeated values can be stored in a single, overarching object, thus eliminating data duplication.
Here is an example of disabled and enabled As Nested object for Update Author:
Once all data has been selected, click 'Next Step' to proceed.
To activate the ‘Next Step’ button and successfully create a data source, you must select at least one field in the 'Selected tables for export’ section.
Apply Filter (Optional): Click 'Next step'.
Enter Main Information: Fill in the Name and optionally, a description for the Data Source. Click 'Save+'.
List of Created Data Sources: After clicking the 'Save+' button, you will see a list of the created data sources ready for export.