I'm trying to figure out how to transition an issue when a developer merges a pull request that contains a Jira-linked commit. I'm trying to automate a specific part of our workflow to eliminate the need for developers to manually transition a story.
I basically need a conditional trigger on a workflow transition so I can say something like "when a pull request is merged to master that contains a related commit, transition this story".
I know that we could probably achieve this with smart commits, but that requires engineers to remember to add the proper hashtag to their commit messages for the merge branch. I want to eliminate as much human interaction as possible, so smart commits don't fit the bill.
Is there a way to script this somehow? I'm still a bit new to Jira administration, so I'm familiar with the possibilities.
Thanks!