Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Jira Automation: Any way to create a pull request in GitHub when a Jira issue transitions?

I'm currently working on an automation project whose goal is - automatically creating pull requests in GitHub when a Jira issue status transitions.

For example, say my Jira project ABCD has a story ticket ABCD-1234. Someone changes its status from "in-progress" to "qa ready". At that point, I want the Jira automation to create a pull request from feature/ABCD-1234 branch to qa branch in GitHub.

We already have GitHub for Jira installed. But only slightly related option it provides in automation is "Create branch in GitHub". 

Screenshot 2023-10-16 at 11.58.40 AM.png

Any way to make this plugin or any other to create a pull request in GitHub?

Or better yet, any way to execute a shell script in the "then" part of the Jira automation.

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
Oct 16, 2023

Hi @Bikram Agarwal -- Welcome to the Atlassian Community!

You could try using the Send Web Request action to call the GitHub REST API function to create the PR.

For more information about calling a REST API function from a rule, please see this how-to article: https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events