Getting code_quality to work

I have tried following the steps in: and

I have a job now that is named code_quality.
It produces the required json artifact:

But the merge request does not have a trace from the file.

And afaik, the required items is there. This is in a merge request though and not ran in master branch. Is it required for comparison towards the master branch and I need to run it there as well?

And, yes you need the task to run in the master branch for a reference to compare against. Can maybe update the documentaiton on this.