Forums

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

Can we customize a server side hook (before merge from UI for Pull request)?

sowmya August 24, 2018

Hi,

I am looking for a hook that I can implement/customize to check before a Pull Request  created in a repository is Merged from UI after the approval ??

In the hook, I am looking for checking a Fix version field before pushing/merging the changes into the repository.

1. I am looking at if there is a way to customize a check in the web hook before accepting the code changes. (whether the version field matches particular string pattern)

or

2. If we can catch the event that is getting called as part of the Merge from UI, & call a script internally to make this check.

I would appreciate any suggestion in this direction.

Thanks

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 20, 2018

Hi!

Not sure if you still need help with this, but for this kind of questions you might have better luck in our Developer Community. You will also find more resources in our Developer help page.

Hope that helps!

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events