Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Not able to do a PULL REQUEST

Edited

Hi team,

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.

Intention:
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?

Thanks

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 20, 2023

Hi Gopi,

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:

  1. What are the exact steps that these team members follow? (detailed steps, like what page they are on, what option they click each step of the way, etc)
  2. What kind of error do they get that prevents them from opening the pull request? A screenshot would be helpful (please make sure that any private data in the screenshot is blurred, prior to sharing)

You could also ask one of the affected team members to post a reply here with this info.

Kind regards,
Theodora

Hi Theodora,

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. 
Working.png


Problem:
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."

failure.png

What could be the issue with this?

Thanks

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 21, 2023

Hi Gopi,

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:

https://jira.atlassian.com/browse/BCLOUD-22516

Workaround:

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?

  1. Open Developer tools on their browser
  2. After they open Developer tools, click the Commit button to reproduce the error
  3. Then, select the Network tab and look for any requests with 4xx or 5xx error
  4. Then select each of these requests and click the Response on the right panel

Could you please let me know what is the Response for each request with 4xx or 5xx error?

Kind regards,
Theodora

Hi Theodora,

At the moment, I asked them to fork and do a pull request. And that approach is working.

I can share more details for investigation.

Thanks

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 22, 2023

Hi Gopi,

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.

Kind regards,
Theodora

Like Sabine Mayer likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events