I'm in the process of moving source from 1 repo to a new one and we would like to have an email set when certain source files have been modified within a limited number of paths. I have successfully used the Post Hook email ScriptRunner feature to do this. IE
What we would really like, however, is to apply these same conditions on PR's that get merged to our develop branch. I have tried numerous combinations of "conditions" with various events including the "PullRequestMergedEvent" and this event never seems to fire. I should mention that all PR's are created and merged within BitBucket.
I initially tried something simple like:
When none of these worked, I even tried something more basic:
We also tried changing the merge strategy just to see if that might be the issue but that didn't seem to matter either. For the record, we're using the "Merge commit
--no-ff" merge strategy as our default. Ultimately, it seems that any attempt to send an email due to PR events isn't working.
Am I doing something wrong?
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
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