Forums

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

Automation from a ticket transitioned to merging the PR in Github

lila
Contributor
June 24, 2024

Hey there, we can easily use the trigger "Pull Request merge" to then automate the transition of a jira ticket to a specific status.
However, i cant seem to find a way to do the reverse: add an automation to merge the PR after a ticket is transitioned to a specific status. Any help would be greatly appreciated. 

1 answer

0 votes
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.
June 25, 2024

Hi @lila 

There is no automation rule action for that.  I believe you would need to use the Send Web Request action to call the REST API endpoint for the merge.

Here is a how-to article for using Send Web Request to call a REST API endpoint: 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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events