Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,871
Community Members
 
Community Events
176
Community Groups

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

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

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.  

@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

Atlassian Community Events