youngmon/atlassian-qna huggingface dataset:
How to create a pipeline in bit-bucket to deploy in test and production environments of beanstalk ?
Asked by msk134:

Hi,

I want to create a pipeline in bitbucket to deploy(.zip file) in Elastic Beanstalk. I have two environments (Test and production), so when a developer push to the test branch the pipeline will make a zip file and deploy it in the test environment, and when we push code to the production branch bitbucket pipeline will deploy it in the production branch.

Can we configure like this in a bitbucket pipeline?

Thanks,

Sampath.


Answers:
author: Justin Thomas
body: Hi [@msk134](/t5/user/viewprofilepage/user-id/3074316) ,

Have you explored using the [AWS Elastic Beanstalk deploy pipe](https://bitbucket.org/product/features/pipelines/integrations?p=atlassian/aws-elasticbeanstalk-deploy)? As [@Oleksandr Kyrdan](/t5/user/viewprofilepage/user-id/2885705) suggested you can use [deployment variables](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-monitor-deployments) to define \`*ENVIRONMENT_NAME* \` to be either *test* or *production*environment.

Cheers,

Justin Thomas

comments: author: msk134
body: I saw that AWS Elastic Beanstalk deploy pipeline configuration. It is a good understanding to run pipelines. As you said define deployment variables in the pipeline, Can I run both environments in a single pipeline configuration(test and production)?

Thanks,

Sampath.


author: Oleksandr Kyrdan
body: Hi [@msk134](/t5/user/viewprofilepage/user-id/3074316) ,

Thank you for your question!

It's a good case for the [Bitbucket Pipelines Deployments](https://support.atlassian.com/bitbucket-cloud/docs/deployments/).


Tags: aws

bitbucket-pipelines

cloud
Unable to sync LDAP users
Asked by Ayashakanta Mishra:

Directory ID: 10584065  
Name: LDAP server  
Active: true  
Type: CONNECTOR  
Created date: 2021-01-19 14:45:16.06  
Updated date: 2021-01-19 15:44:20.305  
Allowed operations: \[UPDATE_GROUP_ATTRIBUTE, UPDATE_USER_ATTRIBUTE\]  
Implementation class: com.atlassian.crowd.directory.OpenLDAP  
Encryption type: sha  
Attributes:  
autoAddGroups:  
com.atlassian.crowd.directory.sync.issynchronising: false  
com.atlassian.crowd.directory.sync.lastdurationms: 32  
com.atlassian.crowd.directory.sync.laststartsynctime: 1611051260273  
crowd.sync.group.membership.after.successful.user.auth.enabled: only_when_first_created  
crowd.sync.incremental.enabled: true  
directory.cache.synchronise.interval: 3600  
ldap.basedn: dc=son-ldap,dc=com  
ldap.connection.timeout: 10000  
ldap.external.id: entryUUID  
ldap.filter.expiredUsers: false  
ldap.group.description: description  
ldap.group.dn:  
ldap.group.filter: (objectclass=groupOfUniqueNames)  
ldap.group.name: cn  
ldap.group.objectclass: groupOfUniqueNames  
ldap.group.usernames: uniqueMember  
ldap.local.groups: false  
ldap.nestedgroups.disabled: true  
ldap.pagedresults: false  
ldap.pagedresults.size: 1000  
ldap.password:   
ldap.pool.timeout: 0  
ldap.propogate.changes: false  
ldap.read.timeout: 120000  
ldap.referral: false  
ldap.relaxed.dn.standardisation: true  
ldap.roles.disabled: true  
ldap.search.timelimit: 60000  
ldap.secure: false  
ldap.url: ldap://11.162.....389  
ldap.user.displayname: displayName  
ldap.user.dn:  
ldap.user.email: mail  
ldap.user.encryption: sha  
ldap.user.filter: (objectclass=inetorgperson)  
ldap.user.firstname: givenName  
ldap.user.group: memberOf  
ldap.user.lastname: sn  
ldap.user.objectclass: inetorgperson  
ldap.user.password: userPassword  
ldap.user.username: cn  
ldap.user.username.rdn: cn  
ldap.userdn: cn=admin,dc=son-ldap,dc=com  
ldap.usermembership.use: false  
ldap.usermembership.use.for.groups: false  
localUserStatusEnabled: false

![bitbucket_LDAP_error.GIF](/t5/image/serverpage/image-id/126203iDD1983725268BC57/image-size/large?v=v2&px=999 "bitbucket_LDAP_error.GIF")


Answers:
author: Metin Savignano
body: Looks like ldap.user.group: memberOf might not be the correct setting for your LDAP.


Tags: bamboo

bitbucket-server

server
how to transfer repository from one workspace to another workspace
Asked by Shiva Jaini:

I have more than 150 repositories in my premium account of bit bucket. I have to migrate from one workspace to other workspace.  

Transfer option is working fine. But it is allowing only one repository to transfer.

<br />

How to transfer all the repositories at once?  

Is there any API which could help in transferring the repositories. or any navigation flow in bitbucket.org?

Can someone help on this?


Answers:
author: Theodora Boudale
body: Hi Shiva and welcome to the community!

I'm afraid that we don't have an option for bulk transfer of repos at the moment, either in the UI or via API. There is a feature request in our issue tracker to add this functionality:

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

Looking for other options online, I found that another user created a script to bulk-import repos:

* <https://github.com/swichers/php-bitbucket-bulk-import>

As per the README file there, this script does an import, and not a transfer. In this case, repos still remain in the original workspace, but a copy of them is imported in the destination workspace. Keep in mind though that with an import no metadata like Pull requests or comments is transferred.

I haven't used this myself, but if you would like to try it, I would suggest creating a test workspace (that you can later delete) and use the script to import to the test workspace, to see if this is something that works for you.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Does Bitbucket pull request do everything crucible did?
Asked by Jay Gowdy:

It appears that Crucible is EOL. Last time we considered using Bitbucket pull requests instead of Crucible we found that the feature in Crucible that flagged unread code and comments and required them all to be read before the review could be approved had no equivalent in Bitbucket, i.e., the reviewer could just blindly approve without being told or reminded that they had missed anything. Does the latest Bitbucket pull request code review give this ability, or do we need to ignore the transition to the cloud and lose all support in order to keep our procedures?


Answers:
author: dlaser
body: Currently Bitbucket does not have the feature that Crucible has of showing the % visibility of progress on a pull request. Bitbucket Server has a Suggestion open for this feature: [BSERV-7978 Visibility of reviewers' progress on a pull request](https://jira.atlassian.com/browse/BSERV-7978). I was not able to find a Suggestion for Bitbucket Cloud.  

Also, the current versions of Fisheye and Crucible are in [Basic Maintenance Mode](https://confluence.atlassian.com/fisheye/fisheye-and-crucible-are-in-basic-maintenance-mode-987143949.html). This just means that no new features will be added to Fisheye and Crucible. If you enjoy how Crucible is working for you and your organization please continue to use it. It is still supported.


Tags: fisheye-crucible

jira-software

jira-software-server

migration-customer-care

server
Selenium on bitbucket, chrome driver starts a session and removes it immediately
Asked by Sharada Bethapudi:

When trying to set up Selenium on bitbucket, chrome driver starts a session and removes it immediatly.

Here is my bitbucket pipeline :

- step: \&ui-tests  
name: UI Tests  
caches:  
- dotnetcore  
services:  
- chrome  
script:  
- export TestUrl=$TestUrl  
- export TestAccountUsername=$TestAccountUsername  
- export TestAccountPassword=$TestAccountPassword  
- dotnet restore uitests/UITests.sln  
- dotnet build uitests/UITests.sln --no-restore  
- dotnet test uitests/UITests.sln --no-build --no-restore  

<br />

-

services:  
chrome:  
image: selenium/standalone-chrome:latest  
ports:  
- "4444:4444"  
volumes:  
- "/dev/shm:/dev/shm"

Is there anything I am setting wrong, In Local all the tests are fine.


Answers:
author: Theodora Boudale
body: Hi Sharada,

I believe the issue here may be related to the paths in the volumes:

```
- "/dev/shm:/dev/shm"
```

Volumes need to be mounted inside $BITBUCKET_CLONE_DIR, we don't support mounting volumes outside that directory and also with a source outside $BITBUCKET_CLONE_DIR. This is for security reasons, as Pipelines use a shared infrastructure.

May I ask why you need to mount /dev/shm in your build?

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines
Set deployment variables from environment variable
Asked by Maxim Shmalovsky:

It is possible to define at etch deployment same variable with different values that defined at environment variable

For example:

environment variables:

USER_DEV- dev

USER_PROD - prod

deployment

* Dev
  * USER = USER_DEV
* Prod
  * USER = USER_PROD

So the pipeline echo will prints for deployment

* Dev $USER is dev
* PROD $USER is prod


Answers:
author: Theodora Boudale
body: Hi Maxim,

I assume that USER_DEV and USER_PROD are either workspace or repository variables?

I'm afraid that it is not possible to use the value of workspace or repository variables when you define deployment variables.

You can do so during the build if you include a command in the yml file, but it is not possible to reference another variable when you define them in the *Repository settings \> Deployments*.

May I ask why that would be useful, instead of specifying the actual value in the deployment variables? I believe we have a feature request for this which was closed due to inactivity, but I can reopen and add an explanation on why this would be a useful feature.

Kind regards,  
Theodora

comments: author: Maxim Shmalovsky
body: if i define them as workspace variables then other users of bitbucket can use them as variables and their combination.  
then when user ID or HOST changed i can update only at workspace and not at every repository pipeline.


author: Theodora Boudale
body: Hi Maxim,

Thank you for your reply.

I went ahead and reopened the feature request, I also added your use case and feedback for our product managers to take into account.

You can find it here:

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

I would suggest to add your vote there (by selecting the **Vote for this issue** link). You are more than welcome to leave any additional feedback, and you can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy here <https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html> and any updates are posted in the feature request.

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

Kind regards,  
Theodora


author: Matt Sowers
body: Year late, but this is also something we'd like. We use common variables across our multiple repos, but they're only common within the environment. Being able to set Access Keys/Secrets in the Workspace, and then call them in the deployment means we only would need to update a password or key in the Workspace and have it automatically flow down.

Thanks,

--Matt


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
set email address per space
Asked by Eric Roetenberg:

Hello

Is it possible to specify within a confluence page that if there is a change there should be a notification to a certain email address (central)

and where can I do this as admin of the space


Answers:
author: Kris Dewachter
body: Hi [@Eric Roetenberg](/t5/user/viewprofilepage/user-id/2099628)

If this is the email address of an actual person, he/she can set himself/herself as a watcher of the space. See this documentation <https://support.atlassian.com/confluence-cloud/docs/watch-pages-spaces-and-blogs/>

If you have Confluence Premium, you could user [Confluence Automation](https://support.atlassian.com/confluence-cloud/docs/what-is-confluence-automation/)

BR,

Kris

comments: author: Eric Roetenberg
body: Hi thanks for your reply, it is not user specific but an email address of a department or a group, I know it can be done with automation but we have the standard version

greetings Eric


author: Kris Dewachter
body: Hi [@Eric Roetenberg](/t5/user/viewprofilepage/user-id/2099628) ,

If you can provide this email address with a Confluence account, as a space admin, you can add it as a watcher of a space or page. See this documentation - [Manage watchers](https://support.atlassian.com/confluence-cloud/docs/manage-watchers/)

Best regards,

Kris


Tags: cloud

confluence-cloud
Error when creating new page using page tree creator template
Asked by IT Jira:

Hello,

we see an error in our logs when creating new pages using Page Tree Creator Pro templates:

ERROR \[http-nio-8090-exec-18 url: /rest/treecreator/1.0/completed/f9d7fd36-8683-4692-8c90-03cd5908dc93; user: XXX\] \[common.error.jersey.ThrowableExceptionMapper\] toResponse Uncaught exception thrown by REST service: service matching filter=\[(objectClass=com.atlassian.confluence.setup.settings.GlobalSettingsManager)\] unavailable  
-- referer: \| url: /rest/treecreator/1.0/completed/f9d7fd36-8683-4692-8c90-03cd5908dc93 \| traceId: 4c193a83e2ae2c09 \| userName: XXX  
org.eclipse.gemini.blueprint.service.ServiceUnavailableException: service matching filter=\[(objectClass=com.atlassian.confluence.setup.settings.GlobalSettingsManager)\] unavailable

The creation pop up doesn't disappear until you close it, after some minutes an error appears on the right:

![image.png](/t5/image/serverpage/image-id/242180iD09A1D8759ACAFA0/image-size/large?v=v2&px=999 "image.png")

When you close the window, the desired page is created, even though the error appears.

We already restarted Confluence and cleared the plguin cache.

Has anyone seen this error before? I?ve also reached out to the Page Tree Creator support, as I am not sure what the cause of the problem is.


Answers:
author: Raphael Vogt
body: Hi Tobias  

Unfortunately, it looks like this is a bug in our App Page Tree Creator, because you're not the only customer affected by this. We are currently investigating why exactly this error occurs and will keep you updated in the ticket you opened at our Service Desk.

Best Regards,  
Raphael


Tags: confluence-server

server
I want to invite external users but we use SSO to access Atlassian, is there support for this?
Asked by paul mc carthy:

<https://support.atlassian.com/confluence-cloud/docs/invite-guests-for-external-collaboration/>

There is no option to invite users.


Answers:
author: Brant Schroeder
body: [@paul mc carthy](/t5/user/viewprofilepage/user-id/3607836) Looking at the KB that you attached it looks at this time like they have to be part of your organization.


Tags: cloud

confluence-cloud
DECISION OVERVIEW
Asked by Nabila Benayad:

Hello, My team and I are new on Confluence.  
We encounter a problem on the decisions overview. We cannot see the summary of the decisions on the page then we cannot apply any filter. Can you help me ?


Answers:
author: Nabila Benayad
body: Hello I still have the issue but I give up Confluence for my solution thank you.


author: Andy Gladstone
body: [@Nabila Benayad](/t5/user/viewprofilepage/user-id/5155680) welcome to the Atlassian Community.

Can you please let me know whether this issue is still outstanding or whether you resolved it? If it is outstanding, can you provide a bit more detail on how you are using the Decision Tracker? Screenshots showing where the decisions are documented and how the summary appears would be helpful.


Tags: confluence-server

decision

server
Unable to Export Confluence page using Microsoft Edge
Asked by Maeneth:

Hi,

The user rakshit@tpconnects.com is Unable to Export Confluence page using Microsoft Edge.

When tryng to export to Work - the page does not load.

When export to PDF it got an error meesage as attached.

Kindly help troubleshoot the issue.


Answers:
author: Harald Seyr
body: Hi [@Maeneth](/t5/user/viewprofilepage/user-id/5065202)

maybe this is a regression of an already known and fixed issue, please have a look at [Export pdf (atlassian.com)](https://community.atlassian.com/t5/Confluence-questions/Export-pdf/qaq-p/2197661). This contains two workarounds, maybe one of them helps in your case.

Regards,

Harald

comments: author: Maeneth
body: [@Harald Seyr](/t5/user/viewprofilepage/user-id/4441043)

Thanks..Shall look into it.


author: Alex Koxaras _Relational_
body: Hi [@Maeneth](/t5/user/viewprofilepage/user-id/5065202)

Whenever the user tries to export the page he gets the same message?

Does this problem occurs to any other user?

Has this user try to use the export from a different browser?

Is he trying to use the export functionality from a mobile device?

Is he a guest?

comments: author: Maeneth
body: Whenever the user tries to export the page he gets the same message? Yes

Does this problem occurs to any other user? Yes, even to me as an Administrator.

Has this user try to use the export from a different browser? On the same browser

Is he trying to use the export functionality from a mobile device? No

Is he a guest? His a Trusted user


author: Alex Koxaras _Relational_
body: Can you try to export the page on a different browser?

In addition, can you confirm that all of you have the export permission, if you are trying that is to export the whole space, and not just a page?


author: Maeneth
body: Hi Alex,

I tried with exporting the page with different browser and it works for me as an Admin.

However, user rakshit@tpconnects.com still unable to export even export permission is granted.


author: Alex Koxaras _Relational_
body: Can that user also try with a different browser AND from an incognito window?


author: Alex Koxaras _Relational_
body: If you were able to export it, then the problem most likely lies with that specific user and not with confluence itself.


author: Maeneth
body: ![MicrosoftTeams-image (3).png](https://community.atlassian.com/t5/image/serverpage/image-id/242157iFE61D2FAFD938146/image-size/large?v=v2&px=999 "MicrosoftTeams-image (3).png")


Tags: cloud

confluence-cloud
Can not enable one user in Confluence using Jira as Active Directory
Asked by Samvtb11:

Hi,

I have a problem with enable user in Confluence/

1. My confluence using Jira Software as active directory server with Readonly mode

2. One user A is disabled in Confluence, and but user A is enable and can login Jira Software normally but can not login Confluence. I try to enable user A in Confluence but getting the error " User A could not enabled. The directory may be read-only.

Pls give me solution in this case.

Thank you very much


Answers:
author: Radek Dost?l
body: As you're not using user sync (I assume, otherwise the user would be re-activated during the sync), you need to log in with a service account (must be in a **different** user directory than the one you are modifying), edit the directory, untick "Copy user attributes on login" and save it. Then you will be able to enable the user, and then tick the copy checkbox back in.

The checkbox has a description under it stating something along the lines of "if you copy user attributes then you no longer can modify users in Confluence" which is usually the case why you cannot manually modify them.

comments: author: Samvtb11
body: Thanks for your response. I don't understand "you need to log in with a service account" , what does you mean? I login Confluence and Jira Software (directory server) but not see "Copy user attributes on login". Could you pls decribe me more clear detail for this step.

Thank you so much,

SAM


author: Radek Dost?l
body: I mean that you need to be logged in under an account residing in a **different** user directory than the one you want to modify - since Confluence won't allow you to modify the same directory you are logged in from currently, for safety reasons.

The page in Confluence is called User Directories:

# /plugins/servlet/embedded-crowd/directories/list

Described more in <https://confluence.atlassian.com/doc/configuring-user-directories-229838212.html>


Tags: confluence-server

server
Cannot curl to create a new child page on Confluence
Asked by Puvish Kungsapattarakul:

solved - thanks everyone for your answer


Answers:
author: Johnson Wei
body: [@Puvish Kungsapattarakul](/t5/user/viewprofilepage/user-id/5155459) I'm not able to get any results when I'm using basic authorization as it's deprecated: [deprecation-notice-basic-auth](https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth/) Is it possible for you to use an API token instead? Authentication line would change to: -H "Authorization: Bearer $TOKEN" or you can use:   

curl -u email@example.com:\<api_token\> -X POST ...


author: Fabio Racobaldo _Herzum_
body: Hi [@Puvish Kungsapattarakul](/t5/user/viewprofilepage/user-id/5155459) and welcome,

please take a look to the following article <https://stackoverflow.com/questions/30313548/curl-the-system-cannot-find-the-file-specified>

It could help you.

Fabio


Tags: cloud

confluence-cloud
why currently max. file size only 20 MB ?
Asked by Lawrance Huang:

![123.JPG](/t5/image/serverpage/image-id/242135iBB3278A0A0686824/image-size/large?v=v2&px=999 "123.JPG")


Answers:
author: Jerryton Surya
body: Hi Lawrance,   

I hope this article solve your question   
<https://confluence.atlassian.com/doc/configuring-attachment-size-150040.html>

comments: author: Lawrance Huang
body: Thanks. Jerryton

one more question, the first I need to be a admin role. right ?

and then follow this to change configuration. is that right ?

<https://confluence.atlassian.com/doc/configuring-attachment-size-150040.html>


author: Nic Brough -Adaptavist-
body: Yes, you need to be an admin to change the upload limit.


author: Ollie Guan
body: Hi [@Lawrance Huang](/t5/user/viewprofilepage/user-id/4712573) ,

pls refer to this post.

<https://community.atlassian.com/t5/Confluence-questions/To-upload-large-file-size/qaq-p/1474625>
Page Properties report displays wrong data under headings
Asked by Gigi Curley:

When creating a page properties report, I can create the report, however, the data under the columns is showing the wrong items.

For example, under the "Actions" Column, it should so that task, but it's showing the "status" macro. and in the "Status" column, it's showing the data from the due date column.

All the data is coming up under the wrong columns.

![Screenshot 2023-02-24 at 3.14.06 pm.png](/t5/image/serverpage/image-id/242122i1C5B3CFB89153B72/image-size/large?v=v2&px=999 "Screenshot 2023-02-24 at 3.14.06 pm.png")


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Gigi Curley](/t5/user/viewprofilepage/user-id/4318628)

This is rather strange and I don't have encounter this problem with the page properties macro. Can you please also share a couple of pages with your page properties?

comments: author: Gigi Curley
body: Hi Alex,

<br />

I actually went and redid the whole page again and it seems to be coming up correctly now. I'm not sure what went wrong originally.

It was frustrating having to redo the entire page.


author: jpng
body: I am facing the same problem. Is anyone able to suggest a solution


Tags: cloud

confluence-cloud