youngmon/atlassian-qna huggingface dataset:
Show custom build status in JIRA
Asked by Mohamed Zoweil:

I have created a step in my BitBucket pipeline to post a custom build status "Deployed App", this is how it looks in the pull request page:

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

However, in JIRA when a new pipeline runs, JIRA only shows the pipeline build and not my custom build, like so:

![jira_view.png](https://community.atlassian.com/t5/image/serverpage/image-id/125937iBE5EB6E9464C6498/image-dimensions/873x336?v=v2 "jira_view.png")Is there a way I can display the custom build status I created in JIRA?


Answers:
author: Dario B
body: Hello [@Mohamed Zoweil](/t5/user/viewprofilepage/user-id/4225360) ,

Welcome to the Atlassian Community!

Pipelines pushes data to Jira, so they decide which data. So, I am moving this thread to the Bitbucket pipelines section.

Also, I have asked the pipeline team about your issue and they would like to know more on how you created the custom build status: did you post directly to the commits endpoint as documented in [Updating Build Status for Commits](https://developer.atlassian.com/server/bitbucket/how-tos/updating-build-status-for-commits/) or anything else?

In case you did, then this could be a bitbucket core issue (because it is related to how bitbucket deals with the commitStatuses received) and we'll have to further look into it.

Please let us know.

Cheers,  
Dario

comments: author: Mohamed Zoweil
body: Hi Dario,

Thanks for replying.

I created the build status by posting to the commit end point in my pipeline, like so:  

- export BUILD_STATUS="{\\"key\\":\\"deploy_link\\", \\"state\\":\\"SUCCESSFUL\\", \\"name\\":\\"Deployed App\\", \\"url\\":\\"${DEPLOY_LINK}\\"}"

- curl -H "Content-Type:application/json" -X POST --user "${BB_AUTH_STRING}" -d "${BUILD_STATUS}" "<https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/commit/${BITBUCKET_COMMIT}/statuses/build>"  


author: Dario B
body: Hi [@Mohamed Zoweil](/t5/user/viewprofilepage/user-id/4225360) ,

Since this issue needs further investigation I have created below support request on your behalf:

* [BBS-157913](https://getsupport.atlassian.com/servicedesk/customer/portal/11/BBS-157913)

Please follow-up in there and, once solved, it would be nice if you can copy the solution in here too so that it may be useful for other customers facing similar issues.

Cheers,  
Dario


Tags: bitbucket-pipelines

cloud

jira-software

jira-software-cloud
How Do You Embed A Bitbucket ReadMe File Into Confluence? What are the ways? Pictures Please?
Asked by supers98:

How Do You Embed A Bitbucket ReadMe File Into Confluence? What are the ways? Pictures Please?


Answers:
author: Soumyadeep Mandal - SaM
body: Hi [@supers98](/t5/user/viewprofilepage/user-id/4225386) ,

Please have a look at this app integration for confluence [https://marketplace.atlassian.com/apps/1211445/markdown-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1211445/markdown-for-confluence?hosting=cloud&tab=overview)

Regards,

***Soumyadeep***


Tags: bitbucket-cloud

cloud

confluence
Can I permanently hide "Take the next steps" message on my repos?
Asked by matthew.stuart:

My repos have uncountable commits, multiple contributors, and are very active. How can I *permanently* hide the

Take the next steps for this repository and its freshly added files {#toc-hId--1294527726}
------------------------------------------------------------------------------------------

message whenever I use the web front end?? It takes up real estate and no matter how many times I click that X it always come back. If it has a few commits, no readme, or something else sure but honestly these repos are active WHY AM I STILL SEEING THIS MESSAGE?


Answers:
author: Theodora Boudale
body: Hi [@matthew.stuart](/t5/user/viewprofilepage/user-id/4225109) ,

Could you please let us know, after you close this message in a specific repository, do you see it again in the same repository? Or does it stop showing for the same repo, but it shows in a different repo?

It is a bit unclear whether you are seeing the message repeatedly in the same repo after you close it, or if it is reappearing in different/new repos.

I am in discussion with one of the developers on this, but we need first to understand what is the case.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
post reports to pull request
Asked by heidi.rechek:

I want to use the API to post reports from Jenkins (archive) to a commit on a pull request.

I have tried a simple curl to get the \[non-existent\] results first but I keep getting {"type": "error", "error": {"message": "Resource not found"}


Answers:
author: heidi.rechek
body: I found I had the API URL formatted incorrectly.


Tags: bitbucket-cloud

cloud

report
Support for YACC plugin version 1.24 in bitbucket server version > 7.8
Asked by avsaditya:

Hello All,

We are using YACC(Yet another commit checker) app version 1.24 hosted on Bitbucket server v6.6.

This is from the time when the app was free but the update to v2.0.7 is paid.

Now I want to update to latest version of Bitbucket server \> 7.8.

Bitbucket update check says Unknown for the current version of my app.

### "Unknown {#toc-hId-1203486294}

These apps have not been registered with the Atlassian Marketplace, so their compatibility with Bitbucket 7.9.1 is unknown. We recommend performing your own testing before you proceed."

Does anyone know if the current version (1.24) is compatible with Bitbucket server \> 7.8?

Has anyone tried?

Thanks and Regards

Aditya


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: The [earliest version that the vendor states](https://marketplace.atlassian.com/apps/1211854/yet-another-commit-checker/version-history) is supported for your version of Bitbucket is 2.0.4. Looks like it's time to place an order. :)


author: avsaditya
body: Hello All,

I took the risk and did the upgrade.

The YACC app (version 1.24) works on Bitbucket server 7.10!!!

Running since 2 weeks, no compatibility issues so far.

Thanks and Regards

Aditya

comments: author: Support RDI
body: Hi, [@avsaditya](/t5/user/viewprofilepage/user-id/3740301)

We are facing a similar issue when trying to migrate to Bitbucket Data Center version (v7.14.0).

After installing the new version, we upgraded the plugin (without any further investigation) to a trial version (because it became paid). However, we want now to downgrade it again based on your response. We took the YACC jar file from production (v1.24) and tried to reinstall it in the Bitbucket upgraded version in staging, the installation completes, but the plugin doesn't enable anymore.

So, after your Bitbucket process upgrade, what did you do with the YACC plugin? Did you take any action regarding it? Did you compile it again against your new Bitbucket version? Or you haven't touched it after the Bitbucket upgrade process and it just continued to work with no issue.

Thanks in advance for your help!

Best regards!


author: avsaditya
body: Hi [@Support RDI](/t5/user/viewprofilepage/user-id/598378)

It just worked straight after the upgrade. I didnt have to do anything with the plugin.

All the apps were disabled and I had to just re-enable them.

Thanks and Regards

Aditya


Tags: bitbucket-server

server

yacc
Use client-certificate for authentication on a private docker-registry in a bitbucket-pipeline
Asked by Edzard Neumann:

Hi, I'm using a bitbucket-pipeline to build, tag and push docker-images.  
I'm having trouble using a client-certificate to authenticate with a private registry.

On my desktop-machine(ubuntu) when i try to push to the registry i receive the following error:

```
$ docker push REGISTRY_DOMAIN_NAME/myImage:0.5.6 
The push refers to repository [REGISTRY_DOMAIN_NAME/myImage]
Get https://REGISTRY_DOMAIN_NAME/v2/: remote error: tls: alert(116)
```

The ssl-error 116 code means certificate_required.

After i copied the certificates into the directory /etc/docker/certs.d/REGISTRY_DOMAIN_NAME the push completes successfully.

So i tried to replicate this within the bitbucket-pipeline. I'm writing the certificate-content from pipeline-variables into the same files as on my desktop-machine:

```
- mkdir -p /etc/docker/certs.d/REGISTRY_DOMAIN_NAME
- echo $DOCKER_CA_CRT > /etc/docker/certs.d/REGISTRY_DOMAIN_NAMEs/ca.crt
- echo $DOCKER_CLIENT_CRT > /etc/docker/certs.d/REGISTRY_DOMAIN_NAME/client.crt
- echo $DOCKER_CLIENT_KEY > /etc/docker/certs.d/REGISTRY_DOMAIN_NAME/client.key
- ls -al /etc/docker/certs.d/REGISTRY_DOMAIN_NAME/
```

The files are in the correct location:

```
+ ls -al /etc/docker/certs.d/REGISTRY_DOMAIN_NAME/
total 20
drwxrwxrwx. 2 root root 4096 Jan 15 09:24 .
drwxrwxrwx. 3 root root 4096 Jan 15 09:24 ..
-rw-rw-rw-. 1 root root 1647 Jan 15 09:24 ca.crt
-rw-rw-rw-. 1 root root 1696 Jan 15 09:24 client.crt
-rw-rw-rw-. 1 root root 1679 Jan 15 09:24 client.key
```

<br />

But in the bitbucket-pipeline the push still fails with the tls error 116.

Is there a way to use certificate-based authentication for a private docker-registry from within the bitbucket-pipeline?


Answers:
author: Edzard Neumann
body: According to the Atlassian-support it is not possible to use client-certificates.

I'm using the docker-service of bitbucket by declaring "docker: true" in the options of my build-pipeline.  
In this case the docker-runtime is executed in a container other than my build-container. Therefore it is currently impossible to get the certificate-files into the filesystem of the docker-runtime.

My solution so far is to switch back to authentication by username/password.

Another solution might be to build your own build-container e.g. based on docker:dind which failed for me at various stages.


Tags: bitbucket-cloud

certificate

cloud

docker
I can use a Blob storage account to use as NFS in Bitbucket Data center?
Asked by Yembert Quintero:

Hello everyone, I have my NFS server in a virtual machine with linux but I want to reduce the operating times by passing my server to an azure storage account, since in the same way I have all my bitbucket datacenter in azure (not managed by azure), If my database is already in an RDS, I also wanted my NFS to be a Paas.

Is there a possibility to do that ??? or only allows virtual machines.


Answers:
author: Pramodh M
body: Hi [@Yembert Quintero](/t5/user/viewprofilepage/user-id/4223308)

Atlassian Recommends having NFS Server installed on VM and then share the directory with BitBucket Installed Nodes. There are some requirements on IOPS Speed and other requirements such as lock feature.

I would suggest hosting a VM and then follow the script here to install NFS Server and configurations <https://bitbucket.org/atlassian/atlassian-azure-deployment/src/master/bitbucket/scripts/>

Thanks,  
Pramodh

comments: author: Pramodh M
body: So In Conclusion, It's best to choose VM over Storage account as Atlassian Documentation is not clear on how to configure NFS Server for Storage account.


author: Pramodh M
body: FYI

I saw a post from Community Leader and sharing this..

<https://community.atlassian.com/t5/Jira-questions/Is-it-possible-to-use-a-blob-storage-account-in-Azure-for-Jira/qaq-p/1009653>


author: Nihar Kumar Dalai
body: Hi [@Pramodh M](/t5/user/viewprofilepage/user-id/3691224) ,   

If you have used the scripts from [atlassian / atlassian-azure-deployment / bitbucket / scripts ---](https://bitbucket.org/atlassian/atlassian-azure-deployment/src/master/bitbucket/scripts/)++Bitbucket,++ could you please add more details about how to use these scripts once we have the VM on Azure is available?


Tags: azure

bitbucket-server

data-center

nfs

server
How to collect/obtain quality metrics from Bitbucket?
Asked by Stephan Gr?nfelder:

I want to use Bitbucket in a high integrity software project. The respective norms require me to collect statistical data for the code reviews conducted. Most important of all: the number of discrepancies reported in each individual review. Is there an easy way to collect this metric? I could imagine writing a tool that parses the web pages of all pull requests. That should not be to hard to program. However, if there is a more elegant way of doing it, I would prefer that.

Another metric that is requested by IEEE 1028 is to distinguish major from minor findings. Is there a way to for a classification of the severeness of each discrepancy?


Answers:
author: Stephan Gr?nfelder
body: Managed to write a metric tool that accesses the reviews via the REST API. Cool stuff!

comments: author: Daniel Holmes
body: Is this something you have available for others to access and use as a jumping off point for doing the same?
Notification Arns Not Working
Asked by Clayo84:

I'm attempting to leverage the NotificationArns option in the Extra_Parameters, but it does not seem to work.

I've confirmed that the SNS topic ARN is valid, and there are no error being thrown during the running of the pipe.


Answers:
author: Halyna Berezovska
body: [@Clayo84](/t5/user/viewprofilepage/user-id/1684616) please, clarify what pipe are you using? We have about 15+ AWS pipes.

Do you mean aws-cloudformation-deploy pipe?

Also, please, share with us the pipes log with traceback (desirely from the start of pipe execution), so we can start to find the root cause.

Regards, Galyna


Tags: aws

bitbucket-pipelines

cloud

cloudformation
For Bitbucket cloud, how to track API rate limit from API responses?
Asked by Debashish Bharali:

Similar to JIRA and many other services where there are standard ways of tracking API rate limits using some of the following standard response headers:

* Retry-after
* X-RateLimit-Limit
* X-RateLimit-Remaining
* X-RateLimit-Reset

**Do we have some similar or same way to track API rate limits from API response for Bitbucket Cloud?**

**Same question for Bitbucket Server.**

Reference URL for JIRA Cloud: <https://developer.atlassian.com/cloud/jira/platform/rate-limiting/>


Answers:
author: David Bakkers
body: deleted


Tags: api

bitbucket-cloud

cloud

rest-api
can upgrate bitbucket at version 5.8 to 7.6 direct ?
Asked by Yembert Quintero:

I want to update the version of the bitbucket from version 5.6 to 7.6 but I would like to know if I have to pass a version in the middle like 6.10 to get to 7.6


Answers:
author: Christian Glockner
body: Hi Yembert,

Bitbucket Server does not require intermediate upgrades, so you can upgrade directly to 7.6.

For details see the Bitbucket Server 7.6 upgrade guide at <https://confluence.atlassian.com/bitbucketserver076/bitbucket-server-upgrade-guide-1026535776.html>

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Yembert Quintero
body: But only the server??? and data center ????.

Thanks for answering


author: Christian Glockner
body: Hi Yembert,

The same applies for Server and Data Center.

Cheers,

Christian

Premier Support Engineer

Atlassian


Tags: bitbucket-server

data-center

long-term-support

server

upgrade
how do i sort my 'Saved for later' page
Asked by Hector Magnanao:

how do i sort my saved for later page


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

Unfortunately you can't. View this issue here <https://jira.atlassian.com/browse/CONFSERVER-73805> and also read this post <https://community.atlassian.com/t5/Confluence-questions/In-Confluence-is-there-a-way-to-sort-the-quot-Saved-for-Later/qaq-p/699384>
Install own app for Confluence
Asked by Judit Vida:

When I would like to install an app for Confluence (which was created by a colleague of mine) I get an error message: "You aren't currently an admin of any sites. You'll need to be an admin of at least one site to install this app." Even though I'm an admin.

Can you help how could I install it?![Screenshot 2023-02-23 at 15.59.05.png](/t5/image/serverpage/image-id/242004i239EE26E7B5E0E69/image-size/large?v=v2&px=999 "Screenshot 2023-02-23 at 15.59.05.png")


Answers:
author: rsperezn
body: I had the same error, two hours later I figured out that I was trying to install it in my personal workspace and you can't do that. Create a new shared workspace and install your app, further info [here](https://developer.atlassian.com/platform/forge/build-a-hello-world-app-in-bitbucket/#set-up-a-shared-team-workspace)


Tags: cloud

confluence-cloud
How do we request a bug/issue be reopened?
Asked by Chris:

The following bug is happening for multiple people on my team:  

<https://jira.atlassian.com/browse/CONFCLOUD-54772>  

I do not see a way to indicate that it has returned other then commenting on a 'closed issue'.


Answers:
author: Nic Brough -Adaptavist-
body: Are your people using encoded characters in their URLs? Does it break when they use unencoded characters?

On your other point, free and starter licences (which means everyone using up to 10 people) do not have access to support, they will redirect back to the Community here. We do what we can to support people, but it's not technically support and we're not obliged to do anything.

(Personally, I don't care - 3 users or 30,000, if you have a problem or a good question, I'll try to answer if I have anything useful. I think most other community members think like that too)


Tags: cloud

confluence-cloud
How can we copy a page (including child pages) from one space to another without editing the name?
Asked by Shubham Jain:

I have more than 1 space in my confluence and I want a common page in all these spaces. When i am trying to copy one page (including child pages) from one to another space, confluence is asking me to change the title of these pages. I want one common page to be displayed in multiple spaces without changing anything in the page. Otherwise I would have to manually remove "Copy of" from the title when I am creating a copy.


Answers:
author: Rilwan Ahmed
body: Hi [@Shubham Jain](/t5/user/viewprofilepage/user-id/5154548) ,

Welcome to the community !!

While copying the page, you can remove "Copy of" text from name and keep only the required name as same as source page. Confluence will not allow to save pages only for same page names in same space.

Also if you want same content to be shown in different spaces, you can make use of [Include Page macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-include-page-macro/) in the destination page. It will always display the updated contents from source to destination.

If you want to show only a part of page in other pages, then make use of [excerpt include macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-excerpt-include-macro/)


Tags: cloud

confluence-cloud
Give access to Customer portal for guest users confluence
Asked by Ellen Beentjes:

Hi,

We use guest users for customers that only need access to one space (a customer space) in Confluence Cloud.

We also use Jira Service Management, however these users can't access any of the knowledgebase pages in the support portals.

Is there a way to give access to the service desk AND be a Confluence Cloud user?

Thanks!


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Ellen Beentjes](/t5/user/viewprofilepage/user-id/533711)

Unfortunately you can't. I can confirm that if a user (portal only, or with an account id) is a JSM customer he/she has access to KB. From the moment he/she is granted the guest permission, it automatically stops seeing the KB. Keep in mind that guests in confluence is still in BETA, so no wonder why that's happening. Given the fact that:
> Guests can only have access to one space at a time.

I don't think that currently you can achieve what you want.

comments: author: Ellen Beentjes
body: Hi Alex, so if you are not a user in confluence, you can have access (as a portal customer), but as a guest user, your access is denied?


author: Alex Koxaras _Relational_
body: I think that's pretty much what's happening. You stop being a portal customer and become a guest user. You have to see if granting that guest user guest access to the KB, give him back that visibility (keeping in mind that guests can have access to only one space).

And again, this is a BETA feature with the guests. I wouldn't be surprised if they fix this (imo I think they should). Let me check if I can find a suggestion somewhere..


author: Alex Koxaras _Relational_
body: There you are: <https://jira.atlassian.com/browse/CONFCLOUD-74966>

Already exists such suggestion.


author: James Waterman
body: Does anyone know if this has been resolved? We have just rolled out a Confluence space to guests who are already Jira Service Management (JSM) users and it has now blocked JSM access for them!


author: Ellen Beentjes
body: Not up to now. I have raised a support issue since this is seriously impacting our operations. No workaround has been provided so far and a proper resolution is estimated to take quite some time.


author: Cormang
body: Curious if this issue was resolved yet? We're moving from Confluence Server with Knowledge Base to JSM. The Customer Portal is not ideal as it's missing key features for navigating articles. For this reason, we'd like to also provide Guest access to our Knowledge Base in Confluence.


Tags: cloud

confluence-cloud

guest

jira-service-desk-cloud
How to get jira project objects via User Macro (VTL) in Confluence
Asked by lindix:

Is there an equivalent of $spaceManager.getAllSpaces() for the jira projects?

I am searching something like: #set($projects = $projectManager.getAllProjects())

I would like to create a user macro in Confluence that lists all the jira projects, their administrators, and the users (and/or groups)


Answers:
author: Radek Dost?l
body: Confluence has Spaces, Jira has Projects - regardless of whether you have application link between the 2 or not, you cannot use Jira's API inside Confluence - they're 2 totally separate boxes.

So you would need to GET (likely via an HTTP request) that data from Jira, and then parse the data into the macro.

Do you have ScriptRunner in Jira? If so you could create a REST endpoint which would return the data as json, then it should be relatively straightforward to call that endpoint from Confluence macro and parse the json.

If you don't have ScriptRunner then this becomes quite a bit more complicated.

Depends on the use case, but imo I wouldn't be trying to do this in Confluence, because everytime you open that page, it would have to go through the whole get, parse, not to mention the strain this could put on Jira if that script is resource taxing, which it easily can get. I don't think this is a good approach just from performance standpoint - you don't want to be generating that data all the time, there needs to be a scheduled job of sort (maybe daily), or some form of caching I'd say.


Tags: confluence-server

jira

server

user-macro
Does draw.io free account have limit for maximum number of diagrams per user?
Asked by Ilia Naumov:

Hello, one of our employees has encountered with error "reached the diagram limit (100) with free account". I\`m looking for details on the official draw io or confluence pages, but no luck so far.


Answers:
author: Carlotta Kuhn
body: Hi [@Ilia Naumov](/t5/user/viewprofilepage/user-id/4652099) ,   
there is a limit of 100 diagrams for the free version so the error your employee encountered is correct. You can delete older diagrams and you will be able to create new ones.

If you need more diagrams you can switch over to the paid version where you will receive access to an unlimited amount.

Have a good day!


Tags: cloud

confluence-cloud

draw.io