Github user mattyb149 commented on the issue:
https://github.com/apache/nifi/pull/2431
Ugh, bad news. The Reporting Task name, although available in the UI, is
only set on the ReportingTask itself during initialize(), which is only called
the first time the ReportingTask is instantiated. This means if you change the
name of the ReportingTask and restart it, it is the original name that is
reported in your name attribute above. However if you restart NiFi it will pick
up the new name. That's not your fault, it's a bug; but I wonder if we should
bring this in before or after any fix for that part?
---