Configuring Dataplane
- David Goldstein
To configure Dataplane Reports, selectĀ Dataplane ReportsĀ āĀ Administration from the top Jira navigation bar.
Then under theĀ Dataplane ReportsĀ section in the left sidebar, selectĀ Configuration.
Dataplane Indexing
Building the History Index
Before you can run any reports in Dataplane Reports, you must build Dataplane Reports' history index.Ā
This is typically a one-time operation. Once the history index is built, Dataplane Reports updates the index in real-time to ensure that reports always use the most up-to-date data.
Rebuilding the index can take a long timeāup to a few hours on large systems, and sometimes even longer on enterprise-scale systems (particularly when using Microsoft SQL Server). While all indexing is done in the background and should not affect regular Jira use, users will be unable to run Dataplane reports while the index is being built.
To build the history index, from theĀ Dataplane ReportsĀ āĀ AdministrationĀ āĀ Configuration pageĀ select the Indexer tabĀ and click the Build IndexĀ button.
While the history index is being built, the Configuration page is actively updated with indexing progress.
Dataplane Reports indexing is a background process, requiring no active monitoring or other user actions. You are free to browse anywhere else in Jira while Dataplane is indexing, and can return to Dataplane's Administration ā Configuration page at any time to check on indexing progress.
When the index build has finished, the Configuration page will confirm successful completion, or display any errors encountered.
Indexing on JiraĀ Data Center
WhenĀ 459636781Ā for the first time, or when incorporating incremental changes to the index, Dataplane runs its indexing operations in a background task. In a multiple cluster Jira Data Center instance, this background indexing task runs onĀ only one cluster node at any given time.
The cluster node Dataplane Reports is currently using for indexing is called theĀ Indexer Node, and isĀ displayed on theĀ Indexer tab of the app administrationĀ Configuration page.
When the Dataplane Reports app is enabledāon Jira Data Center startup, or on installation of the appāDataplane automatically selects a cluster node to use as its Indexer Node based on node availability. If the Indexer Node is removed from the Jira Data Center cluster, Dataplane Reports automatically selects a new Indexer Node on which to perform future indexing operations.
For performance reasons, the initial Dataplane index build process cannot be handed off to another node.
If you are building the Dataplane Reports index for the first time, or Dataplane requires a reindex for some other reason, you must ensure that Dataplane's Indexer Node remains active in the Jira Data Center cluster for the duration of the indexing process.
If the Indexer NodeĀ is removed from the Jira Data Center cluster in the middle of indexing, you must manually 459636781.
Synchronizing the History Index
Once the history index has been built, the Sync Index button allows you to request a manual synchronization of the Dataplane Reports index.
Performing a manual synchronization of the index is not required under normal operation, however there are a few situations where a Sync Index is necessary.
When Jira Issues are Created Unconventionally
Under normal circumstances, all issues that are created and updated in Jira are automatically included in the Dataplane index in real-time. However, if an issue is created unconventionallyāsuch as by some versions of the Jira Issue Importer, or by a Groovy-based script that does not generate system eventsāthe issue may not be added to Dataplane Reports' index, and performing a manual Sync Index may be required in order to see the issue in reports.
In addition, data for Jira issues created or edited while the Dataplane Reports app was disabled or uninstalled may not be visible in historical reports until a manual Sync Index is run.
When Adding or Renaming Custom Fields
After adding a new custom field to Jira or renaming an existing one, a Sync Index is required to make the field available in Dataplane.
With a scriptedĀ custom field from the Jira Misc Custom Fields app or ScriptRunner app, a single Sync Index when the field is first added/renamed is sufficient to allow Dataplane Reports to make use of the field. No additional Dataplane Sync Index operation is needed when modifying the field's underlying Groovy script,Ā howeverāas is standard practice with scripted custom fields from these appsāyou will need to reindex Jira itself after any changes to the underlying Groovy script.
Automatically Rebuilding the History Index
Each night at midnight (00:00) server time, Dataplane Reports runs a history index maintenance task. Among other functions, this task performs validity checks on the index data and optimizes index data storage.
If the nightly index maintenance task detects a critical, unrecoverable data error in the history index, Dataplane's history index is marked invalid and a full rebuild of the index is required. Until an administrator initiates a 459636781, Dataplane Reports will display an error message to all users and administrators of the app indicating that report results may be invalid until the history index is rebuilt.
The early morning timing of this index invalidation can mean many hours go by before the issue is discovered and a Dataplane administrator is able to kick off a full rebuild of the Dataplane history index.
To limit downtime in this situation, set the following JVM property in your JiraĀ bin/setenv.sh
Ā file to have Dataplane Reports automatically begin rebuilding its history index should it encounter anyĀ critical, unrecoverable index data errors:
-Dcom.arsenalesystems.dataplane.indexer.autoRebuild=true
This JVM property setting is rarely needed, as unrecoverable Dataplane Reports index data errors are not common. We recommend enabling this property only if you are regularly experiencing Dataplane Reports index invalidation, and only as a temporary workaround while you engage our support teamĀ to determine the root cause of the problem.
Removing the History Index
If you need to uninstall Dataplane Reports permanently, you can use the Remove IndexĀ button on the same Configuration tab to remove all existing Dataplane Reports index data from your Jira database. This will drop all of the tables that Dataplane Reports created to build an index.Ā
Depending on your database, dropping the tables may or may not release the recovered space back to the filesystem.
Configuring Permissions
Configuring Dataplane Access Permission
Permission to use Dataplane Reports is granted underĀ App PermissionĀ on the PermissionsĀ tab of the Dataplane Reports āĀ Administration ā Configuration page.
By default, all users in theĀ jira-administratorsĀ andĀ jira-usersĀ groups are given access to Dataplane.Ā The Dataplane ReportsĀ Jira menu item will be visible to groups in this permissions list.
In general, users who are not in any group in the permissions list will not see any Dataplane menus or be able to run reports directly through Dataplane.Ā However, if an existing Dataplane user creates a report, shares it, and adds the resulting shared report to a Jira dashboard that is visible to other users, everyone who is able to see the dashboard will also be able to view the Dataplane report, even if those individuals do not otherwise have Dataplane privileges. This allows administrators to restrict report creation to a select group of users, but still to display read-only Dataplane reports to other users on dashboards and information radiators.
To give groups permission to use Dataplane Reports, type in the group names and click Add Groups.
To remove groups of users from the permissions list, select those groups and click on Remove Selected Groups.
The permissions listĀ does not grant add-on administration privileges.
The Dataplane administration page is only accessible to users with Jira Administration privileges.
Configuring Customizer Script Permission
Dataplane users canĀ modify or extend the functionality of reportsĀ withĀ sandboxed, Groovy-based Customizer Scripts.
By default, all users in the jira-users and jira-administrators groups are granted permission to use Customizer Scripts. If you wish to prevent some or all of these users from using Customizer Scripts, you may customize the list of groups under theĀ Customizer Script PermissionĀ section on the PermissionsĀ tab of the Dataplane Reports āĀ Administration ā Configuration page.
In order to run a report that has a Customizer Script, either the user who created the report or the user who is currently accessing the report must have Customizer Script permission. This means that a small set of users may be given Customizer Script permission, who can then create a set of reports that can be shared with a larger set of users who do not have Customizer Script permission.
When running a report, the Customizer Script permission is checked in real time. For example, if a trusted user is given Customizer Script permission and saves a report with a Customizer Script, any other user in the system (even those without Customizer Script permission) will be able to run the report. However, if Customizer Script permission is later withdrawn from the user who saved the report, only those other users who have Customizer Script permission will be able to run the report (even if the saved report itself has not been changed).
Configuring Default Report Sharing
When saving a report, Dataplane allows users to make the resulting report available to other users, other groups, or everyone (including anonymous users, if your Jira permits anonymous access).
The Default Report Sharing settingĀ on the SharingĀ tab of the Dataplane Reports āĀ Administration ā Configuration page allows you to define the default sharing options for newly-saved reports.Ā
When users create new reports from a report template, the report will inherit the default sharing options specified in this section. Unless the administrator has made a selection in this section, the default for newly-created reports is "Not shared".
The selections made here apply only to newly-created reports that are being saved for the first time with Save As. The sharing selections of any existing saved reports will not be modified. In addition, existing reports that are copied using the Save As feature will still inherit the sharing options of the original report, rather than the default options specified here.
For a description of the Not shared option, the Everyone option and the projects/groups control, please see the documentation forĀ Saving Reports.
Page Contents