youngmon/atlassian-qna huggingface dataset:
How to customize the confluence macros?
Asked by Chad L:

Just starting to try and use Confluence/Wiki for visibility into our Jira defects.

But the out of the box macros seem very rigid, how do you customize them?

Example -- the Jira chart macro "created vs resolved" gets 90% of the way there, but I want to make it compare to an additional status besides resolved, how would we do that?

Or average age chart macro -- good, but doesn't list the actual numbers of ages, or give the ability to do multiple dimensions (age of a and age of b). Even the board gadget in Jira lists the actual age numbers in table form on maximization.

To summarize, how do I modify these simplistic macros to make them exactly what I want? Or even how can i use jira gadgets in a more customized manner?


Answers:
author: Nic Brough -Adaptavist-
body: The options for customisation are in front of you when you add or re-configure a macro.

To go further, you'd need to modify the code of the macros.


Tags: gadget

jira

macro
Paste page titles into Confluence and auto-format as links?
Asked by Susan Ostreicher:

I have a list of Confluence pages. I would like to paste them all into a new Confluence page and automatically create links to each page in the list.

I have the page titles, IDs, and URLs, so I could easily paste in the page titles as hyperlinks. But when I do that, Confluence treats them as hard-coded "web links" and does not count them as outgoing links under Page Information.

I could also surround the page titles with square brackets and paste them in that way -- for example, \[Page XYZ\]. But when I paste in text like that, Confluence does not auto-format it to a page link.

Is there any simple solution for this? Thanks!


Answers:
author: Jared Brenner
body: Hi Susan,

Do the pages share the same hierarchy? If so you could try the [Page Tree](https://confluence.atlassian.com/conf612/page-tree-macro-958777822.html) macro.

Good luck!

comments: author: Susan Ostreicher
body: Thanks for the suggestion, Jared! The list is a subset of pages from different parts of the page hierarchy, so I don't think the Page Tree macro would quite meet the need.


Tags: confluence-server

server
How to use rest api to create confluence page through confluence template
Asked by Rebecca Yun Lee:

Hi, All:

I searched the topic and see

<https://community.atlassian.com/t5/Questions-for-Confluence/how-to-create-a-confluence-page-from-template-via-rest-api/qaq-p/918>

So I followed the link and it seems like the solution does not work.

Can someone help here?

Thank you

Rebecca


Answers:
author: Diego
body: Hello there Rebecca!

This feature is still being worked on, according to this report:

**[CRA-818 \| Providing REST and Java API for Templates and Blueprints](https://jira.atlassian.com/browse/CRA-818)**

Currently, this is not yet supported on REST API for Confluence.

Please, let us know your thoughts.
How do I format a list of blog posts
Asked by Geoff_Tothill:

I am using the blog post macro to embed a list of recent blog posts into a landing page / dashboard. The titles of the posts seem to be in a very large font that I do not seem able to change.

Does anyone know how I can format the output provided by the blog post macro so that it better fits the rest of the page into which it is embedded?

Any help much appreciated.


Answers:
author: Jared Brenner
body: Hi Geoff,

If you set that macro's Content Type to Display property to "titles" it'll reduce the font to a more manageable size. I don't see any other documented methods to change the font size, so you'll need to play with CSS if that doesn't do the trick for you.

Good luck!

comments: author: Geoff_Tothill
body: Thanks so much for your reply - most helpful. It was the one configuration that I hadn't tried! It seems a shame that the macro does not have switches that allow the inserted content to more closely match the styles and format of the page.

I'm reluctant to mess around too much with the css on this, the hosted version - for once in my life I'm resisting the temptation to fiddle around too much with the base configuration.

All the best and thanks again,

Geoff.


author: Andreas Ljungstr?m
body: Hi,

you could also place your macro inside a DIV macro and style the DIV macro as you like. I tried that combination with the excerpt include and it worked nicely.

Andreas


Tags: blog
how to use confluence REST API in C#?
Asked by Siqing Li:

<https://achiapcd.atlassian.net/>

wants use .net C# application to do search content by REST API


Answers:
author: Thomas Deiler
body: Dear [@Siqing Li](/t5/user/viewprofilepage/user-id/2650677),

have a look at this [page](https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client). Of cause, you have to change the samples to fit to the Confluence REST API.

Here are some more links ([Link1](https://www.codeproject.com/tips/497123/how-to-make-rest-requests-with-csharp), [Link2](http://restsharp.org/)), but you can google more yourself.

So long

Thomas

comments: author: Siqing Li
body: Thank you, Thomas, your link 2 very helpful. I have done my MVC project to loopthough some my content page.


author: Thomas Deiler
body: [@Siqing Li](/t5/user/viewprofilepage/user-id/2650677) , nice to hear that you were successful. Please accept this answer, when you think this can help others, too.

So long

Thomas


Tags: cloud

confluence-cloud
Layer multiple Task Reports that you can filter through with Tabs
Asked by Sarah:

Is it possible to layer multiple Task reports that you can quickly switch through using tabs at the top? For example I use Task Reports as my teams action register, currently we each have one report that shows all our given task items across our space but I'd like to have a few extra customized reports that whittle down by person for specific tags but not take up too much real estate on the page. That way we can quickly bounce to a specific task report for that person without having to go into edit and changing the parameters every time for every person.


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello Sarah,

You can use [Table Filter](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) macro to filter multiple Task Reports by assignee without editing the page each time.

Also there are [some apps](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=tab) for creating tabs.


Tags: cloud

confluence-cloud

task-report-macro
Link to the Pull Request related to the issue is not showing via Jira Macro on a Confluence Page
Asked by Thiago Appella:

I have a Confluence page for all the releases of the team and I have a Jira Macro on this page to list the issues included in the release. Simple as that.

All issues have a Pull Request once they're done and the Jira Query used to list the issues in Confluence works pretty fine inside Jira, showing the Development status and Linking to the repository. However, using the same Jira Query for the Jira Macro inside a Confluence page doesnt show anything.  

Is it a bug? How to have the link to the Pull Request listed alongside the issue in a Jira Macro in Confluence?  

Thanks


Answers:
author: Taranjeet Singh
body: [@Thiago Appella](/t5/user/viewprofilepage/user-id/2650447) Can you share the JIRA query that you are using on JIRA side to list the Pull Requests along with issues?

comments: author: Thiago Appella
body: Sure thing [@Taranjeet Singh](/t5/user/viewprofilepage/user-id/1628162).  

So, if you use this Jira Query on Jira, it shows the pull request status and the link to github, for example.  

But if you use it in Jira Macro, inside Confluence, it shows nothing under the Development column it should display.  

project = XX AND fixVersion = "XYZ" AND ( (status =Done AND (development\[pullrequests\].merged \> 0 OR development\[pullrequests\].open \> 0)) OR status = Fixed)   

Thank you,


Tags: jira
Is Red Hat 7.6 / Apache 2.4 compatible with JIRA 7.0.9
Asked by Rolf Hansen:

We are currently using Red Hat RHEL 6.x and Apache 2.2. Our software may not work with Apache 2.4. Please advise.


Answers:
author: Taranjeet Singh
body: [@Rolf Hansen](/t5/user/viewprofilepage/user-id/2650098) JIRA 7.0.9 will be compatible and working fine on Red Hat 7.6 / Apache 2.4. The only issue is that these platforms are not listed in Supported Platforms for JIRA 7.0, which means, Atlassian does not test this JIRA version on these platforms and hence, will not be able to provide any support, in case there are any issues.


Tags: cloud

confluence-server

server
Is there a Confluence Server plugin in the marketplace that can bulk remove page watches?
Asked by Paul Gryfakis:

Atlassian Community -

I have been unsuccessful searching for a plugin similar to [Bulk Action Tools - Cloud](https://marketplace.atlassian.com/apps/1212559/bulk-action-tools) that I can use for Server.

Thank you in advance for recommendations.


Answers:
author: Mirek
body: Hi [@Paul Gryfakis](/t5/user/viewprofilepage/user-id/684707),

Maybe this? :)

[https://marketplace.atlassian.com/apps/1212399/simply-watches?tab=overview\&hosting=server](https://marketplace.atlassian.com/apps/1212399/simply-watches?tab=overview&hosting=server)

comments: author: Paul Gryfakis
body: Thanks [@Mirek](/t5/user/viewprofilepage/user-id/781521) - I missed this when searching the marketplace. This looks exactly like a good option to try for the 'watch' features. I'm a fan of Scriptrunner for Confluence for the page and label management.

Thank you.


Tags: atlassian-marketplace

bulk-edit

confluence-server

server

watcher
How to use emojis in content updated via REST API?
Asked by Sascha A. Carlin:

I am looking for a way to use emojis such as

```
(!)?
```

in content I push to Confluence Cloud via its REST API.

Is that possible? If so, how?


Answers:
author: Stephen Sifers
body: Hello Sascha and welcome to the Community!

You most definitely may insert emojis and emoticons via the REST API. When you're creating or editing a page you will pass through the emojis as follows via the storage format:

```
<p><ac:emoticon ac:name="tick" /> ;<ac:emoticon ac:name="warning" /> ;<ac:emoticon ac:name="cross" /> ;<ac:emoticon ac:name="plus" /> ;<ac:emoticon ac:name="minus" /></p>
```

More on REST API storage format (This is for server, the same syntax will apply to cloud): [Confluence Storage Format](https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html).

Here is what the actual page will look like:

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

I hope this proves helpful and enjoy adding :allthethings: to your content.

Regards,  
Stephen Sifers

comments: author: Sascha A. Carlin
body: Thank you Stephen!


author: Brendan Coughlan
body: Hi Stephen, I noticed that cloud has more emoticons than server does (e.g. the minus isn't listed on the confluence storage format for confluence server). Would it be possible to list the emoticons available for cloud in the documentation.   

For me especially the light bulb on and off would be very helpful.

EDIT:  
light-on and light-off is used for the emoticons lightbulb on and lightbulb off


Tags: api

cloud

confluence-cloud
how to find macro in select macro window?
Asked by bhavna bhatt:

I tried to search cheese macro by writing " {che" in search textbox of select macro window. No results came out.


Answers:
author: Stephen Sifers
body: Hello Bhavna and welcome to the Community!

Macro autofill should work while typing with the exceptions of deleting or clicking outside of the editing area.

We need to understand a few things to see why the autofill is not working as expected.

* Are you using Confluence Server or Confluence Cloud
* Are you experiencing this with all macros or just the Cheese macro?
* When you use the Select Macro, is Cheese available within there?
  * ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/44349iD2056E1A9B28E136/image-dimensions/261x160?v=v2 "image.png")

Something to be aware of with Confluence Cloud is that some macros will be deprecated soon. You may find more about which Marcos this applies to at [We're cleaning up the macro browser](https://confluence.atlassian.com/confcloud/we-re-cleaning-up-the-macro-browser-946028471.html).

We look forward to your response so we may assist with resolving your issue.

Regards,  
Stephen Sifers

comments: author: bhavna bhatt
body: Thank you Stephen :)
How to Integrate Confluence to my Web Application?
Asked by Aravind Sankar:

I would like to integrate the confluence search directory into my web application so the users can directly search application related documents from the application itself.

Is there a way to integrate and view the confluence documents inside of my application itself with my application UI rather than an Iframe kind of design?


Answers:
author: Diego
body: Hello there! Thanks for sharing with the Community Aravind.

You could try to interact with Confluence via **REST API** . You can send **Confluence Query Language** (CQL) strings to your instance via REST:

```
curl -u username:password -G "http://myhost:8090/rest/api/content/search" \--data-urlencode "cql=text ~ \"My Search\"" \| python -m json.tool
```

**note:**you need to escape " with \\ when using python to send the cURL. This is why I used \\"My Seearch\\"

We do not have much information on **what kind**of application you are working on. However, you could use a variable as a payload to be inserted in the search string. The \~ operator is the CONTAINS one, used to search for strings.

For further information on the REST API and it's uses, you can check it here:

**[Advanced Searching Using CQL - Contains](https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/#contains)**

Let us know your thoughts!

comments: author: Aravind Sankar
body: Thank you for the quick response.

I am currently using

https://myhost:8090/rest/quicknav/1/search?query=TEST\&spaceKey=abcd

but using this i am able to restrict searching with only one space but my requirement is to search in 3 spaces and in the above URL i am not able to send a list of space keys.

Can you help me out on how to frame a similar kind of URL which i can hit on the browser and check using cql as i dont have python installed and i dont want to use curl.

Kindly send me a url using cql where i can search a particular string in 3 spaces.I checked and learnt that there is**space.key in (abcd, lmn , xyz)**in cql to search in 3 spaces but not getting a proper example where i can check the same.

Kindly send me the same url which i can copy paste on my browser where i can change my host and query and spacekey and get results on the browser itself.

Thanks in advance.


Tags: atl-dev

confluence-server

server
Missing pages section in sidebar
Asked by Anthony Peyron:

Hi there,

It's now been a week, that the "**Pages**" section in the left-side bar of confluence is missing in certain spaces.

There are no setting to hide or display those pages in the settings of the space except displaying *blog* and *overview.*

Thanks,


Answers:
author: Shannon S
body: Anthony,

Does this occur for all of your spaces? Have all users been able to replicate the issue?

Lastly, does this occur in only Firefox or Safari, or also Chrome?

Shannon

comments: author: Anthony Peyron
body: Hi Shannon,

All user are affected, and only one space is affected. Other spaces are fine.

We all use Chrome, but I've just tried with Firefox and it worked, I can see the pages in the side bar for this space.

How can I fix this on chrome ? Is this cache related or a confluence bug ?

Thanks !


author: Shannon S
body: I saw a similar issue but it was working on Chrome but not Firefox. Very odd!

On that space, do you happen to have a homepage set? I remember an issue from a while ago where if there was no homepage set, it would cause the pagetree not to load.

Shannon


author: Anthony Peyron
body: It looks like it's all working back to normal now.

I've changed nothing.


author: Shannon S
body: Anthony,

Thank you for letting me know. If you run into the issue again, please feel free to raise a ticket with the [Cloud support team](https://support.atlassian.com/contact#) so we can have a look at your specific instance and logs to see if we can track down the cause of the error.

Regards,

Shannon


author: Anna Alexeeva
body: I have exactly the same problem for a few days. I have registered a few days ago and I have only 1 space. I'm using Chrome and I also set up the home page. Actually, the problem appeared after the homepage was set up. When I go to Recent and choose one of the created pages, the pages trea appears in the left sidebar. But then it disappears again. [@Shannon S](/t5/user/viewprofilepage/user-id/510046)

![no pages.png](https://community.atlassian.com/t5/image/serverpage/image-id/111307i7BD6CBED319F8CA6/image-dimensions/227x365?v=v2 "no pages.png")


author: Claudia
body: I'm facing the same problem =/


Tags: cloud

confluence-cloud
How can i display a pptm using ppt macro?
Asked by Angelpetre:

I have a page in confluence and i need to display some pptm in order to edit it


Answers:
author: Jared Brenner
body: Hi Angel,

The [Office Powerpoint](https://docs.atlassian.com/confluence/docs-612/View+File+Macro#powerpoint) macro can display .ppt files, but the .pptm extension is not supported. You can upload any filetype to a Confluence page for a user to download, and when they do they have the option to Edit With a compatible program installed on their machine. Once they make and save their edits, Confluence will update the file on that page. This saves the user the trouble of downloading the file, making their edits, saving the file, changing the version number of the file, editing the Confluence page, deleting the old version, and uploading the new version.

The paid [Microsoft Office App for Confluence](https://ikuteam.com/documentation.html) might have the functionality you're looking for.

Good luck!


Tags: confluence-server

server
getting xml file type Atom
Asked by ??????? ???????:

Purpose: to get an xml file of the Atom type, including the content of any page (including the blog) with base64 images.  
What ways are found:  
Use the REST API to retrieve data in JSON format (rest/api/content/11111?expand=body.export_view), further retrieve data in the Body property and get references via another one using the REST API (/rest/api/content/8686732/child/attachment).   
This method is inconvenient by double accessing the page and the need to analyze the received data in JSON format.


Answers:
author: Nic Brough -Adaptavist-
body: Do you have a question here?

comments: author: ??????? ???????
body: Is there any other way?


author: Nic Brough -Adaptavist-
body: No, the REST call is the only way to do it. I can't see any more efficient approach to getting the attachment - you have to know what to fetch in the second call, and as you don't know, you need the first call in order to find out what you want.


Tags: confluence-server

server
Jira pages feature with different Confluence instance
Asked by Kevin Boosten:

Jira has a new feature called: **Pages**

![image2018-9-28_15-12-20](/t5/image/serverpage/image-id/44189i1BF4C96FD2C2F532/image-size/large?v=v2&px=999 "image2018-9-28_15-12-20")

<https://confluence.atlassian.com/cloudkb/the-new-pages-feature-in-jira-software-project-958770525.html>

*"When you have Jira and Confluence on the same instance, you just need to connect a Jira project with a Confluence space, and you're good to go."*

But what if I've already got Confluence running on a different instance?

Is there any way to use the **Pages**without migrating my existing Confluence instance to the same instance as Jira?


Answers:
author: Suren Raj
body: Hi Kevin,

After consultation with the developer team, they confirmed that this isn't a supported feature where JIRA pages link does not work if you have a separate confluence domain and there is an open feature request which can be tracked here:

* <https://jira.atlassian.com/browse/JRACLOUD-69045>\]

You can add yourself as a watcher if you want to get further updates on the feature request. The feature will be addressed in accordance with our[New Features Policy,](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) you can read it to better understand how Atlassian developers handle these inquiries.

Warm regards,  
Suren Raj


Tags: cloud

confluence-cloud

jira

jira-cloud
Is it possible to define different Site Home Page for different users groups?
Asked by Piotr Koszela:

Hello,

It is possible to define a Site Home Page (described here: <https://confluence.atlassian.com/doc/configuring-the-site-home-page-138140.html>).

Is it possible to define different Site Home Page (page that will be displayed just after logging in) for different users groups? A Confluance in our company has spaces for customers, partners and internal spaces for our employees. I would like to create a Landing Page with useful links displayed just after logging in, but the set of information on such a site will be diffrenet for different user groups.

Thank you in advance.

Kind regards

Piotr Koszela


Answers:
author: Shannon S
body: Piotr,

It's not possible to set a different homepage based on groups. We had a feature request for this but it has been closed as we do not have plans to implement this in the near future:

* [CONFSERVER-41102](https://jira.atlassian.com/browse/CONFSERVER-41102) *Ability to Set Confluence Homepage Based on Groups*

I did a bit more research on this, and it seems it might be possible with one of the following add-ons:

* [Confluence Homepage Add-ons from Marketplace](https://marketplace.atlassian.com/search?product=confluence&query=homepage%20group)

Have a look at those and do let us know if you have any questions.

Regards,

Shannon

comments: author: Piotr Koszela
body: Thank you for your help.

Kind regards

Piotr


Tags: atlassian-marketplace

confluence-server

server
I installed confluence on my windows 2016 server. Now i need to set a backup on PostgreSQL database.
Asked by Tono Kuriakose:

Recently installed confluence on my windows 2016 server.

Now i need to set a backup data on PostgreSQL database.


Answers:
author: Shannon S
body: Tono,

Can you let me know exactly what you are looking to do? Are you asking us how to make a backup on PostgreSQL?

You can reference [Configuring Backups](https://confluence.atlassian.com/doc/configuring-backups-138348.html) for information on creating backups in Confluence.

To backup your database it depends what version you're using and what tools you have at hand, but for that I would recommend contacting your database administrator. They will be able to help you with that.

Regards,

Shannon


Tags: confluence-server

server