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