youngmon/atlassian-qna huggingface dataset:
Enhancement request for "Childern Display" macro
Asked by Mark Kyprianou:

I would like to be able to specify an optional wildcard match on the children pages to include in the macro definition. For example, I want to display all children pages in a space with the name \*minutes\*.

NOTE: I could add a label to each of the desired children pages, and use the "Content By Label" macro, but I have a lot of pages to edit and this would be faster.


Answers:
author: Davin Studer
body: Labels really would be the way to go. That is kind of the point of labels ... to group kinds of documents. If your are programming inclined you could use the rest api to add the labels. If this is a one-off kind of thing you could install an add-on that would help with the process such as the one below (I've no affilation with them) and then build it into your page creation process to add the labels going forward.

[Label Manager for Confluence](https://marketplace.atlassian.com/plugins/com.kostebekteknoloji.plugins.confluence.confluence-label-manager/server/overview)


author: Nic Brough -Adaptavist-
body: Probably worth raising this as a suggestion over at <https://jira.atlassian.com/browse/CONFSERVER>


Tags: macro
Image quality deteriorates when the page is published
Asked by Aleg Kavalenka:

When I insert images into the page, I resize them and they look good. But when I hit the Update or Close button to exit the edit mode, the image quality drastically goes down. I'm using Confluence 6.2.0.


Answers:
author: Steffen Heller
body: How do you "publish" your pages?

comments: author: Aleg Kavalenka
body: Sorry, the button is labelled as "Update" for already published pages. Anyway, I think there is some issue.

You can see it on the following snapshots:

1. This is how the image looks on the page in Edit mode:

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

2. This how it looks after I exit the Edit mode:

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


author: Steffen Heller
body: Just a guess:  
Do you resize the image to less than 300 Pixel?  
Does the problem also appear when you resize to a size bigger than 300 Pixel?


Tags: image
Script for Bulk delete users in Confluence local directory
Asked by Rilwan Ahmed:

Please share the script for deleting bulk users in Confluence local directory.

For examples: 100 users


Answers:
author: _lluis5847
body: Just for anyone else looking for this as I spend a few days trying to find something to do this easily with.

[https://marketplace.atlassian.com/apps/1215278/user-management-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1215278/user-management-for-confluence?hosting=server&tab=overview)


author: Davin Studer
body: You could do it with the REST api if you are programatically inclined. Or if this is a one off kind of thing you ould try an add-on from the marketplace that could do it. I've provided a link below (I've no affiliation with them).

[User Management for Confluence](https://marketplace.atlassian.com/plugins/org.techtime.confluence.plugins.usermanagement/server/overview)
Add page watchers with REST API
Asked by Support:

Do we have REST API support for Adding watchers for version 6.2.0. Any examples on this?


Answers:
author: Daniel Eads {unmonitored account}
body: Hi Dan,

This is not "officially" supported and doesn't appear in the published API documentation. However, there are a couple workarounds:

1. You can retrieve watchers for a page based on its ID (just tested this on 6.2.1): \<your_confluence_url\>/json/listwatchers.action?pageId=\<pageID\> - easy to just pull this up in your browser but remember you will need to provide some auth if you're doing this via script
2. Robert Krause points out an undocumented API endpoint you can use to modify the list [on this previous question](https://community.atlassian.com/t5/Answers-Developer-Questions/Manage-Watchers-with-Confluence-REST-API/qaq-p/560447)

comments: author: Support
body: I can get #1 working on mine but #2, does not work. Thanks


Tags: rest-api
Hosting Confluence in Azure App Services
Asked by Jacob Hodges:

Is it possible to host Confluence in Azure App Services? It looks like Azure App Services has good support for Java apps.


Answers:
author: Denis Boisvert
body: Yes it's possible but do not use the azure database. It's not supported by Atlassian:

[https://jira.atlassian.com/browse/CONFSERVER-31299?jql=project%20%3D%20CONFSERVER%20AND%20text%20\~%20azure](https://jira.atlassian.com/browse/CONFSERVER-31299?jql=project%20%3D%20CONFSERVER%20AND%20text%20~%20azure)

comments: author: chetan vartak
body: I think support for azure database will eventually be there. But I wonder how Confluence can be hosted in Azure App Services. Confluence can of course be hosted on a Azure VM. But looks like Azure App Services is for deploying apps and not for hosting vendor products.

If you think Conflunce can be deployed/hosted in Azure App Services, Could you please provide some detials/links if any.
limiting a index macro ?
Asked by sn:

hi,

we use confluence 5.10 and i want to use the index macro on our space landing pages. but i do not like the way it shows all the index hyperlinks.

1. can i limit this index macro to show only the pages with topics.( ex- if i dont have a page staring with numbers, i dont want to show the hyperlink in the index"0-9")
2. can i not show the lower section which contains lists of page titles followed by the first few sentences of content on that page?

thanks


Answers:
author: Melvin
body: Hi, I think you can use the "Children Display" macro for this. This Macro can be customized. Please let me know if it helps.
How do I create multi-page and sub-page templates in Confluence Server?
Asked by kobull:

I am looking at building a plugin that contains 40 different page templates for a process I help manage. There is a table of contents, a process checklist, and a series of documents that are to be linked to from the checklist via a clickable reference. There are multiple layers of nesting for different collections of documents based on some of the 40 templates. I also want to be able to integrate with the "Create Page from Blueprint Macro" and have the page created in the appropriate nested area.

Can this be done with Confluence Server? If so, what training courses or resources do I need to review to be brought up to speed?

The tutorial [here](https://developer.atlassian.com/confdev/confluence-plugin-guide/confluence-blueprints/write-a-simple-confluence-blueprint-plugin) is far too simple for the complex, inter-dependent, multi-nesting-layer template I want to have my plugin build.

[**Edit 1:**](https://community.atlassian.com/t5/Confluence-questions/Template-vs-Blueprint/qaq-p/190847)

It looks like the team at eps.sh has at least a version of what I am going for [here](https://community.atlassian.com/t5/Confluence-questions/Template-vs-Blueprint/qaq-p/190847?)


Answers:
author: Steven Behnke
body: I would think you would just use a standard Blueprint Plugin Module and listen for it to be created so that you can create the additional pages in response via an Event Listener.

comments: author: kobull
body: This sounds right. Do you know of an example repository or documentation that shows how to do this?


author: Robert Reiner _smartics_
body: This blog post may be have some hints:

<https://community.atlassian.com/t5/Answers-Developer-Questions/Create-blueprint-with-child-page-s/qaq-p/492152>


author: Pascal Beaudry
body: Hi Kent, if you don't want to create your own blueprint, you could use a template manager tools.

If you also have a Jira instance, you could use one of the 2 following product to create a Page Tree Template in Confluence:

* Gaia for Jira (if you want to create a Space with the Page Tree)
* Gaia Activity + Page Template (if you want to create the page tree in an existing space)

<br />

Using those tools, you could export a Space or a Page Tree Template.  

You could add macro and parameter that will be use during the instanciation.


Tags: blueprint

confluence-app

confluence-development

questions-for-confluence

template
After sharing a page in Confluence the data hangs on to it
Asked by Srikanth Kola:

After I click share button on a confluence page, the user data just stays there after sharing.

![share.PNG](/t5/image/serverpage/image-id/2103i5524C312475A468F/image-size/large?v=v2&px=999 "share.PNG")


Answers:
author: Davin Studer
body: I don't think this is necessarily a bug rather maube just a usability issue. One thing to note in the most recent versions (6.0+) the share feature has changed entirely, so even if you submit a feature request to Atlassian it would not go anywhere as they have changed the functionality entirely (for the worse in my opinion). The new functionality is that they just present you with a short url that you can copy and paste into you own email program and send yourself.

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/2134iBB7668CE22F67EA7/image-size/large?v=v2&px=999 "Capture.PNG")

**Update: So, I'm a goob. See my response after Ann's. The reason I didn't see the message section is becasue I removed the mail server setup for my test instance. :)**

comments: author: AnnWorley
body: On my Confluence 6.2.x test instance the Add People field appeared after I configured an email server:

![Screen Shot 2017-06-13 at 2.43.22 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/2135i4ABD49C4E5928EEE/image-size/large?v=v2&px=999 "Screen Shot 2017-06-13 at 2.43.22 PM.png")

But my Cloud instance looks like Davin's.

If you are hosting your own Confluence, please try reindexing from this guide: [Content Index Administration](https://confluence.atlassian.com/display/DOC/Content+Index+Administration) and if that doesn't work, rebuilding the content indexes from scratch as described in [How to Rebuild the Content Indexes From Scratch on Confluence Server](https://confluence.atlassian.com/display/CONFKB/How+to+Rebuild+the+Content+Indexes+From+Scratch+on+Confluence+Server)


author: Davin Studer
body: Ah ... that must be why I don't see it ... I removed the mail server from my test instance. It was actualyl kinda troubling to me to not see the message box. :) Good to know. Thanks.


author: Srikanth Kola
body: Thanks guys
Is it possible to output all posts with the initial letter "a" at the blog posts macro?
Asked by Andreas Fuchs:

I would like to have all blog posts where the title starts with the initial letter "a", for example. Can you set a filter for this?


Answers:
author: Melvin
body: Hi, maybe you can use the searchbox macro for this? You can search for the letter A and all the blog posts titles that start with the initial letter A will show up.


Tags: blog
SQL needed for space access by user
Asked by Andy Boze:

I need to produce a report, for some arbitrary period of time and every space, who has accessed the space and how many times during the time period. Does anyone have any idea how I might do this? I'm relatively inexperienced with SQL and even less so with the Confluence schema.

We're running Confluence version 5.7.1 and MySQL 5.1.73.

Thanks!


Answers:
author: Nic Brough -Adaptavist-
body: Confluence doesn't natively track "access" to spaces, so there's nothing stored you could even begin to query.

You'll need to look at one of the tracker add-ons you can get.

comments: author: Andy Boze
body: Instead of user access to a space, would it be possible to get the number of page views per user for a space via a SQL query?


author: AnnWorley
body: Confluence doesn't write records to the database to track users accessing pages. There are user access logs you can turn on, but they won't look like a report.

Nic's suggestion of trying a tracking add-on is a good idea.

There are other ideas on this page:

[How to Enable User Access Logging](https://confluence.atlassian.com/confkb/how-to-enable-user-access-logging-182943.html)


author: Nic Brough -Adaptavist-
body: Please, re-read the first sentence of my answer.


author: Andy Boze
body: Sorry, when you wrote spaces, I didn't understand that to mean pages as well. Thanks for the assistance.


author: Andy Boze
body: Thanks, Ann. I'll take a look at the page.


Tags: sql
Add Gliffy Diagram popup not working
Asked by Krishan Khandpur:

I have created a new blank page and am trying to add a new Gliffy Diagram, but the insert diagram pop up does not work anymore. It shows up for a second and then disappears.

this is the error message from chrome's debugger:  
com.atlassian.plugins.atlassian-connect-plugin:confluence-macro-v5.js?acjsFiveVersionEnabled=true:5 Uncaught ReferenceError: connectHost is not defined at Object.openCustomEditor (com.atlassian.plugins.atlassian-connect-plugin:confluence-macro-v5.js?acjsFiveVersionEnabled=true:5) at Object.opener (com.atlassian.plugins.atlassian-connect-plugin:macro-editor-resources-v5.js?acjsFiveVersionEnabled=...:20) at Object.loadMacroInBrowser (com.atlassian.confluence.plugins.confluence-macro-browser:macro-browser-js.js?locale=en-GB:76) at Object.successCallback \[as success\] (com.atlassian.confluence.plugins.confluence-macro-browser:macro-browser-js.js?locale=en-GB:124) at d (jquery-min.js:1) at Object.fireWith \[as resolveWith\] (jquery-min.js:1) at r (jquery-min.js:3) at XMLHttpRequest.r (jquery-min.js:3)  

|---|--------------------|---|-----------------------------------------------------------------------------------------------------------|
|   | openCustomEditor   | @ | com.atlassian.plugins.atlassian-connect-plugin:confluence-macro-v5.js?acjsFiveVersionEnabled=true:5       |
|   | opener             | @ | com.atlassian.plugins.atlassian-connect-plugin:macro-editor-resources-v5.js?acjsFiveVersionEnabled=...:20 |
|   | loadMacroInBrowser | @ | com.atlassian.confluence.plugins.confluence-macro-browser:macro-browser-js.js?locale=en-GB:76             |
|   | successCallback    | @ | com.atlassian.confluence.plugins.confluence-macro-browser:macro-browser-js.js?locale=en-GB:124            |
|   | d                  | @ | jquery-min.js:1                                                                                           |
|   | fireWith           | @ | jquery-min.js:1                                                                                           |
|   | r                  | @ | jquery-min.js:3                                                                                           |
|   | r                  | @ | jquery-min.js:3                                                                                           |

Any advice is appreciated!


Answers:
author: Krishan Khandpur
body: I just deleted the page and created a new one, that seemed to have fixed the error.
How do I get the actual page path
Asked by Nikolaj J?ker:

I want to write a macro that inserts a link to the WebDav path of the current page.

I cant find anything besides $req.requestURI and $content.getUrlPath() which returns the "short path" of the page, which doesn't work with webdav. So how do I get the "full path" of the page?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Nikolaj J?ker](/t5/user/viewprofilepage/user-id/1135799) ,

please try

    $action.getGlobalSettings().getBaseUrl()$content.getUrlPath()
macros in wiki markup
Asked by Ferenc Szecsi:

Hi,

I have just upgraded to Confluence version 6.1.1

In the previous version (5.9.5) i was able to add macros in wiki markup, for not it says unknown macro for all that i've tried with

Tried other macros too, but none seem to work now.

Any suggestions?


Answers:
author: Ferenc Szecsi
body: Yes, macros were working fine before the upgrade.

I have tried this workaround with metadata and i can confirm it works.

However i am still unable to add page-info macro e.g. It says unkown macro, but i have "Page Info for Scriptrunner Confluence" add-on installed.

I understand it changed, as Scriptrunner was not required before to use page-info.

I don't see page-info listed here:

<https://confluence.atlassian.com/doc/macros-139387.html>

Is this something that can't be added anymore?


author: AnnWorley
body: "Unknown macro" frequently means a plugin is disabled that the macro relies on. Do the macros appear as expected on pages that already had them before the upgrade?

When I tried pasting the wiki markup for the [User List Macro](https://confluence.atlassian.com/doc/user-list-macro-139546.html) the editor did not convert it enough to report "unknown macro". It just displayed the markup as text. I was able to insert the markup and have the macro appear in the editor when I used the Plus sign drropdown option \> Markup.

I got that workaround from this bug report:

[Pasting wiki markup into editor pane fails to convert](https://jira.atlassian.com/browse/CONFSERVER-33533)

Our documentation is a little confusing because this page says the editor will convert your markup: [Confluence Wiki Markup](https://confluence.atlassian.com/doc/confluence-wiki-markup-251003035.html) . But the pages that provide the markup for the macros mention that it's for use "when you want to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space."

I will look into the matter and find out what the expected behavior really is.

comments: author: AnnWorley
body: PS - I just tried typing instead of pasting and the editor converted the markup.


Tags: markup
Can you export a Confluence page to your own Word Template?
Asked by Melvin:

I was wondering if you can export a Confluence page to your own made Word Template. Does anybody has experience with this?


Answers:
author: Nic Brough -Adaptavist-
body: If you mean you want to run page exports through a word template, then no, not natively. However, the Scroll Office Exporter add-on does allow you to something that's almost that.

comments: author: Melvin
body: Yes, I want to run page exports through my own Word template. I shall try Scroll Office! Thanks.
How to create documentation hub look like on confluence.atlassian.com?
Asked by iamjusticetirael:

Hi!

How to create documentation hub look like on <https://confluence.atlassian.com/alldoc/atlassian-documentation-32243719.html> ?

Plugins, or settings for confluence?


Answers:
author: AnnWorley
body: A great deal of the look and feel is provided by [Scroll Viewport](https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-viewport/server/overview), so I will say it is more plugins than settings.


Tags: confluence-administration

user
Integration SVN files to Confluence page
Asked by Alexei:

Hello.

Could you please help.

How to connect SVN files (xlsx/doc etc.) to Confluence page.

Which macro or plugins need for that?

Thank you.


Answers:
author: Nic Brough -Adaptavist-
body: I'm not aware of any add-ons that do much with Subversion and Confluence.

You could use a simple link if your Subversion repo has a web-front end, but I'm not sure that's what you need, as "connect" and "integrate" are generalised words that tell us nothing about what you are trying to do.


Tags: svn
How to find pages where plugin is used in confluence 5.0.3 version
Asked by Sumit Bandopadhaya:

Hello,

Can you please tell me if there is any way to tell which pages in confluence version 5.0.3 use a particular plugin.

I have tried macroName: x\* where x is MacroName, but it doesn't works.


Answers:
author: Thomas Schlegel
body: Hi Sumit,

this is exactly the right query and it works well in my Confluence 5.10.7

comments: author: Sumit Bandopadhaya
body: Hi Thomas,

We are using the version 5.0.3 Kindly help.


author: AnnWorley
body: Please try [How to find all pages and spaces that use a specific macro via SQL](https://confluence.atlassian.com/confkb/how-to-find-all-pages-and-spaces-that-use-a-specific-macro-via-sql-747837116.html).

comments: author: Sumit Bandopadhaya
body: Hi Ann,

We tried the above and it didnot work for us as our version is 5.0.3. Is there any alternate approach to find the list of pages and paces the respective plugins are used.


author: AnnWorley
body: I tried the query for the page list on my Confluence 5.0.3 test instance and was able to list the pages with the attachments macro, for example:

![Screen Shot 2017-06-14 at 10.04.17 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/2168i2C44BA5C4917D8F1/image-size/large?v=v2&px=999 "Screen Shot 2017-06-14 at 10.04.17 AM.png")

Please let me know what errors you are getting when you try the queries.


Tags: questions-for-confluence
Searching JIRA issues in Confluence form
Asked by Vincent CHARLES:

Hi all,

I was wondering if there is any way from Confluence/JIRA, or any third party plugin available, to include a JIRA issues searchbox in a Confluence form?

This is my use case:

Let's assume that my JIRA issues are customers, with all their account details embedded in custom fields. I'd like to have a form in Confluence allowing me to contact (generating emails, or PDFs etc.) all the customers having a specifity that I can define (e.g. all the customers living in that city, city being one of my custom field).

I looked into forms from Adaptavist, and other forms plugin supplier but still haven't found what I'm looking for. Any idea?

Thanks for your help.

Vincent


Answers:
author: Alex Medved _ConfiForms_
body: Hi

A custom user macro with a simple form to utilize a Jira search REST APIs should do the trick.

Have you considered this?

<https://aui.atlassian.com/aui/8.5/docs/forms.html>

<https://confluence.atlassian.com/doc/writing-user-macros-4485.html>

<https://docs.atlassian.com/software/jira/docs/api/REST/8.13.15/#search-searchUsingSearchRequest>

Alex


author: Jack Brickey
body: There is no OOTB solution and I did a quick search in the Marketplace and could not find a solution.


Tags: forms

jira

search
How to link labels, so searching one finds the other?
Asked by Mary Connor:

We have ongoing product renaming situations, so we want searches for tag ProductA to automatically return results for tag ProductB.

Short of that, is there a way to bulk apply and remove labels?


Answers:
author: Thomas Schlegel
body: Hi Mary,

there's a plugin which promises to do, what you want:

<https://marketplace.atlassian.com/plugins/com.kostebekteknoloji.plugins.confluence.confluence-label-manager/server/overview>

It is not for free, available for self-hosted Confluence only and I didn't test it yet. So I don't know, if it is worth the price.
Is there a possibility to utilize Amazon S3 as a central storage and utilize them on confluence
Asked by DNFCS_Sales:

Hello Everyone,

We are currently working on project to address a use case. End user would like move away from box and explore options on S3. Use S3 as central storage and collaborate around these word/pdf/video files on confluence page.

Did any one has a method to integrate S3 and ATlassian tools ??

Cheers

Manohar


Answers:
author: DNFCS_Sales
body: Hi Maarten,

Thanks for the suggestion, we will look into it. When areyou planning to release this add-on for cloud??


author: Maarten Cautreels
body: Hi Monohar,

There's a plugin available for Confluence Server that should help you set this up: <https://marketplace.atlassian.com/plugins/org.hotovo.confluence.amazon-s3-storage-connector/server/overview>

Hope this helps.

Best,

Maarten

comments: author: Scott Merry
body: Maarten,

Would this plugin allow a Confluence user to use the Confluence search bar to search through all the files which are stored in S3 via the Amazon S3 Storage Connector?

Thanks,

Scott


Tags: amazon

aws

integration