youngmon/atlassian-qna huggingface dataset:
Integration with self hosted SAST & DAST tools
Asked by Santanoo Bhattacharjee:

Can someone please guide me to find the documentation which talks about the integration of self-hosted SAST/DAST tools (like Fortify \& Web-inspect) with bitbucket pipelines?

Do we have any agents/runners to be installed \& configured on the VMs which runs these tools?


Answers:
author: Michael March
body: If you want to "open up" your network to Pipelines, here's the IP range from Atlassian:  

<https://ip-ranges.amazonaws.com/ip-ranges.json>  

That will make operating your SAST tools as easy as possible.

comments: author: Santanoo Bhattacharjee
body: so are the tools to be integrated with some available apis for bit-bucket pipeline OR are they to be converted to docker images \& then staged for run?

Is there any reference documentation for this? that would really help.

thank you Michael.


Tags: bitbucket-pipelines
How to pass command-line arg to docker build image invocation?
Asked by nathan lord:

How can we pass a command-line arg (e.g. --cap-add SYS_PTRACE) to the docker invocation when Bitbucket Pipelines launches a docker build environment?

<br />

It's necessary to resolve the exact issue here:  
<https://community.atlassian.com/t5/Bitbucket-Pipelines-questions/What-docker-version-is-Bitbucket-Pipelines-running/qaq-p/1227081>

I haven't been able to find any documentation or example anywhere that illustrates how to make this work.


Answers:
author: Michael March
body: Atlassian, still, is very restrictive on what options can be set when evoking the root Docker environment(s).


Tags: bitbucket-pipelines

cloud
I have created one work space in Bit Bucket and there is no option to delete the work space.
Asked by Neelakanta Reddy B:

I have created one work space in Bit Bucket and there is no option to delete the work space. could you please let me know the process.


Answers:
author: Michael March
body: This article explains how to delete Workspaces in BitBucket.  

<https://community.atlassian.com/t5/Bitbucket-questions/How-to-delete-a-workspace/qaq-p/1366774>


Tags: bitbucket-cloud

cloud
Bitbucker server install location question
Asked by dcode:

Hello,

<br />

I'm going to install Bitbucket Server but I don't have any experience using it. Our SQL Server is hosted in the cloud. From a performance standpoint, would it be better to install Bitbucket Server on a server located in our office or on our cloud server? The GIT clients (e.g. Visual Studio) will be running locally in the office.

<br />

I've noticed some of our other database applications that move a lot of data are slow when run locally so we have to run them off our server in the cloud. But applications that just run small queries do fine when run locally.

<br />

I don't know if we are more likely to have a network traffic bottleneck between Visual Studio and the Bitbucket server or between the Bitbucket server and the database.

<br />

Thanks.


Answers:
author: Jimmy Seddon
body: Hi [@dcode](/t5/user/viewprofilepage/user-id/4083087),

Welcome to the community!

This is a great question. I think this is largely going to come down to what your repository setup is going to look like? are you planning to use pull request for code reviews? How many users will be using the system? etc.

You might have network bottleneck issues but without knowing how large your instance is going to be it's really hard to say up front what issues you are going to have.

I hope that helps a bit.

-Jimmy


Tags: bitbucket-server

server
How do I delete an inaccessible repository?
Asked by Rabbit:

So, I'm the bitbucket admin for my org, and I botched an import for a repo from a team member's personal workspace to the org project. I was able to import the repo once he gave me admin access to the version in his workspace, but the earlier attempt now appears in the repo list, and says it's not available when I click on it. Thus, I am not able to delete it in the normal way, or through curl. Here's the request I am sending:

```
curl --location --request DELETE 'https://api.bitbucket.org/2.0/repositories/{workspace}/{bad_repo_slug}' \-
--header 'Authorization: Basic {key}'
```

I am getting a 403 error in response to this, indicating that it just can't hit the endpoint, and auth isn't the issue (no 2fa enabled anyway).

Is this a problem I can solve, or does this need to be handles on the atlassian side? I want to be able to rename the good repo to the name used by the bad one, but I can't do that as long as bitbucket thinks the name is taken.


Answers:
author: Theodora Boudale
body: Hello,

I could see in our system that the repo in question was stuck in 'Importing' mode with 0 data, so I went ahead and deleted it for you. When the import task fails and the repo is stuck in 'Importing' mode, then it can only be deleted from a member of Bitbucket Cloud support team.

If this ever occurs again, you can open a support ticket like you did via <https://support.atlassian.com/contact/#/>. It is also ok if you post your request here, if you feel comfortable sharing the repo URL publicly.

Please feel free to let me know if you have any questions!

Kind regards,  
Theodora

comments: author: Rabbit
body: Thanks! I appreciate it.


author: Michael March
body: There's something inconsistent on the Atlassian side for sure.

If you contact support, the should be able to free up that 'claim' on the project/repo name.

comments: author: Rabbit
body: Sent a support ticket, let's see if that helps!


author: Rabbit
body: Accepted the answer, coz "Contact Support" was the right call. Thanks!


Tags: bitbucket-cloud

cloud
The Atlassian Bitbucket AtlassianBitbucket service terminated with the following service-specific er
Asked by Anastasios Aktypis:

Hi

We have installed bitbucket but it doesnt work. We receive the following error:

The Atlassian Bitbucket AtlassianBitbucket service terminated with the following service-specific error:  
Incorrect function.

We have installed:

atlassian-bitbucket-6.10.0-x64

Git-2.28.0-64-bit

OpenJDK8U-jdk_x64_windows_hotspot_8u265b01

strawberry-perl-5.32.0.1-64bit

Can you help please?


Answers:
author: Anastasios Aktypis
body: * SpringMVC dispatcher \[springMvc\] could not be started


Tags: bitbucket-server

server
Git LFS PUT i/o Timeout on Bitbucket Behind Azure Application Gateway
Asked by Sandor Krisztian Andre:

I am unable to push large \>700MB files to Bitbucket which runs on a VM behind an azure app gateway.

git output:

LFS: Put <https://azure.hostname.com/bitbucket/rest/git-lfs/storage/SCOMP/esel-lfs-2/504a6fae6f785e190ec1e7dec840ef7cbebd75667113f859e14d83b6a1fb44b6>: read tcp 192.168.1.73:62994-\>13.69.135.128:443: i/o timeout

Bitbucket log:

2020-09-11 18:12:28,582 ERROR \[http-nio-7990-exec-626\] sandor-krisztian.andre@hostname.com @STUFF CLINETIP:62813,10.2.0.4 "PUT /rest/git-lfs/storage/SCOMP/esel-lfs-2/504a6fae6f785e190ec1e7dec840ef7cbebd75667113f859e14d83b6a1fb44b6 HTTP/1.1" c.a.b.i.s.g.lfs.http.LfsHttpScmUtils Un-mapped exception  
org.apache.catalina.connector.ClientAbortException: java.net.SocketTimeoutException


Answers:
author: Trevor Hood
body: Sorry I don't have a complete answer yet but I am facing a very similar problem with one user in particular. They are unable to push certain large files but others can push the same files on there systems. Have you discovered a work around for this yet?

comments: author: Sandor Krisztian Andre
body: Not, so far.


Tags: bitbucket-server

server
24/7 support available?
Asked by Lulu Sarnam:

Is there a 24/7 support offering for Bit Bucket in of the any pricing plans?

I checked both standard and premium pricing plans in Bit bucket pricing, but both shows support as 'Standard'.


Answers:
author: Gary
body: Hi [@Lulu Sarnam](/t5/user/viewprofilepage/user-id/4082741),

Currently, we only offer standard support for Bitbucket Cloud (including the premium license level) - listed under the Cloud deployment tab at [https://confluence.atlassian.com/support/atlassian-support-offerings-193299636.html.](https://confluence.atlassian.com/support/atlassian-support-offerings-193299636.html.?) We hope to expand the offerings in the future, but cannot currently share an eta at the moment.

Thank you,  
Gary

Gary Sackett

Bitbucket Cloud Support


Tags: bitbucket-cloud

cloud
Missing access keys
Asked by MaturiczIvan:

I have few repos with lot of access keys.

Just noticed, that some repos in Access keys settings are not listing all added access keys only few of them. Don't know when exactly this was changed, but I'm sure earlier in this year they was listing all keys.

The good news is that not listed keys are still working, I can pull the repos with them.

Bad news is, I can't revoke a key if it's not listed.

Another strange thing is, most of the keys have 'Never' in 'Last used' column, however I used them many times.

Where I'm missing Access keys from list, there are always only 10 keys listed.

Maybe a pagination is missing?


Answers:
author: Theodora Boudale
body: Hello,

I'm afraid that both behaviors you noticed (only 10 access keys being listed, and also the 'Last used' column not updating) are due to bugs:

* <https://jira.atlassian.com/browse/BCLOUD-20386>
* <https://jira.atlassian.com/browse/BCLOUD-19642>

If you would like to remove an access key that is not listed, a workaround I can suggest is to get all access keys in this repo via API:

* <https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/deploy-keys>

The output of the call will include the id of each key.

You can then use another API call to delete a key by specifying its id:

* <https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/deploy-keys/%7Bkey_id%7D>

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora


author: MaturiczIvan
body: ##removed


Tags: bitbucket-cloud

cloud
Problem using the Atlassian REST APIs
Asked by Mark Wiesenthal:

Hey,

I wanted to use the Confluence REST API (<https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space/#api-wiki-rest-api-space-get>) to get a list of all spaces. I have implemented the node script to fetch the API but I only get one space back in my JSON data.

Does anyone can help me with this problem?

Mark


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Mark Wiesenthal](/t5/user/viewprofilepage/user-id/5023427)
> Note, the returned list will only contain spaces that the current user has permission to view.

Do you have the proper permissions to view all spaces?

comments: author: Mark Wiesenthal
body: I have used the email adress of our organization admin and the token he has created.


Tags: cloud

confluence-cloud

jira
How can I tell where my data is stored in relation to GDPR regulations and data processing?
Asked by Daniel Middleditch:

I am really keen to use Confluence cloud for all of my IT staff to create internal documentation, but I am unable to find at the moment where the data is stored at rest as my requirements are for all of our company data to be stored in the UK or European data centres?

Thanks  

Dan


Answers:
author: Barnali Putatunda
body: Hi Daniel,

<br />

To view where your product data is hosted:

Go to admin.atlassian.com Select your organization if you have more than one.

Select Security \> Data residency.

This will open the data residency page for your organization. This page lists the products in your organization, the location of each product, and the AWS Region the location corresponds with. If a product is PINNED to a location, its in-scope data is held in place there.

But, remember that you cannot change the location with free plan.

You can learn more about it here: <https://support.atlassian.com/security-and-access-policies/docs/understand-data-residency/>

Regards,  
Barnali


author: Ste Wright
body: Hi [@Daniel Middleditch](/t5/user/viewprofilepage/user-id/4644781)

You can check this if you are an Organization Admin - via...

1. Go to <https://admin.atlassian.com/>
2. Select your Organization
3. Select *Security*from the top navigation bar
4. From the left-hand menu, select *Data Residency*

From here, you can view where your data is currently stored.

---

For the UK/Europe, currently you can select from...

* EU - Consists of AWS Frankfurt and Dublin regions
* Germany - Consists of AWS Frankfurt region

...if you on a paid plan (i.e Standard, Premium, or Enterprise)

---

Atlassian are expected to have a UK Data Center in future, see its current position on the Public Roadmap - [https://www.atlassian.com/wac/roadmap/cloud/data-residency-in-united-kingdom?search=uk\&p=2ed5cb79-4e](https://www.atlassian.com/wac/roadmap/cloud/data-residency-in-united-kingdom?search=uk&p=2ed5cb79-4e)

For more information on data residency, including in-scope data, see this help page: <https://support.atlassian.com/security-and-access-policies/docs/understand-data-residency/>

Ste


Tags: cloud

confluence-cloud
A user without confluence licence can add comment on confluence pages?
Asked by S?bastien PRIOR:

Hi,

I would like to allow users with a jira software license to comment some confluence pages.

How can I do this?  
Thank you in advance for your feedback!


Answers:
author: Ste Wright
body: Hi [@S?bastien PRIOR](/t5/user/viewprofilepage/user-id/3464511)

You can grant people a "guest licence" in Confluence. This feature is currently in beta - but you can see how to do it on this help page: <https://support.atlassian.com/confluence-cloud/docs/invite-guests-for-external-collaboration/>

You can then grant the "guest user" the comment permission - to see what a guest user can do, check out this help page: <https://support.atlassian.com/confluence-cloud/docs/what-can-guests-see-and-do-on-confluence/>

Ste


author: Alex Koxaras _Relational_
body: ?? [@S?bastien PRIOR](/t5/user/viewprofilepage/user-id/3464511)

You can give them a guest license. Read more here <https://support.atlassian.com/confluence-cloud/docs/invite-guests-for-external-collaboration/>


Tags: cloud

confluence-cloud
Problem confluence migration assistant
Asked by dmoraleda:

When I am in the migration assistant all checks are green but there is an alert in the button of the page saying 1 blocking error and I can not click on RUN.

Is there any idea how to know what is the blocking issue?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@dmoraleda](/t5/user/viewprofilepage/user-id/5116457) and welcome to the community,

* Perform a background re-index of your instance
* Re-run the migration assistant (and/or try to create a new migration)

The error should now be fixed, or at least visible.

Let me know if that helped!


author: Rob Horan
body: Can you access your logs? Maybe try performing the checks then immediately generate a support zip and have a look at the application log. You night get more information there.


Tags: cloud

confluence-cloud
I need a script to upload attachment to docupedia
Asked by Hagar Mohamed:

I need a python script in order to upload a file to docupedia page, how could I make that?


Answers:
author: Nic Brough -Adaptavist-
body: There's a doc on using the REST API to attach files to Confluence Server over at <https://confluence.atlassian.com/confkb/using-the-confluence-rest-api-to-upload-an-attachment-to-one-or-more-pages-1014274390.html>

It's not Python, you'll need to find Python code that can make REST calls, but that doc tells you what content you'll need to be sending.

comments: author: Hagar Mohamed
body: when I run this command,

**curl -u username:password -X POST -H "X-Atlassian-Token: nocheck" -F "file=file_name" <https://inside-docupedia.company_name.com/confluence/rest/api/content/page_id/child/attachment> \| jq -r '.results\[\].title'**

this error pops up to me

**parse error: Invalid numeric literal at line 1, column 10**


author: Nic Brough -Adaptavist-
body: That looks like a jq error - try removing the pipe to jq from the command to see what curl is actually getting.


author: Hagar Mohamed
body: it gets me this error

<br />

{"statusCode":403,"data":{"authorized":false,"valid":true,"allowedInReadOnlyMode":true,"errors":\[\],"successful":false},"message":"User not permitted to create attachments for content: ContentId{id=2686483136}","reason":"Forbidden"}


author: Nic Brough -Adaptavist-
body: Ok, so either you don't have permission to create attachments in the space, or your login is incorrect.


author: Hagar Mohamed
body: but when I use GET, it works fine


author: Alex Koxaras _Relational_
body: Hi [@Hagar Mohamed](/t5/user/viewprofilepage/user-id/5116534) and welcome,

Perhaps you are not on the right community asking the right questions..

Can you explain more the need you have in regards to Confluence? How confluence relates to docupedia? How have you integrated the two systems?

comments: author: Hagar Mohamed
body: docupedia is a part of confluence, our company ask confluence to make it for us,  
<https://inside-docupedia>."our company name".com/confluence/ this is the URL


author: Alex Koxaras _Relational_
body: Ah! It seems that you have installed confluence inside a domain, but I honestly do not know the answer to your question.


author: Hagar Mohamed
body: thank you, is there another place should I ask my question in?


Tags: confluence-server

server
Unable to see the image & attachment in global templates after adding them into the template
Asked by Naman Jain:

Hi Community,

I am Unable to see the image \& attachment in global templates in confluence after adding them into the template

let me know if there is any workaround for the same

Thankyou in advance!


Answers:
author: Patrick Vanhoof
body: As far as I know you can not add attachments to templates. You have to add them somewhere else and then include them via a link or image from other location in Confluence.


author: Fabio Racobaldo _Herzum_
body: Hi [@Naman Jain](/t5/user/viewprofilepage/user-id/4900668) ,

please could you share a screenshot of your template and of a page created using it?

Fabio


Tags: confluence-server

server
How should I manage member's tasks performance?
Asked by m-ogasawara:

Introduction {#toc-hId--497469733}
----------------------------------

Hello.

I feel it's a problem that I have not measured member's tasks performance quantitatively and not managed their progress or current issues.

So, I'm planning to use Confluence.

My questions {#toc-hId-1990043100}
----------------------------------

But, I have no idea how to do above.  
So, could you give me your idea?  

My requirements are as follows:

- Recording Today's tasks

- Measuring time spent on the each tasks

- Recording the progress or issues on the each tasks

- Managing routine tasks (It's a pain to register with Jira every time)

- Analyzing member's performance quantitatively with graphs etc.

- being as efficient as possible.

Thank you.


Answers:
author: Ravi Sagar _Sparxsys_
body: Hi [@m-ogasawara](/t5/user/viewprofilepage/user-id/4969003)

Well you can definitely use Confluence to create some project pages and individual team member specific pages to collaborate with them and keep track of high level objectives/goals but when it comes to KPIs then you will have to rely on Jira where details are kept.

You can use Confluence along with Jira and create simple reports using Jira macros.

Take a look at some of the templates in Confluence to get started quickly.

Regards,

Ravi


Tags: cloud

confluence-cloud
Children display macro in customer Knowledge Base
Asked by Jarrett Prosser:

I have several clients who need access to some common content through their Service Management's Knowledge Base, which also having pages that are unique to them.

To allow this, I'm using two different confluence spaces (call them Common and Customer). In the home page for Customer, I have a Children Display macro which targets a page in Common. Both spaces are linked to the Service Management project.

When I view the Knowledge base as a customer, I get the following error in the Children display macro:

*Unable to render {children}. We can't show you this information because you don't have access to the content.*

However, as a customer, I am able to actually search and view the target page through the Knowledge Base. Is there some restriction to referencing a different space using the Children Display macro?


Answers:
author: Ste Wright
body: Hi [@Jarrett Prosser](/t5/user/viewprofilepage/user-id/4107573)

Usually, this error appears because the user does not have access to the other Space - they need at least view access to the page in "Common"

Can I confirm that the customers have access to both the parent page in "Customer", and the child page in "Common", separately?

Ste

comments: author: Jarrett Prosser
body: Yep, that's correct. Both the Common and Customer spaces are linked to the service management project, and as a customer I can search for and successfully view the target page in Common.


author: Ste Wright
body: Hi [@Jarrett Prosser](/t5/user/viewprofilepage/user-id/4107573)

I tested this, and it worked the same for me as it did for you.

I couldn't find a way to make this work using the Knowledge Base and standard customer permissions. It might be a bug, or it might be a restriction that you cannot refer across multiple Spaces in this manner.

There's a few options you could explore:

* Check if migrating customer accounts to Atlassian Accounts would help - check out how to do this on [this article](https://community.atlassian.com/t5/Jira-Service-Management-articles/How-can-I-make-my-users-and-customers-see-Confluence-pages/ba-p/869672)
* Report this as a bug to Atlassian - you can do this here: <https://jira.atlassian.com/secure/Dashboard.jspa>

Ste


author: Jarrett Prosser
body: Thanks Stephen, I appreciate you reproducing it. I'll go ahead and report it as a bug. Cheers!


author: Jarrett Prosser
body: Here's the related bug: <https://jira.atlassian.com/browse/JSDCLOUD-12147>


Tags: cloud

confluence-cloud

jira-service-management
Using Confluence as a context sensitive help system for my web app
Asked by Rich:

Hi,

I am thinking of using Confluence as a context sensitive help system for my web app. Is anyone doing this? I assume I would have 1 user per customer that I can control access etc and provide links inside my app to the various pages in Confluence.

Is this a good idea?

Thanks in advance.

Rich


Answers:
author: Laura Parraga -K15t-
body: Hi Rich,

Linking to Confluence pages could certainly work as long as the space or page is accessible to the user or is set to anonymous access.

However, I can imagine that it's pretty unexpected for your users to land on a Confluence page from your web app. It's certainly uncommon.

If I may recommend a different approach: I'm part of a team that develops [Scroll Viewport](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=cloud&tab=overview), an app for Confluence that allows you to create a help center out of your Confluence content. A help article within this help center looks like this: [https://goodsoftware.k15t.dev/cleverapp/defining-roles.](https://goodsoftware.k15t.dev/cleverapp/defining-roles) As you can see, it's a much cleaner and focused representation of your Confluence content. The help center also allows your users to easily navigate or search for other help content.

Not only can you link to a Viewport page from your app but you could also call the page directly in your web app via an iframe. For this purpose, we offer an even more simplified, [in-app help optimized view](https://goodsoftware.k15t.dev/cleverapp/defining-roles?inAppHelp=true) of the article. It could look like this within your app:

![iframe in-app help.png](https://community.atlassian.com/t5/image/serverpage/image-id/233511i3684484186B3E287/image-size/large?v=v2&px=999 "iframe in-app help.png")

If you're interested, you can test the app for free for 30 days from the marketplace. If you have any questions, let me know! You can also reach out via help@k15t.com.

Good Luck!

Laura


Tags: cloud

confluence-cloud