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".
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.