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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to withdraw a reviewer approval from a pull request when there are further commits?

I need code for adaptavist script runner... 

To withdraw approval from a specific user when there is update in pull request. 

1 answer

Hi @sandeep549 ,

Inside ScriptRunner for Bitbucket we have an Event Listener called "Withdraw approvals when a pull request changed".

That event listener will withdraw all approvals for the pull request? Is that OK? Or do you need something more custom?

Kind regards,

Robert Giddings,

ScriptRunner for Bitbucket

@Robert Giddings _Adaptavist_ 

-> Lets say we have 3 reviewer in pull request A, B ,C

-> When there is further update in pull request, I only want to withdraw approval from reviewer "A"

It will be really helpful if you can give me complete code for this script, I'm beginner to this.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

454 views 6 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you