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

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

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.

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

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

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

 

Thanks
Carlos

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,084 views 4 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you