The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Robert Giddings _Adaptavist_
Community Champion
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

DEPLOYMENT TYPE
SERVER
VERSION
7.6.10
TAGS
AUG Leaders

Atlassian Community Events