You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
One of my team members is not able to do a Pull request.
In our practice, we have a user group and add team members with read access.
When members want to do code changes, by default they can't commit and should check the create a pull request option and a Pull request should be created.
This approach was working and no issues till now.
I recently observed that the new team members were given Read access to the repo, but they were not able to create a pull request.
Can someone help me understand what could be the problem?
Thank you for reaching out.
If a user has read-only access to a repo, then they need to first create a fork of the repo, make changes in the fork, and then raise a PR from the fork to the parent repo.
I would need some additional details so I can better help you:
You could also ask one of the affected team members to post a reply here with this info.
Thanks for your response.
Working scenario for all members:
Members will make a change to file in a repo and select Create a pull request for this change and commit changes. Then reviewer will review and merge the changes accordingly.
Note: Members got Read access for that specific repo by adding them to the group at repo level permission. Only selected reviewers got write access.
Recently, a new team member joined, we added them to the same group and they got read access.
When they tried to commit changes, it threw an error saying " We had trouble creating your fork."
What could be the issue with this?
Thank you for the details.
This looks like it may be a bug. I see a bug report for that error message that was fixed in March 2023, but there might be a regression:
Could you ask this team member to manually create a fork for the repo, make changes in the fork, and then create a pull request?
While viewing the Source page of the repo on Bitbucket website, if the user selects the 3 dots next to the Clone button, they should see the option Fork this repository.
Details for investigation:
I would also like to ask if you could provide some more details to understand what may be causing this.
When your team member has this Commit changes dialog open, can they do the following?
Could you please let me know what is the Response for each request with 4xx or 5xx error?
Thank you for the update, it's good to hear that the workaround works for your team member.
I went ahead and reopened the public bug report I shared earlier. Please feel free to share additional details when you have some time and I will include them in the bug report.