Bad UX for the changelogs script when using the issue number

You need to use shenanigans like \#40724 to avoid the shell interpreting the number as a comment.