As the admin of your Confluence space, you can edit existing reports, create new reports, organize reports into folders, delete reports, import reports, and more.
To access the admin interface of VisualScript, click on "Settings" and you should see VisualScript with the option to "Create/Edit Reports".
By default, you'll see a list of reports in front of you, similar to what you would see on your dashboard.
Custom reports you've created are listed under "My Reports". The built-in reports can be found under "Built-in Reports".
To create a new report, click on "Create a New Report" near the bottom left of the VisualScript admin interface.
This will bring up the Report Builder with the basic structure of a simple "Hello world" report in the code editor window.
The Report Builder interface has three main sections:
Code Editor
The Code Editor is a feature-rich JavaScript editor in which you will create and modify your report's code. It provides many convenient and familiar features of lightweight modern code editors such as syntax highlighting (primarily via color), bracket-matching, auto-complete of brackets, parenthesis and quotation marks. The Code Editor also alerts you to syntactical errors.
You can learn how basic reports are built by browsing our documentation:
Report Information
The Report Information section contains:
- Name: Name of the report as it will appear in the report browser.
- Description: Description of the report.
Script Parameters: UI Builder
Right under report information section, you have a chance to define parameters you may need to collect from the user. This will help you create a UI where you can ask for issue ID, epic name, or other information needed to build your visual report. Learn more about setting up user input parameters here: Admin Only: Setting Up User Input Parameters
To create your report, give it a name and click "Create."
Now you can make edits, save any changes and run your report to test your code.
Comments
0 comments
Please sign in to leave a comment.