Is there a way to make a listener finish the author's unfinished review comments?

Michelle Geppert February 21, 2022

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.

1 answer

1 accepted

0 votes
Answer accepted
Robert Giddings [Adaptavist]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 5, 2022

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

Michelle Geppert June 13, 2022

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.  

Robert Giddings [Adaptavist]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 22, 2022

@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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events