Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get pull request reviewer name from GitHub to show up in a Jira issue?

Jack Etzion
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 2, 2022

How do I get pull request reviewer name from GitHub to show up in a Jira issue either in the comment section or in a custom field?

1 answer

1 vote
Stefan Salzl
Community Champion
August 10, 2022

Hi @Jack Etzion and welcome to the community,

Assuming your Jira is connected to your github and an issue is "linked" to a branch:

As far as my knowledge reaches I guess this can be done with firing a webhook from github when the pullrequest is created with a reviewer (see link below):
https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#pull_request

and catching this webhook with an automation rule in Jira, filtering the reviewer(s) out of the payload and adding writing them Into the issue. The tricky part is to get the issue key (as far as eg. a branch is mapped to a UserStory the branch should have the key in its name)

Hope that was helpful.

Best
Stefan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events