Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
58 views

So far I got this def _parse_bitbucket_url(value: str) -> Dict[str, str]: parsed_url = urlparse(value) if not parsed_url.scheme or "bitbucket.org" not in parsed_url.netloc: ...
Tomas Lopez's user avatar
1 vote
0 answers
53 views

Ok so I've been trying to create a library to use in multiple projects and I'm having a hard time with the limited tools at my disposal. All the projects are being hosted in Bitbucket, including the ...
Rapseo's user avatar
  • 11
-1 votes
1 answer
43 views

My company uses bitbucket data center but we are using our own issue tracker. We would like to convert text like bug#14 and feature#534 which appears in commit messages into links which leads to our ...
Victor's user avatar
  • 636
0 votes
0 answers
71 views

I'm trying to retrieve user details from Bitbucket cloud users API from my Forge app without success. This is my code snippet: const approverDetails = await api.asApp().requestBitbucket( ...
sgargel's user avatar
  • 1,066
0 votes
1 answer
532 views

I posted this in the Bitbucket Cloud forums too. I see this article on how to update variables, but none of them refer to workspace variables. Is there a way to create/update Bitbucket Cloud workspace ...
Chris F's user avatar
  • 17.2k
1 vote
1 answer
655 views

I'm an engineering manager with the following thesis about pull requests in my team: 1. Long PRs take longer to review (disproportionate to their length in lines of code) 2. Long PRs receive less ...
Tom's user avatar
  • 1,293
0 votes
1 answer
45 views

I wanted to output shared path viewable on windows to bitbucket, however unable to get the expected output Code snippet in groovy and out put as follow: event_msg="\\\\blr-archieve\\Sfolder\\bins\...
R_SS's user avatar
  • 355
0 votes
1 answer
55 views

Github seems to provide details of the git clones that have been run on a repository in it's Graphs -> traffic tabs. Is this information also available from either the github api or gh cli tools? I'...
Maikol's user avatar
  • 357
0 votes
0 answers
308 views

As the title states, is it possible to programmatically generate an HTTP access token on Bitbucket server from an existing access token, e.g. via their REST API? From reading their documentation, it ...
Phoenix's user avatar
  • 408
1 vote
1 answer
1k views

I am using the below REST-API to get the latest pull request from bitbucket {link}/rest/api/1.0/projects/{my project}/repos/{my repo}/pull-requests?state=all&limit=1&size=1 It is working ...
user24147763's user avatar
0 votes
0 answers
124 views

I am trying to enable YAAC (Yet another commit checker) using Bitbucket api programatically (Python 3.7), but somehow the payload looks not good and getting status code as 400, with an error expected ...
Kaushik's user avatar
  • 111
0 votes
0 answers
58 views

Is there some way to get Bitbucket formatted file content instead raw text using Bitbucket API? I'm using cURL in PHP.
Vasil Gorgiev's user avatar
1 vote
1 answer
441 views

I need to interact programmatically with a BitBucket Server to create and manage repositories. To create a repository, a corresponding REST API method is available. The created repositories should ...
cello's user avatar
  • 5,506
0 votes
1 answer
98 views

For a repo in bitbucket in the left side menu option we can see source, commit, branch, pull request etc. Like wise there is shortcuts option available in my company domain. I want to know the ...
user1388605's user avatar
0 votes
0 answers
423 views

I am trying to look for specific text in a repo but how can I achieve this with bitbucket server using the bitbucket version 1 API? I am a bit limited with the advanced search feature on the bitbucket ...
Uche24's user avatar
  • 23
0 votes
0 answers
178 views

I am trying to get all commits of a user in Bitbucket. I couldn't find any documentation related to it. I was wondering if anybody else had the same use case. I am looking for something like this: ...
arn-arn's user avatar
  • 1,397
0 votes
1 answer
926 views

I'm trying to create a pull request on Bitbucket Server via Rest API, following this documentation. No matter what I try, I get a (400) Bad Request. error. I found this answer and used the body text ...
jeremywat's user avatar
  • 1,136
1 vote
1 answer
334 views

I have a Bitbucket Server and I'm trying to figure out how to react to PR comments via the REST API. I'm referencing this documentation. The example shows: curl --request PUT \ --url 'http://{...
jeremywat's user avatar
  • 1,136
0 votes
0 answers
75 views

I am currently working on a task that involves identifying who has mentioned me in their repositories on Bit-bucket. I understand that Bit-bucket sends out notification emails for such mentions. ...
Arshmeet Singh's user avatar
1 vote
0 answers
52 views

I am using Springboot service which connects to Bitbucket via REST API to commit file . This works perfectly when I use the token of a user which has a email associated with it. I have a usecase when ...
Pavithran Rajendran's user avatar
1 vote
1 answer
863 views

The Bitbucket Server API documentation outlines an endpoint to submit a PUT request and edit a file within a specified repository. However, the Bitbucket Cloud API does not seem to have this same ...
Niall Hodgen's user avatar
0 votes
1 answer
113 views

I am having some issues assigning reviewers to a BitBucket pull request. I can create the pull request just fine, but only one of the users is being assigned as a reviewer. Only the last "user&...
Matt 's user avatar
1 vote
1 answer
1k views

I am trying to write some scripts which will create files(json) in Bitbucket Server and occasionally update these files. Later on I would like to be able to query the changes made to the files and ...
Robbie Nathan's user avatar
15 votes
4 answers
12k views

While opening bitbucket I got a message on snackbar saying "SSH Host Key Rotation" what does it really means? Do I need to do something? SSH Host Key Rotation IMPORTANT NOTICE: Bitbucket ...
Mukesh Maurya's user avatar
0 votes
0 answers
442 views

Im trying to fetch a raw VERSION file from a repository for a CD solution. I created a Repository Access Token with Repository: Read permission, as documented here Using cURL, curl https://api....
BUCKSHOT's user avatar
1 vote
1 answer
2k views

This is a follow up question to a previous question. I'm trying to write a program in Javascript that receives the contents of a yml file encoded as a string and adds that yml file to a remote ...
B. Allred's user avatar
  • 459
1 vote
1 answer
833 views

Below you can find my code to get all pipelines for a repository in BitBucket Cloud: def get_pipelines(token, repo): """Return list of pipelines for repo""" ...
DenCowboy's user avatar
  • 15.4k
0 votes
0 answers
206 views

I am trying to create a new project using Bitbucket API to this endpoint: http://api.bitbucket.org/2.0/workspaces/{My_Workspace}/projects by sending a POST request. For headers I am passing: ...
ceyForWork's user avatar
1 vote
1 answer
1k views

I am trying to get a YAML file, located on our Bitbucket, in YAML format, using an API call in a Python script. The only way I have been able to get any data so far, is by using .json() at the end of ...
Haverknol's user avatar
0 votes
2 answers
1k views

I tried the following api calls: https://api.bitbucket.org/2.0/workspaces/<workspace_name>/members followed by self.href for each member. I can only see their UUID and display name not their ...
sleepy_dev's user avatar
0 votes
1 answer
733 views

I would like to create a new pipeline using API for SAST scan. Is this possible using the API. Any pointers to the relevant BB API docs or any sample code?
nnay84's user avatar
  • 177
0 votes
1 answer
853 views

Id like to enable/disable the "Require issue keys in commit messages" setting on repositories via the rest API. This can be done on the site by going to Repository Settings > Links. I ...
Kelly's user avatar
  • 79
2 votes
1 answer
798 views

The documentation of the Bitbucket Cloud API specifies how to add an SSH key to a specific user. However, the Bitbucket website also allows to add several SSH "Access keys" (a.k.a. ...
Paolo Brandoli's user avatar
5 votes
1 answer
1k views

Bitbucket scheduled pipelines UI does not have an option for us to enter a cron expression and we can only run the pipeline hourly, daily or weekly. There is an option to create schedule via API call ...
jasraj bedi's user avatar
3 votes
0 answers
643 views

I want to add a few strings to the existing event payload that is delivered to a webhook. It doesn't matter if i can send them in the payload body or as Custom HTTP Headers. I've checked the ...
Gestalt's user avatar
  • 187
0 votes
1 answer
322 views

In bitbucket, i have created oauth consumer & implemented authentication flow (Authorization Code Grant) https://developer.atlassian.com/cloud/bitbucket/rest/intro/#1--authorization-code-grant--4-...
karthi keyan's user avatar
0 votes
0 answers
219 views

I am trying to use a curl command which I've found out somewhere in stack overflow community. I have edited it according to my needs (adding my creds and all) the same command if I try to use as a ...
Maheedhar Talluri's user avatar
0 votes
1 answer
1k views

I am trying to use the bitbucket server rest API to fetch file content(.json file) from a bitbucket repository in a Java spring boot Application but the response is not as expected. Content in the ...
Udhav Mohata's user avatar
0 votes
1 answer
2k views

So I have this repo: https://bitbucket.com/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/ this URL outputs alot of information about the repository I then tried to create a Python script ...
The Mungax's user avatar
0 votes
1 answer
984 views

Instead of defining a Bitbucket Cloud workspace variable that can be used by all the repos in the workspace, someone defined it in each repo, but not in all of them, of the workspace. Now I want to ...
Chris F's user avatar
  • 17.2k
1 vote
1 answer
542 views

I’m hoping someone can help me be able to post inline comments on PR’s. In the UI version of Bitbucket, you can post a comment on a specific line, for example, line 6 (see screenshot): However, when ...
Renee Petit's user avatar
0 votes
1 answer
1k views

I am trying to create a branch restriction using below curl command but it is throwing a bad request. How can I create a working API call? This executed on Jenkins using sh and enclosed in double ...
Efox's user avatar
  • 701
0 votes
2 answers
2k views

We are trying to improve our merge process by protecting specific branches from merge of any unapproved pull request. The developer create a pull request and he/she can´t merge it until it is at least ...
Ahmed's user avatar
  • 160
0 votes
0 answers
151 views

I am trying to create a BitBucket plugin to get the repository structure and print it out in a structured format. The plugin creates a button on the repo page and when clicked it connects with a ...
MillieJA's user avatar
6 votes
1 answer
2k views

Using the Bitbucket REST API, I’m looking for a way to get all pull requests that are assigned to a user. So far this endpoint: https://api.bitbucket.org/2.0/repositories/{workspace}/{repository_name}/...
Renee Petit's user avatar
0 votes
1 answer
709 views

We've suddenly started seeing time-outs on our API-based PR creation requests in Bitbucket. I'm able to create a PR in the UI, but any attempt to do so via API results in a 504 Gateway Time-out. We're ...
Mike's user avatar
  • 115
1 vote
1 answer
2k views

I created a new project and added a repository to it in my workspace. Further, I added a bitbucket-pipelines.yml to build a pipeline. I am able to trigger the pipeline manually however while trying to ...
Ranopriyo Neogy's user avatar
1 vote
1 answer
129 views

I am using contentService.streamDirectory to get a callback containing all directories/files within a BitBucket project, then I am using a for loop and "callback.getFiles().get(i).toString()"...
MillieJA's user avatar
3 votes
1 answer
3k views

How can I search a file with a name on bitbucket via rest API? (v1.0) It seems there is an endpoint useful to get the file but there is no one to search and find the file(s) with name.
erdem's user avatar
  • 113
2 votes
3 answers
3k views

I went through the complete API documentation of The Bitbucket Cloud Rest API: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-group-repositories But I did not found ...
Chetan Tete's user avatar

1
2 3 4 5
9