I am looking for a way to find which commit is a Merge Commit in a list of commits of a particular PR
I'm afraid the API endpoint doesn't have a field that separates the merged commit from the others.
Right now, I've gone ahead and created a feature request to add a field that will distinguish that here. - https://jira.atlassian.com/browse/BCLOUD-21185
You can upvote and watch it so that you'll be notified of updates from our product team.
Please do note that we don't have an exact ETA for the feature request as all new features will be implemented according to our policy here.
May I ask if all your merged commit's messages have the format below?
"message" : "Merged in some_branch (pull request #123) ......"
If yes, maybe you can parse the "message" field with the format above?
Hey everyone, over the past year, we've added several new features to how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your tea...
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