I'm relatively new to development tools like Bitbucket and GitHub and I'm not finding any solid answers in any documentation for this.
In one of my workflows in Jira, I have a trigger configured so that if a pull request is merged, the issue is transitioned to "Resolved" automatically. This is working great for our development team who is using GitHub.
That said - is it possible to link a single GitHub pull request to multiple Jira issues and execute that workflow trigger for all linked Jira issues? I believe you can do this via smart commits, but it would be more user-friendly for our users if all they had to do was include the issue key for each issue in the title or commit message.
EDIT: I should clarify - the developers are already including the multiple issue keys by copying/pasting the URLs to the issues in Jira in the commit message. Only the first issue key listed is transitioned successfully.
I have searched for a couple days and have not found a way to do this. The only way I could personally find would be to specify a custom issue key format for BitBucket to look for per the Using custom Jira issue keys with BitBucket Server article.
It does not state that you cannot add multiple keys so you may want to test on a dev instance. I'd be interested to know the results.
Has there been any official update to this?
@Alex Christensen I am also interested in linking a GitHub PR to multiple Jira Issues. Multiple smart commits have been made on a feature branch with the respective Jira issue key, and I would like a single PR for the branch to link to all of the Jira issues.
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