Hi,
Your best option here is scripting.
The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.
You may also find this guide helpful.
Regarding issue comments, I’m not sure I remember it like you do. I thought it was only in GitHub that we commented individual issues. But even in GitHub we no longer do that because with the APIs available to us, successive analyses of a give PR made the whole thing increasingly messy.
HTH,
Ann