I'm trying to figure out if there's a way to add a comment to a commit in Bitbucket directly from the commit message. Or some other way to add comments to a Bitbucket commit without having to go and do it manually from on the actual commit page.
I know about Smart Commits, but that only seems to allow me to add comments to JIRA issues, not to Bitbucket commits.
Hello @Wayne Bradbury,
Regarding creating a comment with the commit message, I don't think anything like you described is available.
Does REST API endpoint count as a way to create a comment without having to go and do it manually from on the actual commit page?
Cheers,
Daniil
I guess that does technically satisfy my ask.
Is there a way I can trigger a script on a commit or something?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, you need something to trigger it when a commit is pushed, otherwise Bitbucket won't know about its existence and REST API call would fail.
Unfortunately, there's nothing like git post-push hook on the client side, so there're two options I can think of:
Hope this helps.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.