How to assign issue to Github Pull Request Reviewer (or assignee)

Jesse Maxwell June 15, 2022

Similar issues have been asked in the past but I'm not seeing anything that references the tooling around Development that Atlassian has recently released.

Goal: auto-assign a Jira ticket to the developer who is reviewing the Pull Request in Github. 

Background:

The "Development" panel on the sidebar of each ticket has insight into who authored the PR and who reviewed it. However, I'm not seeing a way to access that info via automations.

Is there a way to (easily) auto-assign a ticket to the person who is reviewing the Pull Request?

3 answers

1 vote
Dhiren Notani_Exalate_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2022

Hi @Jesse Maxwell 

This is Dhiren from Exalate.

Exalate, provides a fully bi-directional synchronization between Jira and GitHub (among other ITSM systems) that is fully customizable. You can synchronize GitHub issues as tickets/issues in Jira and vice-a-versa. It is easy to set up and Exalate uses a scripting engine which is based on Groovy scripts where you can control what data you want to share and even you can independently handle the incoming information. You can achieve complex use-cases with ease. 

It's possible to assign the issue to a developer who is working on it (from the development team) via scripting in Exalate.

If you would like to see a customized demo of the product in action, feel free to book a slot with us. 

Thanks
Dhiren

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 18, 2022

Hi @Dhiren Notani_Exalate_ 

first of all: I really love exalate.

But refering to the original post from @Jesse Maxwell :

Is exalate really capable of covering the specified requirement? I know exalate syncs issues/information between different source systems (like github issues to jira issues and vice versa). Can exalate identify a github pull request as an issue itself? 

Best
Stefan

Rachel Casali November 21, 2022

Hi @Dhiren Notani_Exalate_ - 

Can you please provide more information on how this would be setup with Exalate and Jira Cloud?

Rachel

1 vote
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 16, 2022

Hi @Jesse Maxwell ,

as the documentation points it out it seems to me that this is not possible out of the box.

One guess:
Haven‘t tried that before so can‘t confirm or provide a solution yet:

Guess that could be done with a webrequest within an automation rule.

see following link to github api:

https://docs.github.com/en/rest/pulls/review-requests

 

Keep in mind that you will the  have to match the issue github user against your jira users to find out the jira user‘s accountID which is needed to set the assignee field.

Hope this was helpful.

Best
Stefan

Jesse Maxwell July 20, 2022

Thank you. I could see this working.

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 20, 2022

Hej @Jesse Maxwell 

awesome. Give it a shot and let us know if it‘s working and in case yes please consider to accept the answer.

Best
Stefan

Hinesh Mandora February 28, 2023

@Jesse Maxwell did you get this to work?

Like Stefan Salzl likes this
Jesse Maxwell February 28, 2023

I have not tried it. It'd take a few hours to work all this out. Probably pretty awkward to do only via automations and not have a middleware of some sort.

0 votes
Diana_Architect_ZigiWave
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 18, 2022

@Jesse Maxwell hi there. That's a very interesting use case. You can achieve this, especially if by "developer that reviews the pull request"  you mean "assignee". A tool like ZigiOps can help you. It had advanced field mapping capabilities that allow you to customize it to fit your current use case -  auto-assign a ticket to someone who is reviewing pull requests. Feel free to explore it and book a demo to see how it can exactly handle your case.

Regards, Diana (ZigiWave)

Suggest an answer

Log in or Sign up to answer