It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a trigger for when a pull request has been approved?

Is there a trigger I can use for the workflow to transition issues when a pull request has been approved? There are triggers for open, reopen, PR created, declined, but no approved.

3 answers

1 accepted

Until Atlassian adds triggers for approvals, you can use webhooks. See for more details.

Make a transition call on the PR Approved event.

Can you detail how one would do this? I have the same issue and would like to use webhooks if that's possible, but I don't know how to get Jira to listen appropriately.

Like Ahsan likes this

You will need to use a valid JIRA REST API url to perform your operation. Check out for available REST end points  in JIRA

buy for expensive and make it yourself :)

Like # people like this

@Jobin Kuruvilla _Adaptavist_ 

could you please share some example code for this ?

0 votes

This is correct: there are no triggers for Pull request approved.

The complete list of triggers is available in the documentation in the section Understanding triggers.

I can't find where to put in a request for a "Pull Request Approved" trigger.

@Peter Trangyou can submit a suggestion to the product team issue tracker:

I second this feature request.

I have added this feature request here:

Please vote/watch/comment.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you