youngmon/atlassian-qna huggingface dataset:
What's the best way to create a Confluence page and then pass in information from a Jira issue?
Asked by Alexis Evans:

Using Python, I want to either create a new Confluence page, or clone an existing "template" page. Then, I want to get a Jira issue, take some information from it, and then pass that information into the Confluence page. Any tips?


Answers:
author: Damian
body: Hey [@Alexis Evans](/t5/user/viewprofilepage/user-id/4997072)

Not sure if this may be suitable but you could also do it from Jira via an Automation rule. I remember saving a post on it:

[Automating the creation of a Confluence page linked to Jira](https://community.atlassian.com/t5/Jira-Cloud-Admins-articles/Automating-the-creation-of-a-Confluence-page-linked-to-a-Jira/ba-p/1654271)

I haven't done it myself but I have used the REST APIs to do a lot of that:

* [Confluence Server REST API](https://developer.atlassian.com/server/confluence/confluence-server-rest-api/)
* [Confluence Cloud REST API](https://developer.atlassian.com/cloud/confluence/rest/intro/)
* [Jira Server REST API](https://developer.atlassian.com/server/jira/platform/rest-apis/)
* [Jira Cloud REST API](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/)
* [Jira/Confluence Python API](https://github.com/atlassian-api/atlassian-python-api) - not Atlassian developed but well established and updated regularly

comments: author: Alexis Evans
body: Thanks for the links! I was wondering about the APIs, but also whether the Automation rules would cover the functionality I need. That would minimize the code needed, and probably be a more straightforward path.


author: Trudy Claspill
body: Hello [@Alexis Evans](/t5/user/viewprofilepage/user-id/4997072)

Have you reviewed the functionality available through the APIs for each product?

Are you trying to work with the REST API for each product, or with the atlassian-python-api PyPI package?

Do you want the Jira information on the Confluence page to be static, or do you want a live link to the Jira issue?

Are you using Cloud product or on-prem/self-hosted products?

comments: author: Alexis Evans
body: I have looked a little bit into the atlassian-python-api, not so much into the product-specific ones, but good to know they exist! I think having the Jira information on the Confluence page update live as the issue is updated might be nice. Do you know whether the APIs would have any functionality that just using Jira Automation rules wouldn't provide?


author: Trudy Claspill
body: I have not worked through trying to automatically create a Confuence page through Jira Automation or the APIs.

I did just find this article that talks about creating a page through Jira Automation and adding content to it to display a single Jira issue. Perhaps that will be useful to you.

<https://community.atlassian.com/t5/Jira-articles/Automating-the-creation-of-a-Confluence-page-linked-to-a-Jira/ba-p/1760738>

(credit to [@Esther Strom](/t5/user/viewprofilepage/user-id/2991092) )


Tags: jira
Confluence-Jira issues search
Asked by Jeffrey Rethford:

Hello all,

I am trying to create a Confluence space that will allow me to search for specific Jira issues within a specific project based off of Summary and/or labels. I have both the Jira project and the Confluence space created, however, I am having trouble figuring out a way to search through those Jira issues on Confluence. I have added the Jira issues Macro on Confluence which is good but it only lists out the issues. Once I get upwards of 100 or so issues I will need to search through them to pull out specific ones I want to see. The livesearch macro and the Page tree Search macro will not allow me to search through the issues. I would write a groovy script to assist but I can't seem to find anything that is relevant. Any help you can provide would be greatly appreciated.

Thanks,

Jeff


Answers:
author: Robby Holtmann_IntraFind Software AG_
body: [@Jeffrey Rethford](/t5/user/viewprofilepage/user-id/4752970)

unfortunately, I can't tell you how to do that with confluence standard tools.

With our solution [iFinder Confluence Search](https://marketplace.atlassian.com/apps/1220508/ifinder-confluence-search?hosting=server&tab=overview) you will get an Enterprise Search engine for your confluence. Here you can add further data sources \& applications (with additional costs) like Jira, File Shares, SharePoint, and many more.

For each additional source, we can extend the search filters and facets according to the source. e.g. summary, labels, custom fields, Jira status, Jira project key, and many more.

So you can quickly find what you are looking for in Jira.

The connection to Jira may not be relevant for all Confluence users. With our search profiles, each user group gets exactly the search functions that are relevant to them.

These articles may help you:

* [iFinder Confluence Search](https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Enterprise-Search-for-Confluence/ba-p/1584172)
* [iFinder Search Macro](https://community.atlassian.com/t5/Marketplace-Apps-Integrations/iFinder-Search-Macro-for-Confluence/ba-p/1717979)

Let me know, if you need further information or like to get a demo first.

Best

Robby


Tags: cloud

confluence-cloud
Jira Cloud Roadmap in Confluence Server
Asked by Akhand Pratap Singh:

Hi   

Is there a way to add Jira Cloud Roadmap, to a Confluence Server Space?


Answers:
author: Florian Bonniec
body: Hi [@Akhand Pratap Singh](/t5/user/viewprofilepage/user-id/3064000)

Not sure if it works for Cloud but did you check the Advanced Roadmap app for Confluence DC/Server ?

[https://marketplace.atlassian.com/apps/1221237/portfolio-for-jira-plans-in-confluence?tab=overview\&hosting=datacenter](https://marketplace.atlassian.com/apps/1221237/portfolio-for-jira-plans-in-confluence?tab=overview&hosting=datacenter)

comments: author: Akhand Pratap Singh
body: Hi [@Florian Bonniec](/t5/user/viewprofilepage/user-id/495589)   

It deals with Advanced Roadmap, right? I just want to embed simple Roadmap that is there in Jira Cloud.


author: Florian Bonniec
body: Yes but never test with a Roadmap from a Cloud version of JIRA, only DC. It's worse trying this as it's free and created by Atlassian.

Regards


Tags: confluence-server

server
'Error loading the extension!' with a page which has HTML macro created using confluence REST API
Asked by Pradeep Ragav:

![Screenshot from 2022-08-08 20-02-24.png](https://community.atlassian.com/t5/image/serverpage/image-id/210029iE1725BCD8E1261EC/image-size/large?v=v2&px=999 "Screenshot from 2022-08-08 20-02-24.png")  

Trying to create an HTML page using Confluence REST API   

curl -X POST \\  
<https://whatfix.atlassian.net/wiki/rest/api/content> \\  
-H 'Content-Type: application/json' \\  
-H 'cache-control: no-cache' \\  
-d '{  
"type": "page",  
"title": "My Test Page 15",  
"version":{{"number":"1" }},  
"body": {  
"storage": {  
"value": "\<ac:structured-macro ac:name=\\"html\\" ac:schema-version=\\"1\\" ac:macro-id=\\"74c5d460-d9c1-4259-9489-5ca2cea8314c\\"\>\<ac:plain-text-body\>\<!\[CDATA\[\<div\>\<ul\>\<li\>\<a href=\\"#Domain1\\"\>Domain1\</a\>\</li\>\<li\>\<a href=\\"#Domain2\\"\>Domain2\</a\>\</li\>\<li\>\<a href=\\"#Domain3\\"\>Domain3\</a\>\</li\>\<li\>\<a href=\\"#Domain4\\"\>Domain4\</a\>\</li\>\<li\>\<a href=\\"#Domain5\\"\>Domain5\</a\>\</li\>\</ul\>\</div\>\<br/\>\<div\>\<table\> \<colgroup\>\<col/\>\<col/\>\</colgroup\>\<tr\>\<th\>Domain\</th\>\<th\>System Count\</th\>\</tr\>\<tr\>\<td\>Domain1\</td\>\<td\>653\</td\>\</tr\>\<tr\>\<td\>Domain2\</td\>\<td\>2\</td\>\</tr\>\<tr\>\<td\>Domain3\</td\>\<td\>527\</td\>\</tr\>\<tr\>\<td\>Domain4\</td\>\<td\>2\</td\>\</tr\>\<tr\>\<td\>Domain5\</td\>\<td\>2\</td\>\</tr\>\</table\>\</div\>\<br/\>\]\]\>\</ac:plain-text-body\>\</ac:structured-macro\>",  
"representation": "storage"  
}  
}  
}'  

The error from dev console is   
![Screenshot from 2022-08-08 20-09-12.png](https://community.atlassian.com/t5/image/serverpage/image-id/210030iC7EA01163FFDD6F8/image-size/large?v=v2&px=999 "Screenshot from 2022-08-08 20-09-12.png")  

I could insert an html manually by using HTML Macro but not through the REST API.  

Thanks in advance


Answers:
author: Tyler Thrailkill
body: I'm seeing the same thing. Did you ever find a solution?


Tags: cloud

confluence-cloud
When will public links be available in Confluence Cloud?
Asked by Catherine SAMIOS:

Hello, I'd like to know when will the public links be available in Confluence Cloud.


Answers:
author: Manon Soubies-Camy
body: Hi [@Catherine SAMIOS](/t5/user/viewprofilepage/user-id/5003483) and welcome to Community!

Public links will be available shortly after the [new sharing experience](https://community.atlassian.com/t5/Confluence-articles/New-page-sharing-experience-coming-soon-to-Confluence-Cloud/ba-p/1847361) is released at the end of the year. So we can expect public links to be released early 2023.

Hope this helps,

- Manon

comments: author: Catherine SAMIOS
body: Thank you very much Manon, I'm looking forward to it :-)


author: Marc Orcutt
body: So, according to the linked 'New Sharing Experience' document, this feature is now on-hold indefinitely? This would be a highly useful feature as the PDF and Word export features don't seem to work that well with scaled \& justified images.


Tags: cloud

confluence-cloud
Need to add content, instead of updating the whole page while using API
Asked by Cihat KARAPINAR:

Hi All,

I got a script output that needs to be uploaded on a page in my confluence space, once in a day. But every time it deletes the previous data. Is it possible to add insted of update.

Best regards.


Answers:
author: Andrea
body: [@Cihat KARAPINAR](/t5/user/viewprofilepage/user-id/5003460) could you please give a bit more information and/or show what you are coding right now to get this unwanted result? It is hard to say why it is not working without knowing what / how you are doing it.

tnx

comments: author: Cihat KARAPINAR
body: Hi Andrea,

I have a powershell script. It returns a list of users and details from a specifig group. The script is running once in a day and the result can be zero or multiple lines. When script result is not null it calls a function. This function invoke a API call. In this API I can update my page but every update I lost my old data. I need to add lines and keep existing data.

Best regards.


author: Cihat KARAPINAR
body: example BODY for API

{  
"id": "46596419",  
"type": "page",  
"title": "testapiburada",  
"space": {  
"key": "SY"  
},  
"body": {  
"storage": {  
"value": "\<p\>{variable's from script.}\</p\>",  
"representation": "storage"  
}  
},  
"version": {  
"number": 10  
}  
}


author: Andrea
body: you ARE using the AtlassianAPI, aren't you? you would have to call append_page() or prepend_page() to insert new content after/before the existing one.

If you are directly using post() you'll have to first extract the existing body, then concatenate old body and your new addition before you can post the complete content.

AltlassianConfluenceAPI really makes it much easier.


Tags: confluence-server

server
Link to Page Comments
Asked by Jackie Craine:

Is there a way to create a direct link to page comment section? It appears there is no way to access the comment section to add features.

Is there a way to display page comments on another page?

I also noticed that the page comments don't even show up on a table of contents.

We are using the page comments to share professional development articles, is there a better way to create a feed on a page?


Answers:
author: Nicolai Sibler
body: Hi [@Jackie Craine](/t5/user/viewprofilepage/user-id/4845862) ,

as for your questions:

* I just tested to create a link to the comment section and it worked!   
  ? \[page url}#comments-section
* I don't think there's a way to display comments on another place out of the box because they are not part of the page content
* Comments do show in a TOC, when some comment content is formatted as a heading - as the TOC shows headings
* Regarding better ways to create a feed: It depends on what you want to display. If the focus is on the bare list of articles, pasting the links on the page itself should be sufficient. If you want to display both the user and the time he posted on the page, it takes some efforts from the users or a plugin

Hope that helps!

Kind regards,

Nicolai

comments: author: Jackie Craine
body: This worked perfectly! I was able to use the link to develop a button on our home page that takes you directly to the comments section. THANKS!


author: Nicolai Sibler
body: Kindly mark my answer as accepted to make it easier for other people searching for the same thing :-)


author: Lotee Abraham
body: My WhatsApp number is +256 786663464 is on ok AM waiting for you


author: Lotee Abraham
body: Yes how are you I love you so much baby but the problem AM poor boy but I love you sweetheart you try to tock to me now


author: Summer Hogan
body: Hi [@Jackie Craine](/t5/user/viewprofilepage/user-id/4845862) - did you try the advice on this page under "Comments"?

<https://support.atlassian.com/confluence-cloud/docs/insert-links-and-anchors/>

I could not find any advice for adding comments to the TOC. This might be a feature you can request.


Tags: comment

confluence-server

server
Space directory has disapeared
Asked by Yannick Djomo:

Hello,

I am running Confluence server 7.13.8, and somehow, our space directory has dissapeared. We can still access our space from the dropdown menu, but once going through the space directory itself; it shows empty. Any suggestion?

Thank you!

Yannick.


Answers:
author: AAMIR ANSARI
body: Hi [@Yannick Djomo](/t5/user/viewprofilepage/user-id/4960606) ,

Some of the potential reasons for such issues are below:

1. Corrupt Indexes
2. Customisations
3. Or any incompatible third-party plugin with the updated confluence version.

Please try below in the following sequence:

1. Rebuilt indexes from scratch by following - <https://confluence.atlassian.com/confkb/how-to-rebuild-the-content-indexes-from-scratch-on-confluence-server-110035351.html>
2. Clear Customisation by following - [https://confluence.atlassian.com/confkb/how-to-clear-customizations-from-confluence-314447086.html#:\~:text=Delete%20any%20custom%20HTML%20in,page%20to%20the%20default%20Layouts](https://confluence.atlassian.com/confkb/how-to-clear-customizations-from-confluence-314447086.html#:~:text=Delete%20any%20custom%20HTML%20in,page%20to%20the%20default%20Layouts).
3. Run in Safe mode by following - <https://confluence.atlassian.com/upm/disabling-and-enabling-apps-273875716.html>

I hope this helps.

Thanks,

Aamir


Tags: confluence-server

server

space-directory
URL link open in a new window
Asked by Matt Ryan:

Is there a way to have a URL in a confluence page open the external site in a new window?


Answers:
author: Patrick Vanhoof
body: There is a way you can quite easily accomplish this, explained in article <https://confluence.atlassian.com/confkb/how-to-force-links-to-open-in-a-new-window-213518072.html>


author: Eugenio Onofre
body: Hey [@Matt Ryan](/t5/user/viewprofilepage/user-id/5003425)  
Welcome to the Atlassian Community.  

As per our documentation, Confluence does not provide an option to configure a link to open in a new window or tab.

You can achieve it by using plugins. A free option is "Link Opener for Confluence", available in Atlassian Marketplace.

Regards,  
Eugenio


Tags: confluence-server

server
When implementing retention rules for the first time, might pages be deleted, or versions only?
Asked by Khloe Salmon:

Hi all,

I'm looking for a bit of advice and help!

We've had Confluence for around 12 years, however in that time there has not been any retention rules set up ( ! ), so I'm looking to get this sorted.

One scenario / question: If we set retention rules to 3 years, but a page was last edited 4 years ago, does that mean the page will be deleted? Or, will the page remain but it will have no past versions?

Has anyone else implemented the retention rules after a long period, and have any learnings to share?!

Many thanks

Khloe


Answers:
author: Ivan Lima
body: Hi [@Khloe Salmon](/t5/user/viewprofilepage/user-id/4479810), although I haven't explored it much, pages and attachments' latest versions won't get deleted, only the history. You might have checked it by now, but I'll leave the link to the documentation as a reference.

<https://confluence.atlassian.com/doc/set-retention-rules-to-delete-unwanted-data-1108681072.html>

comments: author: Khloe Salmon
body: Thanks Ivan, I had missed the bit that states the latest version is never deleted!


Tags: confluence-server

server
Bullet point in database
Asked by Rebecca Lyal:

Hi,

I am testing the use of Orderly Databases to store information on activations our partners are doing for a campaign we are hosting. This includes pieces of long text that would be useful to be bulleted.

The 'text' field on databases does not immediately allow this, or even allow a new line of text to be started by pressing the Enter key.

Is there a work-around? We are currently using an Excel table to store this information but I wanted to modernise the process.

Thanks!


Answers:
author: Max Foerster - K15t
body: Hi [@Rebecca Lyal](/t5/user/viewprofilepage/user-id/5003384) , and welcome to the Atlassian Community! ?

I'm happy to hear that you're evaluating Orderly Databases. ?

You are right that you have to enable multiline text first in the configuration of the field. We've added a checkmark to allow line breaks:

![text_field_orderly_config.png](https://community.atlassian.com/t5/image/serverpage/image-id/210023iCA6E1500D3C8143E/image-dimensions/361x329?v=v2 "text_field_orderly_config.png")

This can happen during the initial addition of the new field or later in the configuration. After that, you'll be able to add as many line breaks as you need to the field (by pressing the Enter key).

In the same way, you can currently add dashes manually to visually structure your content and make it easier to read for users.

![orderly_text_field_example.png](https://community.atlassian.com/t5/image/serverpage/image-id/210024i9E3D5C50A0039017/image-dimensions/446x164?v=v2 "orderly_text_field_example.png")

I know this feels more like a workaround, and I imagine you would prefer more formatting options. We have already discussed this internally and plan to work on the issue in the future. So bear with us a bit longer. ? Is there anything else I can help you with right now?

Best, Max


Tags: cloud

database
how to make the file options bar show up above version history
Asked by Stephie Smith:

On a Confluence page where files are listed, is there any way to make the file options (preview, view, properties, delete, lock, unlock, etc.) show up directly under the file name, rather than at the bottom of the Version History list? We just recently upgraded to the Cloud version; I don't remember having this issue with the previous one. I didn't set the page up. The only properties that show up for each file are the file name and the modified time/by whom info. When I click on the arrow to the left of the file name, I have to scroll down hundreds of versions to get to these properties.![version history.png](/t5/image/serverpage/image-id/210002i1917292B95B81CF7/image-size/large?v=v2&px=999 "version history.png")


Answers:
author: Brant Schroeder
body: [@Stephie Smith](/t5/user/viewprofilepage/user-id/5003312) Welcome to the Atlassian community

Unfortunately, that is how the delivered product works and there is no way to change it. You can submit a feature request here: <https://jira.atlassian.com/secure/Dashboard.jspa>


Tags: cloud

confluence-cloud
Blog Overview is not updated
Asked by Prasad Eda:

Hello Team,

Our blog overview doesn't show last entries:

on left side you can see the entries but not in the overview (the first 3 missing!)

![image-2022-08-02-09-58-08-753.png](/t5/image/serverpage/image-id/210001i488563DB77075213/image-size/large?v=v2&px=999 "image-2022-08-02-09-58-08-753.png")

Regards,

Prasad E


Answers:
author: Nicolai Sibler
body: Hi [@Prasad Eda](/t5/user/viewprofilepage/user-id/4231994) ,

the overview you posted is not Confluence's standard.

Obviously it's generated by some kind of customization, most likely from a 3rd party plugin. If that is the case, your Site Admin will help you out with this - or clarify the issue with the app vendor.

Hope that helps!

Kind regards,

Nicolai


Tags: confluence-server

server
Pretty Confluence URLs (no /pages/{blah} section)
Asked by Rob Allen:

Hi,

I'm evaulating Confluence Cloud for our wiki and all the pages seem to be of the format:

```
https://{mycompany}.atlassian.net/wiki/spaces/{space name}/pages/{some numbers}/{page title}
```

It's quite ugly and long-winded.  

Can I configure it so that the URL doesn't contain the "spaces/" or the "pages/{number}"?


Answers:
author: Thuan_ Do Dang
body: Hi [@Rob Allen](/t5/user/viewprofilepage/user-id/4793326) ,

Have you shared pages by this link yet? It's a short link of a page.![Confluence short link.png](https://community.atlassian.com/t5/image/serverpage/image-id/209996i5A968C9706760DAD/image-size/large?v=v2&px=999 "Confluence short link.png")

comments: author: Rob Allen
body: I've shared some pages via that copy link "button", but not every page. Pages that I have not shared, also have this format.


author: Rob Allen
body: Also, that's a *short* link?  

A short link would sure be /wiki/{space}/{numbers} ?!


author: mstrong
body: I still find that format ugly as it's not helpful to know where you're being directed. What about accessibility here?  

example: <https://XXXX.atlassian.net/l/cp/kmF11Pvo>


Tags: cloud

confluence-cloud
Pre-filling a variable field in a template, based on another variable field
Asked by Edd Tillen:

I'm trying to pre-fill one variable, when I select an item in another variable.

If this was Excel, for example, it would be a pretty simple IF formula. IF(variable 1 = "x", variable 2 = "y", "z").

Can I do similar automations in a confluence template?


Answers:
author: Edd Tillen
body: Unfortunately neither of these would quite work, as the variable is in the middle of other text. So I've just made several versions of the template in the end, and the relevant fields are then pre-filled in for each template, and users just have to choose the right template to start with.


author: Alexey Mikhaylov _Stiltsoft_
body: Hello [@Edd Tillen](/t5/user/viewprofilepage/user-id/4976490),

If you use our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app, your use case can be easily implemented with its [Table Spreadsheet](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Spreadsheet+macro?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources%20&utm_vendorID=1216111) macro as it provides Excel-like view and functionality in Confluence.

Best regards,

Alexey


author: Shardul Juyal_Addteq_
body: Hi [@Edd Tillen](/t5/user/viewprofilepage/user-id/4976490)

You can use our [Excellentable](https://marketplace.atlassian.com/apps/1211672/excellentable-spreadsheet-for-confluence?tab=overview&hosting=cloud) spreadsheet for Confluence and use data validation just like you would in Excel.

You can also import an already existing excel with the data validation in excellentable


Tags: cloud

confluence-cloud

template