Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Control on Jira issues before merging a pull request in BitBucket Edited

Hello,

Is it possible to put a control on Jira issues (status) before allowing a merge on a pull request in BitBucket?

 

Thank you in advance for your help!

2 answers

0 votes

What exactly are you trying to do?

Do you want to check the status of each issue referenced via the commit message of the commit that are to be merged with the pull request? Like "only allow merging if all issues are in DONE status"?

It is a bit different. We have a model in which the branch is created on the parent issue. Then via SubTasks we contribute to this branch, Once the work on the parent branch is complete, we create a pull request. But I'd like to make sure that all SubTasks are Closed before accepting the pull request.

Hi Aron,

I am looking for some thing similar to what you said. I want to check the status on each of the JIRA issue that is part of a pull request. Currently I click on each JIRA issue to go to that issue and check the status. is there a config setting to display the status of that JIRA issue along with the ID?

Thanks

Sri

@Aron Gombas _Midori_ hi,

This is exactly what I'm waiting for.

With Commit Policy app you can verify the commits in the pull request against a policy. The policy can include a condition that checks if the mentioned issue is in the "Done" status.

This screenshot shows the result of a policy check where each commit needs to mention an issue, which is not your case, but the user experience would be like this:

rejected-pull-request.png

Suggest an answer

Log in or Sign up to answer
TAGS

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