camunda / issues

4 stars 0 forks source link

Unable to import dashboards to a new system if the dashboard has a filter #816

Open engineering-issue-sync-app[bot] opened 1 week ago

engineering-issue-sync-app[bot] commented 1 week ago

Describe the bug

It is not possible to import and exported dashboard that contains variable filters into a new system. The user always gets a warning about missing variables.

Hint: This might be caused by us first validating everything, including dashbaord filters, and then importing everything. The dashboard filter validation seems to be checking report data based on ID, by the time this validation happens the reports arent saved yet.

Expected behaviour

If variable filters exist on a dashboard and the variables exist in the data of the reports on the dashboard in the target system, it should be possible to import the dashboard without errors.

To Reproduce

Steps to Reproduce the issue:

Create a dashboard and add a variable filter Export the dashboard to a JSON file Start a new empty instance of Elasticsearch but still connected to the same C7 system Re-create the same dashboard with the same filter but with a new name. Try to import the original JSON dashboard, you will get an error and it will not import, in the har file it reports an invalid filter

Environment observed:

Links

https://jira.camunda.com/browse/SUPPORT-22330

### Pull Requests

Bug Lifecycle

For managing the issue lifecycle, please use the workflow commands. You can see the available commands by writing /help as a comment on this issue.

QA Verification

Is this bug reproducible?

Review

Review Resources

Engineering Review

QA Review

Completion

:robot: This issue is automatically synced from: source