For pull requests that I author, I would like to make replies to comments get finished when a new patch is posted. Is there a way to make a listener do that?
It would cut down on the number of emails people get and make them more likely to pay attention to the update email when it is sent.
Hi @Michelle Geppert ,
Please can you provide a more detailed example use case and I will then be able to see if it is possible to do with a ScriptRunner Custom Listener, as documented here: https://docs.adaptavist.com/sr4bib/latest/features/listeners/custom-listeners
Kind regards,
Robert Giddings,
Product Manager, ScriptRunner for Bitbucket
As the commit author, I reply to people's comments and I put "done" or "does this work?" and when I comment I start a review. Then I push the changes and I click finish the review so my comments get emailed around when the changes are available. Is there a way to automatically post those comments when I push the changes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Michelle Geppert Thank you for your reply.
I'm not sure how to do this. But, as mentioned above, you'd probably want to create something like a Custom Listener.
However, I'm not sure what event you'd need that Listener to listen to.
Then, in the body of the Listener you'd need access to the Pull Request you wish to automatically add the comments to, via the Bitbucket Java API and use that API to automatically add the comments.
But having said all that, I don't recommend the above as a development workflow and think it might be best to stick to manually reviewing comments and manually responding to them.
Kind regards,
Robert Giddings
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.