Missed Team ’24? Catch up on announcements here.

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

How to get list of commits from Pull request in dry-run phase

Kaushik Veluru
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 11, 2019

I am writing a Merge Check hook to go through list of commits in a PR and parse the JIRA tickets in the commit messages and verify some data in JIRA. In dry-run phase, I am not able pullRequestMergeHookRequest.getRefChanges() always returns 0. So, how do I achieve this? 

I am using PullRequestMergeHookRequest because I want' this to be triggered when Merge button is clicked. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events