Deduplicate the ticket_qa_check Redmine query function into the Tails pythonlib
_Originally created by @bertagaz on [#14871 (Redmine)](https://public-redmine-archive.tails.boum.org/code/issues/14871)_
We’re using python code in our Jenkins infra to query ticket state in
Redmine (at least
[here](https://git-tails.immerda.ch/puppet-tails/tree/files/jenkins/slaves/isobuilders/output_ISO_builds_and_tests_notifications)
and
[here](https://git-tails.immerda.ch/puppet-tails/tree/files/jenkins/slaves/isobuilders/decide_if_reproduce?h=feature/12633-lower-reproducible-builds-workload\)).
We’re already duplicating code, so it may be time to move this into our
pythonlib Git repo.
### Related issues
- **Related to** tails/tails#11355
- **Related to** tails/tails#13436
- **Related to** tails/sysadmin#12633
issue