Forums

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

Update GitHub pull request when an issue is transitioned

Darren Phillips
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!
February 28, 2022

When a Jira issue is transitioned I'd like to add a label to a GitHub pull request.

It seems all the integration between Jira and GitHub is in the opposite direction. I can update a Jira issue when an action is performed on GitHub (e.g. PR merged) but I haven't found a way to do an outgoing request from Jira to GitHub.

It's probably possible to use a Jira automation to make a request to the GitHub API but I'm hoping there is a simpler way.

1 answer

1 accepted

0 votes
Answer accepted
Stefan Salzl
Community Champion
March 3, 2022

Hi @Darren Phillips ,

I´m afraid  your assumption is correct (at least as far as I know). The integration happens from  github to Jira but not the other way round (not out of the box). 

tbh: I´m not a proficient developer but I guess webhooks could cover some functionality here. There is a "send web request" action in automation (A4J). Please have a look at in automation if this might be able to do the job.

Hope this was helpful.

Best
Stefan

Darren Phillips
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!
March 3, 2022

Yeah, I think it could probably be done with send web request but I'm not sure I want to go down that rabbit hole. I'll probably pole instead with the GitHub Actions schedule event.

Stefan Salzl
Community Champion
March 3, 2022

Yep. Agree 😉👌

Suggest an answer

Log in or Sign up to answer