Reporting Json Data Provider macro allows reading of Json data from the attachment file for from the text field. The max number of issues may be specified, but cannot be higher than 1000 items. Data providers in Reporting return data in a form of an array of Json objects - one Json object per each report line. In case of Json Data Provider the data is read as is from the attachment file or from the text field. Then, in Reporting Table Item and Reporting List Item formulas these objects may be accessed via CurrentItem variable.
Reporting Json Data Provider macro has the following parameters:
|[Enum] Data content type (default='Text only')||
Specifies, how to process the data, specified in the Json data parameter or the file data, read from the attachment file, which name is specified in the Json data attachment file name parameter - whether it is a plain text or a single formula. This parameter may have one of the following values:
|[String] Json data root (default=''(Empty value))||
Specifies the root element path in the data. This parameter is convenient, when the input data is a result of some REST API call, where is a common case, when an array of Json objects is provided in an element, called 'results' or 'values'.
|[String] Filter (default=''(Empty value))||
The formula, which filters out the values when it returns False. Ignored if empty.
|[Long] Max results (default=1000)||The maximum amount of issues to be returned. This feature is convenient to create the lists of TOP Something, when the amount is limited with this parameter.|