youngmon/atlassian-qna huggingface dataset:
How to make a web request from Jira automation to bitbucket pipeline?
Asked by heister82:

I see I could access the API at:  

<https://api.bitbucket.org>/2.0/repositories/{workspace}/{repo_slug}/pipelines/  

However when I access this URL for my repo I get:  

```
{"type": "error", "error": {"message": "Resource not found"}}
```

<br />

I can only suppose this is because it's not authenticated... However I cannot find any docs/examples on how to do this...  

This is as far as I could get setting this up...  

![test.png](https://community.atlassian.com/t5/image/serverpage/image-id/139090i24E510447E31E89D/image-size/large?v=v2&px=999 "test.png")


Answers:
author: heister82
body: To answer myself:  

Go to bitbucket, go into your account and create an app password.  

base64 encode your USERNAME (not your email) with the password:  

Using this format:  
username:password  

Then add a header to the web request with:  
Name: Authentication  
Value: Basic encodedstringyougetabove  

And the request works.

comments: author: Mike Medved
body: Any way you can screen cap what that header looks like? (blurring your username \& app password, of course!!!)

Thanks!


Tags: automation

bitbucket-pipelines

cloud
Not receiving password reset email
Asked by Dave Steffan:

I'm not receiving a password reset email from bitbucket. My login should be the same as the one currently asking this question. My company has SSO enabled for confluence and jira, but not for bitbucket.

How can I reset my bitbucket password to regain access?


Answers:
author: Dave Steffan
body: Figured it out, please close


Tags: bitbucket-server
npm: command not found
Asked by Nathan Mulugeta:

```
image: node:latest

definitions:
? steps:
? ? - step: &deployWeb
? ? ? ? name: deploy web
? ? ? ? script: &deployWebScript
? ? ? ? ? - npm install
? ? ? ? ? - npm run ng build -- --configuration=production

pipelines:  
  custom:    
    deploy-to-QA:      
      - step:          
      <<: *deployWeb          
      name: Deploy to QA          
      deployment: test
```

here is my bitbucket-pipelines.yml for an angular application and I'm getting a build error on npm install with the following error  

/opt/atlassian/pipelines/agent/tmp/shellScript16212036659655199428.sh: line 4: npm: not found


Answers:
author: Nathan Mulugeta
body: Found the issue, was using PATH as one of my environment variables.  

It would be awesome if there is a warning when using PATH as a pipeline environment variable


Tags: bitbucket-pipelines
How do I set max_allowed_packet for bitbucket pipeline mysql5.7?
Asked by mkarthauser:

`I am getting the following error when importing an sql file in a step on bitbucket pipeline:`

SQLSTATE[08S01]: Communication link failure: 1153 Got a packet bigger than 'max_allowed_packet' bytes (SQL: /*!40101 SET @saved_cs_client = @@character_set_client */;

I have a service defined:

```
definitions:
  services:
    mysql:
      image: mysql:5.7
      command: --max_allowed_packet=100M
      environment:
        MYSQL_DATABASE: 'homestead'
        MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
        MYSQL_USER: 'homestead'
        MYSQL_PASSWORD: 'secret'
```

and added

\`command: --max_allowed_packet=100M\`

but this doesn't resolve the issue.

Has anyone experienced this problem and can offer a solution?


Answers:
author: chandan kashyap
body: [@mkarthauser ,](https://community.atlassian.com/t5/user/viewprofilepage/user-id/1415231)

Did you get any solution for the above error.


Tags: mysql
Is there a way to give permission to bitbucket pipelines setting without given full admin access
Asked by Thirukumaran Kubendran:

Is there a way to give access to bitbucket pipelines setting without having to give full admin access?


Answers:
author: Justin Thomas
body: [@Thirukumaran Kubendran](/t5/user/viewprofilepage/user-id/4352790) Can you please explain a bit more about your use case?


Tags: bitbucket-cloud

cloud
Pull request - permitted source branches
Asked by kvgysegh:

Is it possible to set permitted source branches for pull requests?

For example: only allow the staging branch to be merged with the master branch, and not directly feature branches?


Answers:
author: Theodora Boudale
body: Hi [@kvgysegh](/t5/user/viewprofilepage/user-id/2880537) ,

I'm afraid that this is not possible at the moment.

I can open a feature request about this for our development team to consider. This could be part of branch permissions, when you set up a branch permission for e.g. master, then have an extra field for source branches you are allowed to create a PR to master from. Would something like that work for you?

Please feel free to let me know if you'd like me to proceed with opening the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Different wikis for different branches
Asked by Jakob Henning Jensen:

Since my documentation is different for master and dev branches, is there a way to have different wikis for different branches? E.g say I in my repo chose "dev" as branch, I would like the wiki to change accordingly, or is the best way to simply have have different pages for each branch?


Answers:
author: Aron Gombas _Midori_
body: If you really want the documentation belong to a certain branch, why don't use markdown files stored in repository together with the code?

It would make versioning and linking intuitive.

Bitbucket has [dedicated support](https://support.atlassian.com/bitbucket-cloud/docs/readme-content/) for this.

comments: author: Jakob Henning Jensen
body: That's what I've been doing so far - I just noticed the "wiki" page and like, that everything is stored there.


Tags: bitbucket-cloud

cloud

wiki
Can I check the full log of the list that received the source stored in the cloud as Pull(Checkout)?
Asked by ?????:

Hello, I'm planning to buy a premium version of BitBucket Cloud.

1. How do I proceed with the payment if I add more people?

(Payment method for additional 5 people from 10 users)

2.Can I check the full log of the list that received the source stored in the cloud as Pull(Checkout)?

I have two inquiries. Thanks


Answers:
author: Theodora Boudale
body: Hi [@?????](/t5/user/viewprofilepage/user-id/4352334) and welcome to the community!

**1.** In Bitbucket Cloud, repositories are owned by a workspace, and billing plans are associated with a certain workspace as well.

You can upgrade a workspace to the Premium plan the following way:

* Log in to <https://bitbucket.org/>
* Go to your avatar (bottom left corner) \> **All workspaces**
* Select the workspace you want to upgrade the plan for
* Then, from the left-hand column, select **Settings**
* Then select **Plan details** and the link **Change plan** in that page
* You'll get redirected to a new page, where you can select the Premium plan and you'll be asked to provide credit card details.

After you complete the process, you can view in the **Plan details** page that the workspace is on the Premium plan.

You can then add more users either to this workspace's User Groups or directly to its repos.

**2.** Each workspace has an **Audit Log** that is available via the workspace's **Settings**.

At the moment, I'm afraid that clone and pull events are not included there.

We have a feature request to add these events in the Audit Log:

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

I would suggest that you add your vote in that feature request (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features. You are more than welcome to leave any 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 will be posted in the feature request.

If you have any questions or need any further help, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Why can I no longer add team members to PRs?
Asked by bscaring:

Just like the title says. For the last few days, team members names are no longer appearing when I type their names when creating PRs.


Answers:
author: Theodora Boudale
body: Hi [@bscaring](/t5/user/viewprofilepage/user-id/4351882) ,

- Are these PRs from a fork to the main repo, or between branches of the same repo?

- Could you please let me know whether you are logging in to Bitbucket website with email/password, or if you're using the Google Login option?

We've had a user with the same issue, they mentioned they use the "Continue with Google" option to log in to Bitbucket, and logging out and then logging back in to their Bitbucket account solved the issue for them.

My first suggestion would be to try the same and let me know if this works for you. If you have a minute, could you also please let us know whether you're using log in with Google, so we can investigate whether there is a connection?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Server licence versus Datacentre licence
Asked by daveryan66:

Hmm not sure why I have to ask a community - I would rather speak to someone who works for the company selling the software.

Anyway lot of blurb about it but nothing clear about the differences even checking prices I get the Oops message. Can you cut to the chase?


Answers:
author: Christian Glockner
body: Hi,

Keep in mind that you can no longer purchase Server licenses as we announced the end of Server license sales earlier: <https://www.atlassian.com/migration/journey-to-cloud>

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: daveryan66
body: Yes thank you I saw that and it seems to be confusing our supplier maybe it was lost in translation.

Certainly the explanation about the differences were not clear on the front pages and the pricing web page didn't work - may be this is deliberate to be more persuasive about the Cloud. I am not sure what IT managers are about multiple cloud services.

I would say I try to avoid Cloud based products and Community based support


author: Nic Brough -Adaptavist-
body: The pricing pages work fine for me, what page were you looking at and what errors did you see?


author: daveryan66
body: I can see the pricing now. Before I had the Oops message - not quite sure how I got there as I don't see a direct link to a comparison between Server and data centre but found a separate link and can see it is a change from $10 to $1600 for a data centre license.

Anyway I can also see I have some time before I need to make the should I stay or should I go decision - so thanks for your help.


author: Nic Brough -Adaptavist-
body: There's a big discrepancy there because Server licences start at $10 for 10 users, but the cheapest DC licence is for 500 users


author: Nic Brough -Adaptavist-
body: <https://confluence.atlassian.com/confeval/development-tools-evaluator-resources/bitbucket/bitbucket-bitbucket-server-vs-bitbucket-data-center> is probably the starting point for your reading.

comments: author: daveryan66
body: Thanks


Tags: bitbucket-server

server
Is there a bitbucket variable to get the commit message
Asked by t1279k:

Is there a bitbucket variable to get the bitbucket commit message. I could not find any on this link. <https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/>

If not any suggestion how I many get that value?


Answers:
author: Theodora Boudale
body: Hi [@t1279k](/t5/user/viewprofilepage/user-id/4306534) ,

I don't believe that we have a variable to get the commit message of the commit that triggered the build, however there are different git commands that could be used for that purpose.

You could use in your yml file either of the following:

```
git log -n 1 --pretty=format:%s $BITBUCKET_COMMIT
```

or

```
git show -s --format=%B $BITBUCKET_COMMIT
```

Kind regards,  
Theodora

comments: author: t1279k
body: Most other pipeline provider have this as an environment variable. Can you please have a feature request to be part of the bitbucket environment variable.


author: Theodora Boudale
body: Hi [@t1279k](/t5/user/viewprofilepage/user-id/4306534) ,

We have a feature request for this in our issue tracker:

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

There was low demand for this feature in the time it was open, and as a result it was closed as 'Won't fix' since there is a workaround and the development team has been focusing on higher priority issues.

However, I went ahead and reopened it so we can see whether there is going to be more demand for this now.

I would suggest that you add your vote in that feature request (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features. You are more than welcome to leave any 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 will be posted in the feature request.

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Bitbucket path with special characters {} cause 400 error
Asked by Jingjing Li:

Hi all,

One of our Atlassian Bitbucket repo has a folder/file named with {}.

These special characters are causing 400 error when trying to access the folder.

But this is not an issue for Bitbucket cloud.

Is there anything we can do to allow these special characters? I could not find anything for Tomcat in the Bitbucket server


Answers:
author: CATS Delivery Platform
body: Do you use a reverse proxy like nginx? In that case the info here might help to fix it: <https://confluence.atlassian.com/confkb/pages-with-special-characters-are-not-accessible-via-reverse-proxy-829664257.html>

comments: author: Gonchik Tsymzhitov
body: no luck


Tags: bitbucket-server

special-character
I am not able to see my public name on atlassian, on confluence and on Jira display.
Asked by Siddhesh Churi:

I am not able to see my public name on atlassian and on Jira display. it

s still showing up name set by admin.


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

What type of accounts are you using? Atlassian accounts (if so, are they managed by your organisation?), Google accounts, or Atlassian Access?


Tags: cloud

confluence-cloud
Ability to manage group memberships
Asked by Rickman, Sean:

[Navigating to the General Configuration Console \| Administering Jira applications Data Center and Server 9.7 \| Atlassian Documentation](https://confluence.atlassian.com/adminjiraserver/navigating-to-the-general-configuration-console-938846783.html)

This page indicates I need to access the confluence admin console. I don't have access to this. I am an admin. How do we manage group memberships? I can add individual users. But I cannot add users to groups?


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

If you don't have access to it, then you are not a Confluence admin. You may still be a Space admin, of course.

However, on Cloud, you don't do user admin inside the application. It's a site administration thing - log into <https://admin.atlassian.com> to see if you have site admin rights.


Tags: cloud
HELP: I need to recover a deleted workspace in Confluence
Asked by Isadora Cancherini:

Please, I need help to recover this page:

<https://sumupteam.atlassian.net/wiki/spaces/OPSINT/overview>

It has been deleted this week without archiving it


Answers:
author: Connor
body: Hi [@Isadora Cancherini](/t5/user/viewprofilepage/user-id/5182895) if just the **Overview** page of your **OPSINT** space has been deleted, then a space admin can [restore it following these instructions.](https://support.atlassian.com/confluence-cloud/docs/delete-restore-or-purge-a-page/#Restore-a-deleted-page)

But if **OPSINT** was deleted then it's [immediately gone and can't be restored](https://support.atlassian.com/confluence-cloud/docs/delete-a-space/). If you have an XML backup of the space you can try to restore from that, but if not your only option is to manually recreate it.


Tags: cloud

confluence-cloud
EntryViewer confiForms
Asked by Michael K?ng:

Hey,

It seems that it's notpossible anymore change entries with the entry viewer macro (editable), because the save button is not visible anymore.

I would say it's a bug, no other explanation....

Regards


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Michael K?ng](/t5/user/viewprofilepage/user-id/3406184)

There is no EntryViewer on ConfiForms cloud (question is tagged as for cloud). Probably your question is about the server/dc version of the plugin.

True that this macro had a regression recently that has been fixed

Alex

comments: author: Michael K?ng
body: Oh sorry, my fault ;)

Okay, thanks for the answer, then I expect that we using this version with the regression rigth now. Anywaya, we changed to edit control as workaround.

Thanks for the info and have a nice day.


Tags: confiforms

confluence-server
Alignment issues in Coverage View
Asked by tao wenchong:

I am using R4J's coverage view to build a multi-level progressive relationship view. There is a one-to-many relationship between each adjacent column, but the alignment in the view is far from expected. Is there such a possibility to fix the alignment in this table?![7ddf9cde-3732-4269-a4ae-1fef0ff19f2b.png](https://community.atlassian.com/t5/image/serverpage/image-id/248422i186038F9CCFC0CA0/image-size/large?v=v2&px=999 "7ddf9cde-3732-4269-a4ae-1fef0ff19f2b.png")


Answers:
author: Bernhard Doleschel _Ease Solutions_
body: Hello [@tao wenchong](/t5/user/viewprofilepage/user-id/5182719) ,

I?m Bernhard, the product manager of Ease Solutions and responsible also for R4J. Sorry that no one replied to you. We?ve identified the issue in R4J causing this behavior in version 4.13 and fixed it already. Please install latest version 4.14.2 on your system, see the[release notes.](https://easesolutions.atlassian.net/wiki/spaces/REQ4J/pages/342949892/4.x)

If you face other questions with R4J, please don?t hesitate to contact our [friendly support team](https://support.easesolutions.com/).

Thank you very much,

Bernhard


Tags: confluence-server

coverage

layout

r4j

server
What is the REST API to create a confluence page with a template ??
Asked by Shreyas Srivastava:

Use Case is, I have a template in my account which I want to use to create a Confluence Page with the help of REST APIs.  
Is there any possible way to achieve so?  

Methods Tried:  
1. Atlas Doc Format \<key,value\> is not working.

2. Get Content REST API is deprecated and hence cant get template from CURRENT Pages created manually.

3. REST API v2 has not provided any new API call to generate template format or create new page with a template.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Shreyas Srivastava](/t5/user/viewprofilepage/user-id/5182688) ,

please take a look to this thread <https://community.atlassian.com/t5/Confluence-questions/How-can-i-create-a-new-page-from-a-users-template-using-rest-api/qaq-p/1059884>

Hope this helps,

Fabio


Tags: cloud

confluence-cloud
Cannot enable "Remote API" setting as a system admin
Asked by gael_charles:

Hi,

I would like to automate site exports for my Confluence site. However, I learned that this specific method is not yet covered by the new REST API, but can be achieved using the old and deprecated XML-RPC methods: <https://developer.atlassian.com/server/confluence/remote-confluence-methods/#administration>

However, I tried to connect to the XML-RPC endpoint and obtained an HTTP 302 error. I ventured into the Confluence settings only to find an option named "Remote API (XML-RPC \& SOAP)" which is disabled. But I cannot edit this option as the checkbox is grayed out.

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

I am a system admin and site admin. I run a paid Confluence Cloud version.

How could I automate site export?


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

You can not enable this in Confluence Cloud.

My understanding is that a chunk of the code for it has been deprecated and actually removed so that it wouldn't work anyway, but they've not got around to cleaning up the UI yet.

comments: author: gael_charles
body: Thanks!  

So in my understanding, we're right in the middle between the time when it wasn't deprecated and we could automate it, and the future time when it will be covered by the REST API. That's a shame!


author: Nic Brough -Adaptavist-
body: Not right in the middle, more towards the end.

From memory, you've never been able to use it on Cloud systems, because the admin options allow for system admin stuff, which Cloud users should never have.

There is activity on extending REST APIs on Cloud, I know we're working with Atlassian on getting the calls we need to do Scriptrunner for all products.


Tags: api

cloud

confluence-cloud

xml-rpc
Can I arrange issues in groups within Jira Structure board macro/gadget in Confluence?
Asked by Sebastian Crucitti:

I am using Structure gadget/macro in Confluence to import a Structure Board. I would like to group my epics by financial quarter or team but there does not appear to be a feature to do so in the gadget. This limits the pivot capability in Confluence.


Answers:
author: Stepan Kholodov _Tempo_
body: Hello [@Sebastian Crucitti](/t5/user/viewprofilepage/user-id/1995313)   

It is indeed not possible to add groups or apply any other changes in how a structure is built from Structure macro. The macro's architecture can't support Structure's full functionality; so its designed to display structures with their full content but in limited capacity when it comes to features. You can click the Open link at the bottom of the macro to access the structure board in full where you can rebuild the structure and introduce any other changes which then will be reflected in the macro.  

I hope this helps. If you have other questions, please reach out to us directly at our [support portal](https://tempo-io.atlassian.net/servicedesk/customer/portal/6/group/1051).  

Best regards,  
Stepan Kholodov  
Tempo


Tags: board

confluence-server

jira

server

structure
How can I embed a Jira Kanban board onto a Confluence Cloud page?
Asked by Michael Tran:

I'm currently trying to figure out how to embed a Kanban board from a Jira Software project.

You can automatically embed a Jira Work Management board onto Confluence simply by pasting the URL, but that doesn't seem to be the case for Jira Software projects. Is there a workaround? The only other method I can think of is switching the Jira Software project into a Jira Work Management project.

And don't tell me the Agile Wallboard Gadget as that does not apply to Confluence Cloud products anymore.


Answers:
author: Jens Schumacher - Released_so
body: Hi [@Michael Tran](/t5/user/viewprofilepage/user-id/4905603)  

I think the only answer right now actually is the "Agile Wallboard Gadget". Not sure what you mean with "it doesn't apply to Cloud". I just tried it on our Cloud instance and it works like a charm.

Cheers,  
Jens

[Released.so](http://released.so/) - Release notes powered by Jira

comments: author: Michael Tran
body: Apologies - I saw articles elsewhere saying that the macro was retired, I should have at least tried the method first prior to questioning. Thanks!


Tags: board

cloud

confluence-cloud

embed

jira

kanban