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.
Let’s dive in.
When viewing a pull request, you can add or remove attachments inside the attachment filmstrip. No need to return to the edit view.
At the moment, it is not possible to add an attachment when creating a pull request. You can vote for and watch this ticket for updates: https://jira.atlassian.com/browse/BCLOUD-22604
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.
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.
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.
Give pull request attachments a spin and let us know what you think in the comment below.
Tyler T
Developer
Atlassian
Austin, TX
89 accepted answers
13 comments