Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 it possible to enforce a PR to always have a link to a JIRA ticket?

I don't want PRs without linked Jira tickets because it's impossible to find what the change is related.

I can't seem to find a straight answer in the documentation, or through Google searches.

Can anyone please help?

2 answers

0 votes

Hi Carlos,

I can't think of any way how this would currently be possible. As a premium user, you can enforce merge checks, so a PR cannot be merged unless certain requirements (eg a green build and approval) are met. An attached Jira-Ticket is currently not an option for that, but might be a good idea.

You can suggest new features for Bitbucket Cloud here.

Max

Thanks, Max.

This is an option in other competitor products, and since there is already a JIRA integration with Bitbucket, I would assume this should be a standard feature! :-)

0 votes
Mikael Sandberg Community Leader Jan 24, 2020

Hi @Carlos K,

Welcome to the Atlassian Community.

It is possible to force a commit to have a reference to a Jira issue, but you need an app for it. I have looked at Smart Commits for Bitbucket and Better Commit Policy for this, and I know there are other apps in the Marketplace that can do this too.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

504 views 6 4
Read article

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