What are the steps to reproduce your problem?
1. Create a process (e.g. Hiring Demo on Stage)
2. Leave Version as it is (latest)
3. Choose Raw Data Report View and Save Report
4. Go to Homepage and Copy the newly created report
5. Edit the new report and open flow node filter
What is the problem?
- Notice that Process definition is missing
- Open Process Definition Popover and notice that process model is missing
What would be the expected behavior:
- Process models are there also after copying a report
- I do not have to reselect the process model in the dropdown to make it work
The cause is that the report list endpoint doesn't return the xml any more since we did
OPT-2391 to copy however the FE takes the payload of the list endpoint to update a newly created report.
We should add a dedicated `copy` endpoint by report id to perform the copy operation.