youngmon/atlassian-qna huggingface dataset:
Not able to login after moving Bitbucket Ec2 instance from one account to another
Asked by megha:

Hello all,

We are using EC2 instance to host BB application and I migrated it from one AWS account to another and made some configuration in bitbucket.properties file and database instance configuration file. pg_dba.conf .After that the application loaded but when I am trying to login I am unable to login with my AD credentials.


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: You can use the [lockout recovery](https://confluence.atlassian.com/bitbucketserver/lockout-recovery-process-776640158.html) procedure to get in and see what's going on.


Tags: bitbucket-cloud

cloud
Not able to clean up the repository due to repository size increased more then 2 GB
Asked by Bhaskar Dabhi:

By mistake our developer pushed changes which were not required and size increased more then 2 GB.

We are doing the cleanup and removing those changes from Git history but we are not able to push as size is already more then 2 GB. Please look into this. It is urgent


Answers:
author: Bhaskar Dabhi
body: Hi Ana,

Can you do this for us? One of our repository has crossed 2 GB limit. This time we didn't push anything still size got increased suddenly [@Ana Retamal](/t5/user/viewprofilepage/user-id/1067288) can you please do this on priority?

comments: author: Ana Retamal
body: Hi [@Bhaskar Dabhi](/t5/user/viewprofilepage/user-id/4125086),

I've checked your Bitbucket Cloud account again but I haven't been able to find any repo exceeding the 2 GB. Could you let us know the name of the repo and username of the owner, so I can have a look?

Cheers,

Ana


author: Ana Retamal
body: Hi [@Bhaskar Dabhi](/t5/user/viewprofilepage/user-id/4125086), welcome to the Community!

I've checked your Bitbucket Cloud account and I haven't found any repository exceeding the 2GB.

Keep in mind that to continue using the repository you'll need to undo the last commit that brought the repository over limit; we won't be able to do anything on our end if the size of the repository is bigger than 2 GB. Undoing the last commit will bring the size below the 2 GB limit and remove the push restriction, allowing you to perform maintenance on the repository. If after you follow this step the remote is still showing 2 GB then we'll be able to run a manual garbage collection to make the size of the remote matches the size of your local. The instructions can be found at [Reduce repository size](https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/).

If you have already followed these instructions, or if you're having any difficulties, please let us know so we can continue helping you. Remember to tell us also the name of the repo so we can find it.

Best regards,

Ana


Tags: bitbucket-cloud

cloud
The pipelines don't seem to function properly?
Asked by Roman:

Our pipelines do not seem to be working properly. We are performing a yarn install for our npm project which causes a network failure.

    info There appears to be trouble with your network connection. Retrying...

Does anyone else get this error?


Answers:
author: Roman
body: It now works again. Weird...


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

network

npm

yarn
how to create a pull request from terminal? getting '400 error'
Asked by John Pooley:

Currently using Bitbucket Server, I am trying to automate pull requests using a shell script. However I am getting the following error:

*Parameter conditions "fork" not met for actual request parameters: create={}*

<br />

Here is the curl command I am currently using:

```
curl -v https://MYHOST.MYSERVER/projects/AP/repos/$REPO/pullrequests?create \
-u $USERNAME:$PASSWORD \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"title": "$COMMIT_TEXT",
"description": "automated PR. $COMMIT_TEXT",
"fork_policy": "no_forks",
"source": {
"branch": {
"name": "$NEW_BRANCH"
}
"repository":{
"full_name":"$REPO"
}
},
"destination": {
"branch": {
"name": "develop"
}
}
, "close_source_branch": false
}'
```


Answers:
author: Maciej Adamczak
body: Hi [@John Pooley](/t5/user/viewprofilepage/user-id/4116630) if that question is related to Bitbucket Server please take a look at REST API docs for creating the pull request:

<https://docs.atlassian.com/bitbucket-server/rest/7.6.0/bitbucket-rest.html#idp293>

Thanks,  
Maciej Adamczak

comments: author: John Pooley
body: hi thank you. I believe this has gotten me somewhat further, I am now get this error:

> XSRF Security Token Missing


Tags: bitbucket-server

server
How to pass Maven generated Jar file into ZIP_FILE
Asked by Luis Ramirez Brice?o:

Hi Everyone,

I'm new to CI/CD and I created a pipeline in bitbucket to push the built Maven application to an AWS S3 bucket.

The issue I need assistance resolving is constantly having to manually update the "ZIP_FILE" file path to the jar file that gets generated with a unique version number.

```
ZIP_FILE: '/opt/atlassian/pipelines/agent/build/target/application-0.1.0-SNAPSHOT.jar'
```

File "bitbucket-pipeline.yml"

```
image: maven:3.6.1

pipelines:
?branches:
???master:
?????- step:
???????name: "PRODUCTION pipeline"
???????caches:
?????????- maven
???????deployment: production
???????script:
?????????- echo "PRODUCTION SCRIPT RUNNING."
???develop:
?????- step:
?????????name: "Staging pipeline"
?????????caches:
???????????- maven
?????????deployment: staging
?????????script:
???????????- echo "STAGING SCRIPT RUNNING."
???????????- mvn -B verify
???????????- mvn install
???????????- mvn clean package spring-boot:repackage
???????????- pipe: atlassian/aws-elasticbeanstalk-deploy:0.6.6
?????????????variables:
???????????????AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
???????????????AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
???????????????AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
???????????????APPLICATION_NAME: 'application'
???????????????ENVIRONMENT_NAME: 'application-staging'
???????????????ZIP_FILE: '/opt/atlassian/pipelines/agent/build/target/application-0.1.0-SNAPSHOT.jar' 

```

Any suggestions and questions are welcomed,

Thank you!


Answers:
author: Halyna Berezovska
body: [@Luis Ramirez Brice?o](/t5/user/viewprofilepage/user-id/3344773) wildcard is not supported in aws elasticbeanstalk, but you can find your file via bash line:

```
FILE=$(ls /opt/atlassian/pipelines/agent/build/target/*.jar | tail -n 1)
```

Regards, Galyna


Tags: bitbucket-pipelines
When a Confluence Cloud Site backup exceeds 200 MB, what should I do?
Asked by Acees Messe:

Hello,  
There has been a site on this domain since June 2020.  
There is no limit to how much data can be contained in a backup zip file (uncompressed XML files) and how many attachments can be contained.  
As I backed up my Confluence site[,](https://contadordeclicks.online/) it had 906MB, and the attachments folder had 800MB, but the import failed. The restore page contains a link to an "alternative method of restoring data".  
Do you have any suggestions for how to proceed? Although I've looked around, I haven't found any useful information. Thank you.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Acees Messe](/t5/user/viewprofilepage/user-id/5126889) ,

welcome to the Atlassian community!

In addition to [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) , please take a look to the following ticket <https://jira.atlassian.com/browse/CONFCLOUD-71165>

### Workaround {#toc-hId-2001561110}

* Reduce space size by curating and archiving older data into backups to meet compliance needs.  
  Break down larger spaces into smaller spaces that meet the \~200MB size limit for imports.

<!-- -->

* Use CCMA plugin (also helping as [a workaround from Confluence Cloud to Confluence](https://confluence.atlassian.com/cloudkb/migrating-from-confluence-cloud-to-confluence-cloud-691011969.html), highlighted in the [Merge Multiple Confluence Cloud sites page](https://support.atlassian.com/confluence-cloud/docs/merge-multiple-confluence-cloud-sites/)):  
  [https://marketplace.atlassian.com/apps/1219672/confluence-cloud-migration-assistant?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1219672/confluence-cloud-migration-assistant?hosting=server&tab=overview)

Hope this helps,

Fabio


author: Alex Koxaras _Relational_
body: Hi [@Acees Messe](/t5/user/viewprofilepage/user-id/5126889) and welcome to the community!

Have you already read the following documentation about confluence?

* <https://confluence.atlassian.com/doc/site-backup-and-restore-163578.html>
* <https://confluence.atlassian.com/doc/restoring-data-from-other-backups-148627.html>
* <https://confluence.atlassian.com/doc/restoring-a-site-152034.html>

You should also look at the log files and then take a look at this:

* <https://confluence.atlassian.com/doc/troubleshooting-xml-backups-that-fail-on-restore-199034.html>
Edit page, Macro titles not showing in new confluence 7.19.4 version as it did in 7.4.17
Asked by Bruce Guy:

Macro titles not showing in new confluence 7.19.4 version as it did in 7.4.17

On the edit page, none of the macros show the title in the upgraded version. Is there a setting that I need to turn on?

thanks


Answers:
author: Bruce Guy
body: I am able to get it working after I reinstalled the Formatting plugin. .


author: Fabio Racobaldo _Herzum_
body: Hi [@Bruce Guy](/t5/user/viewprofilepage/user-id/4340296) ,

it is weird. Did u try to clean plugin cache (<https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html>) and restart your instance?

Fabio

comments: author: Bruce Guy
body: Thanks Fabio. No luck with the clearing the folders and restarting. Is it a macro that does that or part of confluence?

new version.

![no-title.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/235913iBE330A2A100E9C2B/image-size/large?v=v2&px=999 "no-title.PNG")

Old version

![old-version_with_title.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/235915iF652EF1DF96AD757/image-size/large?v=v2&px=999 "old-version_with_title.PNG")


author: Bruce Guy
body: I am able to get it working after I reinstalled the Formatting plugin. .


Tags: confluence-server

server
Max number of users when trying to add an existing user to an existing group?
Asked by Mathew Imregi:

See image and title. For some reason, trying to add a user to a group that I have just removed a user from gives me the message that I have reached the max users for my plan. Aside from not knowing my plan had a max users, I am not adding a new user, just changing permissions group. Any idea what could be happening here?

![2023-01-20 13_55_01-Window.png](https://community.atlassian.com/t5/image/serverpage/image-id/235628iD7A739DFD8458F85/image-size/large?v=v2&px=999 "2023-01-20 13_55_01-Window.png")


Answers:
author: Alwathiqubellah Abumaali
body: I'm on a premium account and it looks like our group membership is capped out at 35,000. Is there anywhere that this information is listed and how do we go about exceeding that number?

comments: author: Trudy Claspill
body: Hello [@Alwathiqubellah Abumaali](/t5/user/viewprofilepage/user-id/5398455)

Welcome to the Atlassian community.

This post is not about a limit on the number of users in a group. This post is about the overall limit on the number of users for a site.

The current limits on the number of users for a site for each plan are specified here:

<https://www.atlassian.com/software/confluence/pricing>

However, if you have purchased a license based on a user license tier, then your limit may be lower. Your license tier would be visible on the Billing page in the admin hub (<https://admin.atlassian.com>).


author: Trudy Claspill
body: Hello [@Mathew Imregi](/t5/user/viewprofilepage/user-id/5073126)

Your post tags indicate you are on the Standard plan. The user limit is 35,000 for that plan.

If you don't think you're anywhere near that number of users, then perhaps your plan was downgraded to the Free plan, where the limit is 10 users?

Can you specify the steps you followed to navigate to the page you are on? There are a lot of ways to get to things in Atlassian products, and so far I have not found a navigation path that gets me to a screen that looks like the fragment you have shared.

comments: author: Nic Brough -Adaptavist-
body: One of my colleagues just asked much the same. The problem is your plan, not the groups within it.

They were trying to add a user to a group, like you are, but the user had previously been disabled (left and rejoined), and the group they were trying to add to was a group named for "has application access". They already had 50 users, so adding the old user back into the "can log in" would have taken them to 51, over their limit.


Tags: cloud

confluence-cloud
Hide tabs UI in confiforms
Asked by Gustavo Ortega Reynoso:

Good afternoon, I have a form made in confiforms, the fields are inside UI tabs since there are many fields that I require, in addition to this I have a combo that, depending on its value, I must hide and show certain UI tabs, is this possible?


Answers:
author: Alex Medved _ConfiForms_
body: Hi

not sure what these "tabs" are, but...

You can set up rules in your form to show/hide fields or even containers (by css selector)

<https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Field+Definition+Rules>

Alex

comments: author: Gustavo Ortega Reynoso
body: Thanks [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)

The tabs is a macro that allows you to organize information in confluence like the excel tabs, my objective is to place some fields of a form in each tab and depending on the value of a combo to hide or show a certain tab, this is to avoid placing rules of validation for each field but one for each tab, although I see that it is not possible since this macro tabs does not belong to the confi and it is not possible to reference it, maybe there is something like a container and refer to it in the validation rule


author: Alex Medved _ConfiForms_
body: Not really familiar with this macro.

But I dont think this is possible on cloud (as your question is tagged), as each plugin renders in own sandbox (iframe) and accessing it from another sandbox (frame) is complicated (or rather is impossible)

Alex


Tags: cloud

confiforms

confluence-cloud
Where for I find and load the <Spaces> drop-down in Confluence?
Asked by Patrick John Flanagan:


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

This sounds like you are expecting to see "Spaces" in the top-level menu. You will not get that option if you have no permission to see any spaces. Could that be the problem?

comments: author: Patrick John Flanagan
body: That could be the issue and yes


author: Trudy Claspill
body: Hello [@Patrick John Flanagan](/t5/user/viewprofilepage/user-id/5123827)

Welcome to the Atlassian community!

Can you provide more information about what you are looking for? Do you have an example of a screen that has this?

Are you trying to add a Space selection field to a page in Confluence?


Tags: cloud

confluence-cloud
Dynamically assembling a document
Asked by Mathew Imregi:

I have a feeling this may be a stretch...

I manage a product that supports dozens and dozens of integrations with other products. Among other things, I am using confluence to manage documentation for each of those integrations. It's a parent page with a table listing each integration and some vital information about each, and each line in the table links to a child page with more detailed information about that integration.

What I would LOVE to do for a given client is generate a pdf export based on selecting a subset of these integrations. I can think of plenty of ways to use includes and build each of those pages, but I am looking for a quicker way to turn out variations as needed.

Thanks in advance for any advice!


Answers:
author: Brant Schroeder
body: [@Mathew Imregi](/t5/user/viewprofilepage/user-id/5073126)

If I am understanding the question correctly you would like to export specific integration documentation for each request. For example client A needs integration 1, 4, \& 7 while client B needs integration 1, 2, 3, 5, 8, \& 9.

If this is the case you can use the space export option and just select the pages you would like to include in the PDF export. This would not provide a solution for the end user if they would like to select the pages themselves but as a space admin, you could create the export.

comments: author: Mathew Imregi
body: That's an idea. As you say, not quite as handy as being able to dynamically construct a wiki page but a good option. Thank you.


Tags: cloud

confluence-cloud
Internal Server error 500 when creating page with Confluence Rest api
Asked by Nauman Qureshi:

Hi,  

i am trying to create a page in confluence using rest api but i am greeted with this error: {"statusCode":500,"message":"","reason":"Internal Server Error"}.

my code:  

```
curl.exe -X POST -H "Authorization: Bearer PersonalAccessToken" -H "Content-Type: application/json" -d '{"type":"page","title":"new page","space":{"key":"TES"},"body":{"storage":{"value":"This is a new page","representation":"storage"}}}' https://myconfluenceurl.com/confluence/rest/api/content
```

i have checked the logs and found this aswell:   
org.codehaus.jackson.JsonParseException: Unexpected character ('t' (code 116)): was expecting double-quote to start field name  

im not sure where the mistake is, i cant see it.  

i appreciate every help!  

Best Regards  
Nauman


Answers:
author: Vamsi Kandala
body: Hi [@Nauman Qureshi](/t5/user/viewprofilepage/user-id/5110513)

Did you try using double quotes (") after -d instead of single quotes (')?

Thanks,  
Vamsi

comments: author: Nauman Qureshi
body: Hey [@Vamsi Kandala](/t5/user/viewprofilepage/user-id/4392782)

yes i have tried doublequotes after -d.   
It still did not work.  

Best Regards  
Nauman


author: Vamsi Kandala
body: Hi [@Nauman Qureshi](/t5/user/viewprofilepage/user-id/5110513)

Hmmm...looks like there is an issue with JSON data format. I have tested the JSON data you are sending and it is parsing fine as well as your curl call looks good to me.

Did you try using third-party tool like Postman and check?

Thanks,  
Vamsi


author: Nauman Qureshi
body: Hey [@Vamsi Kandala](/t5/user/viewprofilepage/user-id/4392782) unfortunately, i have not.  
I am not sure how this will work.  

Best Regards  
Nauman


Tags: api

confluence-server

curl

page

powershell

rest

server
Limiting external client access to specific pages
Asked by Mark O'Kane:

Hi Folks. I'm sure this has been asked before but is there an easy means of providing external clients restricted access to specific pages in confluence?

Thanks,


Answers:
author: Sushant Verma
body: Hi [@Mark O'Kane](/t5/user/viewprofilepage/user-id/5126395)   

Welcome to the community!  

You can apply restrictions to the confluence space. Below are the some documents for your reference  

<https://confluence.atlassian.com/confkb/restrict-external-users-groups-to-certain-confluence-space-s-417366815.html>  

<https://support.atlassian.com/confluence-cloud/docs/what-are-confluence-cloud-permissions-and-restrictions/>  

<https://support.atlassian.com/confluence-cloud/docs/what-are-space-permissions/>  

<https://support.atlassian.com/confluence-cloud/resources/>  

Hope it will help!  

Regards,  
Sushant Verma  

comments: author: Mark O'Kane
body: Thanks for the rapid reply @\[deleted\] .


author: Sushant Verma
body: [@Mark O'Kane](/t5/user/viewprofilepage/user-id/5126395) You're welcome. If this was helpful can you please mark as accepted to help others.  

Regards,  
Sushant Verma


author: Mark O'Kane
body: Will do once I've taken a look to see if it does what I need [@Sushant Verma](/t5/user/viewprofilepage/user-id/2226989)


Tags: cloud

confluence-cloud
Analyze data from INSIGHT (Asset management) in Confluence
Asked by Bastien Delourmel:

Good morning y'all! :-)

We are currently using Insight and we need a macro in Confluence that retrieves and displays the data from Insight.

Example of information needed:

* Assets assigned to somebody
* Number of assets linked to somebody

We heard about the add-on : PTC \& STC Insight Extension ([https://marketplace.atlassian.com/apps/1216868/ptc-stc-insight-extension?hosting=server\&tab=support](https://marketplace.atlassian.com/apps/1216868/ptc-stc-insight-extension?hosting=server&tab=support)), but it is only available on Server and ++**we are on DC**++.

Do you know another add-on compatible?

Thanks a lot,

Regards


Answers:
author: Bastien Delourmel
body: up


Tags: confluence-server

data-center

insight

macro

server
jira cloud configuration needed for Confluence page
Asked by Gowtham Dhayalan [X]:

Earlier, in confluence page it was configured from Jira Pramerica.

Now we need Jira Cloud to configure our Confluence page.


Answers:
author: Ste Wright
body: Hi [@Gowtham Dhayalan \[X\]](/t5/user/viewprofilepage/user-id/5126408)

Can you clarify your need here?

I assume "Jira Pramerica" is a Server/Data Center instance for your company, is that correct? What did it do to "configure" your Confluence page? And what do you need Jira Cloud to do?

**Note:**I removed the link from your question - most users on the Community are not Atlassian team members, and we would not be able to access a private Confluence instance.

Ste
I created an account with ChatGFT but have ended up on the Confluence site - this is not what I want
Asked by Linda Sinrod:

I created an account with ChatGFT but have ended up with Confluence which is not what I want. How do I get to ChatGFT where I can ask questions?


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

You probably need to visit the ChatGPT site you were trying to use.

One of them I know of uses Confluence for its documentation, so I suspect what you have done is started to read the docs, and created an account for using the docs, rather than an account with the 'bot.


Tags: cloud

confluence-cloud
Problems with page notification
Asked by Christian Wenger:

Hi

We have the problem, that a certain page isn't sending notifications about changes via e-mail to its watchers. This is new and wasn't a problem in the past.

Does anyone experience the same problem and has a workaround?

Cheers, Christian


Answers:
author: Max Foerster - K15t
body: Hey [@Christian Wenger](/t5/user/viewprofilepage/user-id/5126336), welcome to the community!

Can you tell us a bit more about the page? Like anything? Are page restrictions in place on the page or inherited? Does it affect every watcher of the page or only part of the watchers? The first guess is that notifications are not sent due to a lack of access. Can the users access the page but get no notification when the page is edited? Were the edits "published" or "published without notifying watchers"? You see, there's a few options here. :)

Best, Max

comments: author: Christian Wenger
body: Hey [@Max Foerster - K15t](/t5/user/viewprofilepage/user-id/693014) , thank you for your quick response. It seems as it would work again. We got an e-mail, that confluence made some changes and one only receives updates of the pages once a day further on.

I keep an eye on it and keep you posted, if the problem occurs again.

Kind regards, Christian


author: Max Foerster - K15t
body: Happy to hear. :) Keep us posted.


Tags: cloud

confluence-cloud

email

notification