Not able to create a Pull request

Prachinnath_soparkar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 7, 2023

Hi, 

I am using Visual studio code to create new branch from original branch. Then  make the changes to new branch and push the changes. 

Then create a pull request with source as my new branch and destination as original branch. But I am not able to see the new branch in the drop down for source. 

Normally the steps would have been

1) Create New branch from original branch

2) Publish the new branch

3) Make the changes to new branch.

4) Push the changes to the branch.

5) Create Push request.

I missed the 2nd step and now not able to get the new branch for PR. I can see the branch in bitbucket. 

3 answers

0 votes
Edward Radcliffe March 30, 2023

@Prachinnath_soparkar were you able to resolve this? I've taken the steps suggested by @Patrik S but am still having this issue.

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 16, 2023

Hello @Prachinnath_soparkar ,

Welcome to the community!

From the description you shared, I assume you are using the Jira and Bitbucket (Atlassian Labs) VSCode extension. If this is the case, and given the fact that the branch is showing in Bitbucket UI, this might indicate your local copy of the repository is not up to date with the latest changes in the remote repo.

In order to get your local repository updated, could you please try using the Fetch option on VSCode? 

Screenshot 2023-03-16 at 11.41.40 AM.png

The Fetch will download all the new remote-tracking branches and tags, including the new branch you have created. Once the fetch is completed you can confirm if the branch you are looking for is now showing when creating the Pull Request.

Thank you, @Prachinnath_soparkar !

Patrik S

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 16, 2023

Hi @Prachinnath_soparkar  and welcome,

please verify that you have write permission on the repo or that there are no branch permissions that are preventing you to do that.

Hope this helps,

Fabio

Suggest an answer

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

Atlassian Community Events