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

Uncheck checkbox for pull request branch deletion on merge option

Ulta Tools Admin November 23, 2021

We recently migrated to 7.6.10 LTS version and found that by default "branch deletion on merge" checkbox is checked . Currently we don't need this option as checked. I know there are tickets opened for this request. For workaround we are trying to resolve thro custom script listener code. If some one has done changes ,Can you pls share groovy code for this.

1 answer

0 votes
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.
December 21, 2021

Hi @Ulta Tools Admin ,

The ScriptRunner for Bitbucket has an example regarding the restriction of the public access setting here: https://docs.adaptavist.com/sr4bib/latest/features/script-fragments/web-resource#id-.WebResourcev6.27.0-Restrictpublicaccesspermission

It might be possible to amend that example to handle the "branch deletion on merge" checkbox instead?

Please let me know, if this helps in any way?

Kind regards,

Robert Giddings,

Product Manager, ScriptRunner for Bitbucket

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.6.10
TAGS
AUG Leaders

Atlassian Community Events