Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Branch creation using Katalon tool using rest api

Rajesh Rapolu
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!
November 29, 2018

HI ,

I am using katalon tool to automate the branch creation with the rest api.

can i anyone let me know the body to be used to create a new branch with parent branch

Below is the api which works for me to get response of all repositories

https://api.bitbucket.org/2.0/repositories/*****/****/refs/branches

but i am not able to create branch using same API for branch creation.

below is the body and content type i am using

URI:https://api.bitbucket.org/2.0/repositories/*****/****/refs/branches

basic Auth

Content type : "Applicaiton/json"

Body : {
"name" : "KatalonAPItests",
}

 

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 3, 2018

Hi Rajesh,

For questions like this one I recommend you to go to our Developer Community. There's a bigger pool of people with these skills and you'll be more likely to find a response :) 

Hope that helps!

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events