Change JIRA issue status automatically after pull request approved in bit bucket

Carlos Carvalho October 6, 2017

Hello,

 

Is it possible to change a JIRA issue status automatically after its pull request has been approved in BitBucket?

Ex:

Ticket-111 is in progress and the pull request related to this ticket has been approved in BitBucket. 

Instead of moving it manually to the next status, I'd like to know if is there any automation to do that.

 

I have checked triggers in JIRA Workflow, however there is no option for Pull Request Approved. 

 

 

Best

Carlos

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
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.
October 8, 2017

It is not an option in JIRA yet. However, latest version of Bitbucket server is coming with webhooks. You might be able to take advantage of it and push the story to another status by triggering a REST call from Bitbucket server on PR approval.

Haven't tried it yet but worth checking.

Sowmya Srinivasapura Devaraja September 19, 2018

Has anybody tried using REST calls for getting a trigger in Jira on Pull Request approval ?

Deleted user September 20, 2018

Hi @Sowmya Srinivasapura Devaraja and @Jobin Kuruvilla [Adaptavist],

Do you guys have any example of those Bitbucket REST calls?

 

Thanks
Carlos

Suggest an answer

Log in or Sign up to answer