youngmon/atlassian-qna huggingface dataset:
How to plugin the SSL certificate into bitbucket-pipelines.yml file as the tests are over HTTPS?
Asked by Bhala:

I have got tests which needs to run over HTTPS REST API webservices, can anyone tell me the step-by-step instructions to plugin the SSL certificate that I have got with .pfx \& .crt files.


Answers:
author: Gopinath Emmidisetty
body: Hello [@Bhala](/t5/user/viewprofilepage/user-id/815454)

We got that resolved after adding the following line to the bitbucket pipeline yml file

* keytool -importcert -trustcacerts -noprompt -alias -ouralias -file OUR.crt -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass ourpass

comments: author: Bhala
body: Thanks a lot for saving my time. Much appreciated.


author: Maurice Wingfield
body: Thank you for sharing your solution here. Where does the file OUR.crt actually reside?


author: Bhala
body: you can generate one or get the required certificate from your colleagues that to be used.


author: Halyna Berezovska
body: Hello [@Bhala](/t5/user/viewprofilepage/user-id/3561455) ! Right now, there are no embedded way to use ca certs , but you can use an image where your certificates are installed.

Look at this thread and doc, it might help you:

<https://stackoverflow.com/questions/20078185/using-keytool-to-install-a-security-certificate#20128324>

<https://docs.docker.com/registry/insecure/#use-self-signed-certificates>

However, we will report about this feature interest, I guess, this would be really kill-feature

Regards, Galyna


Tags: bitbucket-pipelines
404 Not Found firebasedeploy
Asked by Maximos Sapranidis:

I am trying to use firebasedeploy pipe for deployment and I am getting the following error:  

    Status: Downloaded newer image for bitbucketpipelines/firebase-deploy:0.2.1INFO: Executing the pipe...INFO: Starting deployment of the project to Firebase.? Error: HTTP Error: 404, Method not found.

It seems this could be related to the version of the CLI used?


Answers:
author: Halyna Berezovska
body: [@Maximos Sapranidis](/t5/user/viewprofilepage/user-id/4150766) in current firebase it is working fine. At some older versions it failed with such error, but for our test cases was working fine.

Anyway now we do not know, how you are using the pipe, please, share your pipeline firebase-deploy pipe part.

The root cause can also be not in CLI only, but in google-cloud-functions configuration or hosting, but to investigate that in more detail, we need to know specific preconditions.

Also, we have released new version 0.7.0 where firebase-toolks cli is updated to 1.14.1. You can try it.

Thanks!

comments: author: Maximos Sapranidis
body: Thank you for the answer [@Halyna Berezovska](/t5/user/viewprofilepage/user-id/3865505) I am using the following step (sorry for the formatting):

- step:

name: Deploy DEV

deployment: staging

script:

- pipe: atlassian/firebase-deploy:0.2.1

variables:

FIREBASE_TOKEN: $FIREBASE_TOKEN

PROJECT_ID: $PROD_PROJECT_ID

I was only able to find version 0.2.1 please let me know where to find the other versions?  
I will also try with 0.7.0 and update the question with the results


author: Halyna Berezovska
body: [@Maximos Sapranidis](/t5/user/viewprofilepage/user-id/4150766) yes, you can find latest version here <https://bitbucket.org/atlassian/firebase-deploy/src/0.7.0/pipe.yml> .

To use this, just write in pipeline code

```
- step:
  name: Deploy DEV
  deployment: staging
  script:
  - pipe: atlassian/firebase-deploy:0.7.0
    variables:
      FIREBASE_TOKEN: $FIREBASE_TOKEN
      PROJECT_ID: $PROD_PROJECT_ID
```

Looking forward to getting feedback from you. Thanks!


author: Maximos Sapranidis
body: I am trying to post a reply but for whatever reason, it seems that I cannot.

The above didn't work, now I am seeing an error about firebase-functions missing and suggesting I should do an npm install but I am doing that already on previous steps


Tags: bitbucket-pipelines

firebase
Is there anywhere I can find the source code of Bitbucket Server?
Asked by levoncf:

I wanna analyze the source code of Bitbucket Server, but I cannot find it anywhere.


Answers:
author: Nic Brough -Adaptavist-
body: You can download it from your my.atlassian.com account, assuming you have a qualifying licence and agree not to share any of it.


Tags: bitbucket-server

server
Edit section template
Asked by Evgeniy S_:

Dear community, I'm sorry if the issue is resolved, I did not find it.

We need the ability to edit global templates of sections, not pages to select when creating new projects.

![2023-01-31_15-44-30.png](https://community.atlassian.com/t5/image/serverpage/image-id/237384i7CBCC95C27B3FFF3/image-size/large?v=v2&px=999 "2023-01-31_15-44-30.png")

Can I somehow change or create a new template section?  
You need a section, because you need to create a certain hierarchy of nested pages in the template.

I found only the creation of page templates, not sections.

Thank you very much in advance.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Evgeniy S_](/t5/user/viewprofilepage/user-id/4640938)

Can you please explain on how to find the above screen? This looks very new to me and I can't find it on my instance.

comments: author: Evgeniy S_
body: Hello.  
This is when creating a new partition.  
You can choose a template for the section, but they are all standard.  
That's what I want to change.

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


author: Alex Koxaras _Relational_
body: [@Evgeniy S_](/t5/user/viewprofilepage/user-id/4640938) this is the "create space" functionality. The options you see are the spaces blueprints which you can't change, but you can disable them. To add more you have to go to the marketplace.atlassian.com and find additional there.


author: Evgeniy S_
body: Very unfortunate, there is potential for bringing spaces to the same format.

Thanks for the answer.


Tags: cloud

confluence-cloud
How can I add flow charts to my page, I get access denied when adding lucidchart app
Asked by Roman Rosh:

I want to have flowchart on my page, is there an app to do it?

I tried adding lucidchart and it does not seem to be configured for my organization


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

Yes, there are a number of apps in the [marketplace](https://marketplace.atlassian.com/search?product=confluence&query=diagram) that can help you diagrams, but they will all need to be installed and configured by your admins.


Tags: cloud

confluence-cloud
Do you have any solution regarding Broken Images in pages?
Asked by Nahla Mellouki:

either with copy paste or uploading the image from local laptop: The image is broke![40a9fb6e-7b59-4188-b72e-7a202d4c0e31.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/237394i7A990AA15CF24B6D/image-size/large?v=v2&px=999 "40a9fb6e-7b59-4188-b72e-7a202d4c0e31.jpg")![b6cdb25e-ab6a-4b91-9a90-c93abc418570.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/237396iA16EBB155646AAD4/image-size/large?v=v2&px=999 "b6cdb25e-ab6a-4b91-9a90-c93abc418570.jpg")


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

The message above the image suggests that your session has expired, so it can't do the paste or upload.

The image itself doesn't look broken, but you might want to check that it is in a valid format.


Tags: confluence-server

server
How to get Confluence license details using API
Asked by manoj reddy gajjala:

Hi All,

Is there any Confluence API to get license availability.

Remaining Seats

License available:

Tried below:

confluenceurl/rest/api/license -- getting 404

/rest/license/1.0/license/details---

{  
"licenseType": "DEV",  
"dataCenter": true,  
"subscription": true,  
"evaluation": false,  
"expired": false,  
"creationDate": 166000,  
"purchaseDate": 160000,  
"expiryDate": 1698584400000,  
"maintenanceExpiryDate": 169858440990  
}

Thanks!!


Answers:
author: Pushpanjali Shivaramu
body: Hi Manoj,

Hope you are doing well :smile:

We have below rest endpoints available,

* /rest/license/1.0/license/remainingSeats
* /rest/license/1.0/license/details
* /rest/license/1.0/license/maxUsers
* /rest/license/1.0/license/organisation
* /rest/license/1.0/license/userCount
* /rest/license/1.0/license/validate

You can get the details on **Remaining seats** using the end point **/rest/license/1.0/license/remainingSeats**

Regards,  
Pushpanjali S


Tags: confluence-server

server
Liste des documents confluence avec leur statut
Asked by G?raldine Rorive:

Bonjour,

puisqu'il est possible d'ajouter un statut ? une page confluence, peut-on cr?er une liste de tous les documents avec une colonne qui reprend les statuts de ces pages ? merci


Answers:
author: marc -Collabello--Phase Locked-
body: C'est impossible avec les fonctions int?gr?es de Confluence.

comments: author: G?raldine Rorive
body: Dommage :-( ... c'eut ?t? tr?s utile.

Merci pour la r?ponse


author: Anais ATIENZA
body: Bonjour !

Depuis un an, existe-t-il une nouvelle fonctionnalit? permettant de lister les documents Confluence avec leur statut s'il vous plait ?

Merci de votre aide


Tags: cloud

confluence-cloud
How can I delete a diagram from Apps-Draw io Diagrams list?
Asked by Bahadir Uyanik:

Hei,  

I inserted couple of ugly drawio diagrams to my confluence page and deleted them from my confluence attachment but they are still on drawio diagrams list. It says diagram not found when I click on them, which is normal. What is the way of deleting them?   

Thanks in advance.   

![45544.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/237389i328CFD175DE7C880/image-size/large?v=v2&px=999 "45544.jpg")


Answers:
author: Michael Stahl
body: Found the answer!

First, delete the drawing as Bahadir did and as explained here:

<https://community.atlassian.com/t5/Confluence-questions/Deleting-a-draw-io-diagram/qaq-p/2265723>

Apps -\> Manage Apps -\> Expand the details of Draw.io -\> select the Configure button.

Select "draw.io re-indexing" (beta)

Optional: Select the space you want to clean up

Click Start Indexing.

Note: The page that contained (the deleted) drawing must not be open in edit mode.


author: Bastian -drawio Diagrams-
body: Thank you [@Michael Stahl](/t5/user/viewprofilepage/user-id/5106422) for the answer. The original question somehow managed to get around all our filters (probably because of the space between draw and io) so thanks for stepping in :D


author: Michael Stahl
body: +1. Looking also for an answer!


Tags: cloud

confluence-cloud

draw.io
Update an Excel which automatically update confluence page
Asked by Charanya Muthukaruppiah:

I need to edit an excel sheet and expect the data to be populated in confluence page automatically. i need this to work each time there is an update to excel. Any ways to achieve it?


Answers:
author: Ibrahim ElMasry
body: There is no option that will allow you to update an Excel sheet which is stored on your desktop/locally and sync it with a file which is stored in Confluence. However, ++you can use an app like "Microsoft Excel+ for Confluence" that integrates with Confluence.++ You can check its details here:   
[https://marketplace.atlassian.com/apps/1225961/microsoft-excel-for-confluence?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1225961/microsoft-excel-for-confluence?tab=overview&hosting=cloud)


Tags: cloud

confluence-cloud
How to get the most recent comment of an issue in jira
Asked by Ashwini Ganesan:

Please share the query to get the most recent comment of an issue id in jira

SELECT CONCAT(P.pkey,'-',JI.issuenum) as issuekey, JA.actionbody, JI.updated as 'update', JI.id  
FROM jira_jiraaction JA  
JOIN jira_jiraissue JI ON JA.issueid = JI.id  
JOIN jira_project P ON JI.project = P.id  
WHERE JA.actiontype = 'comment'  

this returns all the comment but I the most recent comment for each id


Answers:
author: Mohamed Benziane
body: Hi,

You could do something like this

```
SELECT CONCAT(P.pkey,'-',JI.issuenum) as issuekey, JA.actionbody, JI.updated as 'update', JI.id
FROM jira_jiraaction JA
JOIN jira_jiraissue JI ON JA.issueid = JI.id
JOIN jira_project P ON JI.project = P.id
WHERE JA.actiontype = 'comment'
ORDER BY JA.id DESC
LIMIT 1
```
How to get all pages order as like in confluence
Asked by Sundar sarma:

**In my confluence space , the order of the pages looks like the below:**

Main Documents(Parent Page)

* General documentation 2
* Legacy 4 Documentation
* Product Oriented documennts
* Design 5 Documents.

after calling confluence API:confluence/rest/api/search?cql=parent+%3D+109844176%20

the order of pages in the json reponse is different. it is not as like in the above order.

**In JSON response from confluence the order like below:**

Main Documents(Parent Page)

* Legacy 4 Documentation
* Product Oriented documents
* Design 5 Documents.
* General documentation 2

I want the response as like the order in confluence.

Note: Even in the future, if change the order in confluence by using reorder list option, it should get latest reorder list in the response


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

Please read the following post: <https://community.developer.atlassian.com/t/get-space-page-hierarchy-using-the-rest-api/15999>

comments: author: Sundar sarma
body: Hi [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197)

You did not get my question.

I have edited my question to get a clear understanding. Please look again


author: Alex Koxaras _Relational_
body: [@Sundar sarma](/t5/user/viewprofilepage/user-id/5134177) yes I did get your question right the first time. Again, please take a look at the above link. Did you even read it? It has the solution: <https://community.developer.atlassian.com/t/get-space-page-hierarchy-using-the-rest-api/15999/8?u=alexkoxaras>


author: Sundar sarma
body: Thanks [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) i am able to get the order


author: Alex Koxaras _Relational_
body: Good to know that!


Tags: confluence-server

server
Trello board in confluence - not able to import and show boards through macro
Asked by Thomas Gr?ndahl:

When trying to show trello boards through the trello-macro in confluence there seems to be a problem. It seems like som sort of bug, and the only thing showing is a broken link and a message "App is not responding".

Anyone else experience similar? What can I do?

![Skjermbilde213.PNG](/t5/image/serverpage/image-id/237323i0AC7EA511E7F4860/image-size/large?v=v2&px=999 "Skjermbilde213.PNG")


Answers:
author: Brant Schroeder
body: [@Thomas Gr?ndahl](/t5/user/viewprofilepage/user-id/5133386) Welcome to the Atlassian community

Does your Trello account use the same Atlassian account as Confluence?


Tags: cloud

confluence-cloud
Calling update_or_create() on an archived page - error returned?
Asked by Craig Anderson:

I'm calling the Python API update_or_create on a page which has been archived.

I'm getting an exception: atlassian.errors.ApiNotFoundError

The exception message is "Can not find draft with current content".

Looking through the Atlassian code, I see that it is testing if the page exists. It does, then the code tries to update the page, which fails.

Anyone else encounter this?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Craig Anderson](/t5/user/viewprofilepage/user-id/4772324) ,

an archived page is not retrieved in the search and it could impact also the api. This should be the cause.

Fabio


Tags: api

cloud

confluence-cloud

python
Insert Jira ticket, its description and status in Confluence
Asked by Vinodh Sirikonda:

Hi all,

I would like to attach Jira ticket, description and dynamic status in confluence. Please help me how to attach it.


Answers:
author: Mikael Sandberg
body: Hi [@Vinodh Sirikonda](/t5/user/viewprofilepage/user-id/5133913),

Welcome to Atlassian Community!

You can do this by using the [Jira issues macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-jira-issues-macro/) it allows you to show a list of issues based on a filter.

comments: author: Vinodh Sirikonda
body: I am able to do like this only using Jira Issues macro. I need Ticket number, description and dynamic status of the ticket.

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


author: Vinodh Sirikonda
body: Thanks for your reply.


Tags: cloud

confluence-cloud

jira
Page tree not loading
Asked by Casey Cain:

The page tree is not visible to me on my new computer. This happens across several different spaces/domains. It does not appear to be an issue with HTTP/HTTPS. There is no a permissions issue. I can see the page tree on my other computer no problem.

I've tried other browsers, and that doesn't seem to fix the issue either, which was my first guess. Does anyone have some suggestions as to what could be causing this?


Answers:
author: Casey Cain
body: ![Screenshot 2023-01-30 132824.png](https://community.atlassian.com/t5/image/serverpage/image-id/237261i269E41345739A840/image-size/large?v=v2&px=999 "Screenshot 2023-01-30 132824.png")

Screenshot is of the sidebar.

comments: author: Martin
body: Same here. Problem started with an update. I think to version 8.5.6.
Real time search doesn't work
Asked by Cristian Grando:

Hey,

I'm building a search page in my project, but doesn't work well. When I search logged in my account, the component work and list the results.

When I used the anonymous tab or I was unlogged, the search engine doesn't list any thing.

Anyone knows, what I need to fix?

![Screenshot 2023-01-30 at 17.53.46.png](/t5/image/serverpage/image-id/237260iB167B49FEDDA4347/image-size/large?v=v2&px=999 "Screenshot 2023-01-30 at 17.53.46.png")![Screenshot 2023-01-30 at 17.54.01.png](/t5/image/serverpage/image-id/237259iBF5C47161B5F72C1/image-size/large?v=v2&px=999 "Screenshot 2023-01-30 at 17.54.01.png")


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Cristian Grando](/t5/user/viewprofilepage/user-id/4762830)

Do you have any page restrictions on these pages?

comments: author: Cristian Grando
body: Hi Alex! Thanks to reply.

I don't found any page restricted in the space.


author: Alex Koxaras _Relational_
body: [@Cristian Grando](/t5/user/viewprofilepage/user-id/4762830)

It seems that unlicensed users can't use the live search gadget. There is an open bug in the ticket below, which you can watch and vote for it:

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


author: Cristian Grando
body: ? I'll vote and watch the ticket.

Thanks to reply, Alex. Have a great day!


author: Alex Koxaras _Relational_
body: [@Cristian Grando](/t5/user/viewprofilepage/user-id/4762830) no problem!

Kindly mark my answer as accepted, in order to help others with similar questions to find proper answers. Thank you!


Tags: cloud

confluence-cloud
Inserting dynamic content by label using macro
Asked by Ahmet Dumlu:

I would like to dynamically insert content by filtering with labels. What I mean dynamically is that every time a new content is added, I want that to be included in my page automatically. However, I wasn't able to do that because when I try to use Insert 'Content by label' macro, it doesn't allow me to put a regular expression. It only works with exact matches of label. Is there any way to insert pages dynamically?


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

I don't think so that you can do that. Can you please describe a bit more what kind of "dynamic" you mean? E.g. you want to include all labels?

comments: author: Ahmet Dumlu
body: I would like to insert all content that has label starting with "labelname". So that everytime someone creates a page that has a label name starting with "labelname" will be automatically included in that page.


author: Alex Koxaras _Relational_
body: [@Ahmet Dumlu](/t5/user/viewprofilepage/user-id/5133789) that's exactly what this macro does. If you want e.g. to include all pages that has a label called "dog" then every time you add a page with the label dog, it will appear there.


Tags: cloud

confluence-cloud
Permanent Link of a specific version of a page
Asked by Soroush_Heydarian:

Is it possible to reference (link) to a specific version of a page, for example page A, in another page, for example Page B, and keep the linked reference unchanged in case of an update on page A?


Answers:
author: Laura Campbell _Seibert Media_
body: Hi [@Soroush_Heydarian](/t5/user/viewprofilepage/user-id/5133778)

Welcome to Community!

You could provide a link to a version of a page (click on the 3 dots to open the menu and find the page history), but only the last version is actually published. Your need is probably best met by an app like [Scroll Documents](https://marketplace.atlassian.com/apps/1217608/scroll-documents-for-confluence?tab=overview&hosting=cloud).


Tags: cloud

confluence-cloud
Will anything break if I change the Space Category of an existing Space?
Asked by Sheila Glass:

I'm rationalizing \& cleaning up our Confluence environment - I would like to change some of the existing space categories (i.e. from blank to knowledge base or from knowledge base to documentation or knowledge base to documentation). Will anything break or be lost in the space if I change the space category?

(Or, am I better off to create a new space with the proper category and move all the documents to the new space).

Thanks!

Sheila


Answers:
author: carlosughini
body: Hi Sheila,

If you've got lots of related spaces, you can use labels to group them together into categories in the **Space Directory**.

For example, if you're in an IT team who work on a number of projects, each in a different space, you could label each space 'IT-projects-open'. Then in the Space Directory you could select IT-projects-open to see all your current IT project spaces.

You can add as many space categories to a space as you need, so that if, for example, two different teams are working on a project together, you can add labels for both teams and space will appear under both categories.

Labels are easy to add or remove, so if your needs change, you can always recategorize your spaces.

You need space administrator permissions to add categories to a space. Then, you can follow the steps below:

1. Go to the space and choose **Space tools** \> **Overview** from the bottom of the sidebar
2. Choose **Edit** next to **Space Categories**.
3. Under **Space Categories** , enter your category name and choose **Add** .  
   Alternatively, choose a category in the list of **Suggested Space Categories**.
4. Choose **Done**.

By adding/updating the category it won't break or change anything in the space, do not need to worry about it.

Please let me know how it goes.

Kind regards,

Carlos

comments: author: Sheila Glass
body: Thanks Carlos!

"*adding/updating the category it won't break or change anything in the space*"

I appreciate you reply to my question and the additional info!

Cheers,

Sheila


Tags: cloud

confluence-cloud
Embed Confluence page into Figma
Asked by Ben-Ari, Maya:

Can you embed a Confluence page into a Figma file? I'd like to write text in Confluence and have it appear in Figma.


Answers:
author: Brant Schroeder
body: [@Ben-Ari, Maya](/t5/user/viewprofilepage/user-id/5133699) Welcome to the Atlassian community

You can embed a Figma file into Confluence but there is no way to embed Confluence into Figma.


Tags: cloud

confluence-cloud

figma