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

Add file attachments to pull requests in Bitbucket Cloud

During code review, static image files might not be adequate when a developer wants to demo their changes. Starting now, teams can attach any type of file to a pull request. No need to worry about the file size either. For example, “before and after” screen recordings can be uploaded and viewed directly in a pull request.

With this change, Bitbucket Cloud has become more integrated with the Atlassian ecosystem. Does your team also collaborate on Jira or Confluence? The Atlassian Media Picker saves your recent attachments across all three products. It also has integrations with GIPHY, Dropbox, and Google Drive.

Let’s dive in.

Add attachments to a new pull request

Click Browse to upload next to the Attachments field to open the Media Viewer.

bitbucket-blog-create-pull-request-view.png

If you have uploaded attachments before you will see them in Recent uploads area. To upload a new attachment, select a file on your local device or open one of the integrations on the navigation menu.

bitbucket-blog-create-pull-request-view-media-picker-open.png

After uploading some attachments, create the pull request.

bitbucket-blog-pull-request-view-with-attachment.png

Updating attachments on an existing pull request

When viewing a pull request, you can add or remove attachments inside the attachment filmstrip. No need to return to the edit view.

bitbucket-blog-edit-attachment-on-pull-request.png

What’s next?

From the very beginning, we were confident this feature would add value to code reviews. Beyond that, we realized it could unleash some powerful workflows.

Post attachments from build tools

A public API for pull request attachments is on the way. Right now, internal teams at Atlassian are using this feature to post visual diffs from their build tools. The same could be done with logs in text files. The possibilities are endless.

Additional context for attachments

Pull request attachments by themselves are useful, but greater flexibility and context is ideal. Your attachments will soon have information like the uploader, file metadata, and an editable description in a modal sidebar.

Start attaching today!

Give pull request attachments a spin and let us know what you think in the comment below.

2 comments

This is a great feature indeed. Helps keep track of many documentations, inferences within the PR.

 

When can we expect a public API for POST?

Like Tyler T likes this
Tyler T Atlassian Team Nov 02, 2020

@maddy302 glad you find the feature useful! We have the public API project roadmapped for early next year.

Comment

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,154 views 0 7
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