The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

how to you find the name of the repository slug on a (private) bitbucket server

Navron Quixley
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!
April 14, 2016

This question is in reference to Atlassian Documentation: What is a Slug

how to you find the name of the repository slug on a (private) bitbucket server

I am current trying to write against bit bucket API and simple things like working out what the owner name is and repo slug should be is hard to find

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 14, 2016

Are you trying to find it from user interface? Or using Bitbucket APIs?

Slug is in the url on the browser. You can also see it when you click on the "Clone" option when you are in a repository.

Navron Quixley
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!
April 14, 2016

I am trying to find it from the User Interface, so I can use it with an API call
Looking at the clone text from the repository  I am using the tail end is /scm/sm/sandbox.git

I am assuming that scm/sm is the owner, and the repo slug is sandbox.git

 

Sorry for the basic questions, first time writing API calls to a Bitbucket server

 

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 14, 2016

yes. repo slug is sandbox. The format is:

<bitbucketURL>/<accountname>/<reponame>.git

TAGS
AUG Leaders

Atlassian Community Events