Link GitHub Pull Request to multiple Jira issues

Alex Christensen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 10, 2018

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.

3 answers

1 vote
Ben S March 16, 2021

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. 

Steven Turner December 1, 2022

Is there a way to suggest this feature?

Rathan Kumar July 19, 2023

I think there is a request here:

Let's vote on this to get some attention. it saves a lot of time if we get to migrate all the tickets

1 vote
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 17, 2018

Hi Alex,

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.



0 votes
Ignacia October 19, 2021

I'm also very interested in a solution for this.

In my case, I also have a trigger that "If a pull request is merged, the issue is transitioned to "Resolved" automatically, and we have succesfully linked all the Jira Issues to one Pull Request (all the Issues have the Pull Request number on their Development Section), but when the Pull request is merged, NONE of them transitions to Resolved :( We use GitHub.

Suggest an answer

Log in or Sign up to answer