With the exception of maybe the version string checks, no extra JQL should be required. releasedocmaker already does the JQL and fills in the fields of python data structure. lint mode is really just going through that precomputed data structure and reporting problems.
We don't want it part of the maven build; this mode needs to be part of the create-release script instead, because that's when it matters. So errors should not be markdown format, but instead printed to the screen like the current release note warning message. lint mode should exit with failure on errors so that it can fail the create-release script.
- - version string checks are things like having two numeric versions assigned. This isn't a fatal error, but definitely needs for the release manager to investigate. Anyway, IIRC, the query does get all the versions assigned for that issue, even beyond the one requested.