youngmon/atlassian-qna huggingface dataset:
How to add a label and a tag to pages imported from MSWord
Asked by Nancy Bonanno:

I have created new pages in Confluence by importing from MSWord and splitting by header many times; it's great. But I need to use a Word document to create 1000 pages and each page needs one tag (excerpt) and a label. Is there any way to do that? If not, how can I put a label on 1000 pages without losing my mind?

Thanks.


Answers:
author: Ivan Lima
body: I'm afraid there isn't. However, as you might know, you can achieve what you want through add-ons. In case you don't have an add-on installed that can help you with that, I can share one option, [Power Scripts for Confluence](https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=server&tab=overview), so that you can take a look at it. Please note that you will find many other options, but I see this one quite simple to use, and it's free - it requires some code though.

That said, I guess that the example you'll find at [this page](https://confluence.cprime.io/display/PSCONF/getChildPages) should address your need.

Cheers,  
IL.

comments: author: Nancy Bonanno
body: I am excited about the Power Scripts for Confluence, if I can get it to work. So far, the script just returns "cannot load SIL content from file 'AddComment.sil'

But if I can figure out how to make it work, it looks like a terrific add-on!


Tags: confluence-server

server
List of all watched questions using REST API
Asked by Berry Kersten:

Hi,

I have a use case where I want to query all watched questions for a specific user (using the REST API), but I'm not sure how to do this.

For example: all watched questions for user sysadmin

[https://www.someurl.com/rest/api/latest/search?type=question\&cql=watcher+=+sysadmin\&maxResults=100\&startAt=0](https://www.someurl.com/rest/api/latest/search?type=question&cql=watcher+=+sysadmin&maxResults=100&startAt=0)

The result is not satisfying as it also displays pages.

Ideas anyone?

Thanks!


Answers:
author: Lasse Langhorn
body: Hi [@Berry Kersten](/t5/user/viewprofilepage/user-id/1321968)

I have not played with Questions for Confluence as I assume that is what you are using.

According to the [Confluence REST API field reference](https://developer.atlassian.com/server/confluence/cql-field-reference/#type) for type question is not supported but then I guess this type will be available when this module is installed in Confluence.

But have you tried something like this where you omit the type parameter?

```
https://www.someurl.com/rest/api/latest/search?cql=watcher+=+sysadmin+and+type!=page&maxResults=100&startAt=0
Regards
```

Lasse Langhorn

comments: author: Berry Kersten
body: Hi [@Lasse Langhorn](/t5/user/viewprofilepage/user-id/1261572) Thanks for your reply!

Correct, I'm using Questions for Confluence (and the corresponding documentation on <https://docs.atlassian.com/confluence-questions/rest/resource_SearchResource.html>)

Based on your answer I've tried the following:

[https://www.someurl.com/rest/questions/1.0/search?type=question\&cql=watcher+=+sysadmin\&maxResults=100\&startAt=0Regards](https://www.someurl.com/rest/questions/1.0/search?type=question&cql=watcher+=+sysadmin&maxResults=100&startAt=0Regards)

And this still does not seems to work as it's returning questions I'm (sysadmin) not watching.


Tags: confluence-server

questions-for-confluence

rest-api

server
Showing labels from other pages in overview
Asked by Simon Lund Larsen:

I'm very new to Confluence and NOT a programmer, so please excuse the typos and misunderstandings below :)

I'm building an overview page in Confluence (server) and would like to have the labels of the pages I link to in the overview shown.

I've tried to write a macro that does this, but I can't wrap my head around it and getting it to work.

```
## @param page:title=Page|type=confluence-content|required=true|desc=Select page you want to show the labels from

#set($currentPage = $pageManager.getPage($content.getId())
#set($pageLabels = $currentPage.getLabels())
<span>
#foreach( $labelObject in $pageLabels )
<span class="aui-label">
<a href="$labelObject.urlPath">$labelObject.name</a>
</span>
#end
</span>

```

I assume the problem is that the page I select and put into "page" is not the one being called in the following part with "getLabels()"

But how do I get the labels from the page I select?


Answers:
author: bilal_hussain
body: So you are looking to create a page overview, where you find the link of pages created in confluence under that branch. If Yes then .

For the page/document you want to create, you need to add a label to e-g "Release" for your all release plans.

Go to overview , edit the over view page , create a box , where you provide a heading of the page as Release plans , and then click insert + sign add content label and add the same label in there also.. you will find your documents listed in Over view page too...

comments: author: Simon Lund Larsen
body: No, I've already created the overview page with a long list of pages (some child pages, some parent pages, etc.).

What I want to just insert a simple macro, that asks for what page I want to show the labels of (this could be any page)


author: Simon Lund Larsen
body: ![CleanShot 2020-06-16 at 13.37.02.png](https://community.atlassian.com/t5/image/serverpage/image-id/99106iAD5F688DF2C3D33A/image-size/large?v=v2&px=999 "CleanShot 2020-06-16 at 13.37.02.png")


Tags: confluence-server

label

macro

server
I can't invite users on Confluecen and Jira
Asked by Origin_Data:

Hello ,

I am trying to invite more users (currently having just 3) on Confluence and Jira (not desk) but it doesn't allow me and it says I reached the limit of users.

I checked the limit of users and for the free plan it says 10 users.


Answers:
author: Ang?lica Luz
body: Hello [@Origin_Data](/t5/user/viewprofilepage/user-id/3966645),

Welcome to Atlassian Community!

I can see that you were able to add 2 new users and currently, your Confluence and Jira Software have 5 licensed users.

The error you were facing could be related to Service Desk, because when inviting an user, if the three products were selected and one of them already reached the limit, it shows the information you mentioned.

The screenshot below is from my test site and Service Desk already have 3 users:

![Screen Shot 2020-06-18 at 14.02.58.png](https://community.atlassian.com/t5/image/serverpage/image-id/99509iD1BA5489EFC38265/image-dimensions/573x387?v=v2 "Screen Shot 2020-06-18 at 14.02.58.png")

With that said, it's necessary to uncheck Jira Service Desk when inviting the user, so they will only receive a license for the other products.

Hope this clarifies.

If you have any other questions, please let us know.

Regards,  
Ang?lica


author: Ollie Guan
body: Hello [@Origin_Data](/t5/user/viewprofilepage/user-id/3966645) ,

Have you also created Jira Service Desk under this organization?

JSD supports only 3 users in the free plan, which will affect the number of users you can invite.

[Atlassian remote-friendly software: available for FREE](https://community.atlassian.com/t5/Feedback-Forum-articles/Atlassian-remote-friendly-software-available-for-FREE/ba-p/1327619)

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


author: bilal_hussain
body: Hi there ,

Are you using a paid or free account for confluence?? If you are using free, then you have to buy a subscription for the number of users working on this tool and ensure you are admin to the tool to easily add users..

comments: author: Origin_Data
body: Hello ,

I am using the free plan and it says that I can invite up to 10 users within this plan.I invited just 3 users so far and it complains I can't invite more.

I am trying to perform all the steps using the admin account.Shouldn't this be free ?

thank you !


Tags: cloud
Create file list from space atatchments
Asked by Everard_Edwards:

Only done a quick search here, but can't see exactly what I want to do, apologies if it has been answered before.

I want to create a file list of certain attachments, which I will need to choose manually.

We have a fairly sprawling space and when I view the attachments as space admin it runs to 50+ pages and that isn't helpful for users who can't view this way anyway.

So basically, I would like to

1. view all attachments for the space,
2. filter by type (I know I can do this as noted above),
3. manually select from those (can't see a way of doing this),
4. create a set of links to these,
5. export/paste the links as a new 'file-list' or equivalent page

The idea is to make some lists of attachments across various pages available for easy access to users.

PS I am a space admin, but due to being a project lead, not as a Confluence or IT expert.


Answers:
author: Hasna
body: You can add attachment is Space --\> pages and filter by CQL \> <https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/>

IN CQL you can search using the type of attachment

comments: author: Hasna
body: Sorry -- The right link --\> <https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/>

Hasna


author: Hasna
body: Better understanding here :

<https://confluence.atlassian.com/confkb/how-to-search-specific-attachment-type-in-confluence-975027237.html>


author: Everard_Edwards
body: Thanks, looks more flexible than the space browser. I could use that to get a list of files of a certain type from a sub-set of the pages in the space (this is what I want).

Is there any way to generate a list of links with CQL though? This is perhaps the key part of my query.


Tags: confluence-server

server
Confluence REST API to get all spaces /rest/api/space is giving 500 internal server error
Asked by Aayushi Aggarwal:

Hi folks,

When i am trying to fetch the data regarding spaces through GET REST call , it is returning 500 internal server error.

This was not the case few days back. I was able to fetch the required information.

Can you please help in finding the root cause that why it is not returning the required result?

REST URL: /rest/api/space

![Capture_500.PNG](/t5/image/serverpage/image-id/99058iA6B984BA19537495/image-dimensions/379x51?v=v2 "Capture_500.PNG")

Thanks,

Aayushi


Answers:
author: Lasse Langhorn
body: Hi [@Aayushi Aggarwal](/t5/user/viewprofilepage/user-id/3141282)

You will have to check the log files on the Confluence server in order to find the root cause.

You can find the logs folder in the Confluence home folder: <https://confluence.atlassian.com/doc/confluence-home-and-other-important-directories-590259707.html>

Hope you will find the root cause.

Regards

Lasse Langhorn

comments: author: Aayushi Aggarwal
body: Hello Lasse,

Thank you for responding.

Upon checking the logs the below error is reflected.

Can you help with the resolution?

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


author: Lasse Langhorn
body: Hi [@Aayushi Aggarwal](/t5/user/viewprofilepage/user-id/3141282)

It seems to me that you have Confluence Space that is deleted from database but might still be in cache for some reason.

Could you try to reboot Confluence and then call the REST endpoint again?

But also go through your Confluence Spaces and see if any errors are occurring in the UI.

Regards

Lasse


Tags: confluence-server

rest-api

server
Chart Macro using a filtered page properties report.
Asked by Kathryn Smith:

Hi,

I have a space and a page properties table on each page with key details. One of these page properties is 'IT Area'. I'm trying to insert a chart into its own page that is using a filtered table based on 'ITArea' to show me how many project has per 'IT Area' but it's just not working!

This is my page properties table with the key property highlighted:

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

This is my page where i want the chart to sit. The report at the bottom is a replica of the page properties report that is sitting in the chart macro, filtered on ITArea:

![PMR.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/99056i003414946D3DB146/image-dimensions/646x370?v=v2 "PMR.jpg")

The chart is not showing any data even though there are 3 projects in two different IT Areas.

Any ideas - also not open tp paid add-ons if i can help it.

Thanks

Kat


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Kathryn Smith](/t5/user/viewprofilepage/user-id/3930263)

As I've understood, you need to count and show the number of different statuses of the IT area. For this purpose the standard Chart macro is not enough.

We recommend you to try the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) app. Then you case becomes very simple.

Here is your table:

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

Let's wrap it in the [Pivot](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Pivot+Table+macro) and [Chart from Table](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Chart+from+Table+macro) macros:

![Kat 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/99092i944023B16BA0BB3C/image-size/large?v=v2&px=999 "Kat 2.png")Now let's count how many statuses of each type you've got:

![Kat 3.png](https://community.atlassian.com/t5/image/serverpage/image-id/99093iE89249E40405C642/image-size/large?v=v2&px=999 "Kat 3.png") The last step is to visualize the result:

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

Note that in this example we've recreated your source table manually, but you'll need to wrap your Page Properties Report macro into the Pivot macro. Other steps will be the same.


Tags: chart

confluence-server

server
How to view the date from a list in to a calendar
Asked by anuradha govindan:

I have a table created with a list of document due dates for each system together with other details about the system.

i want to create a calendar view of the document due dates and then set reminders for these.

I could not find how to do this now. Please help.


Answers:
author: Fabian Lim
body: Hi anuradha,

You can use the team calendar macro, but you will have to enter the events manually and set the reminders.

Regards


Tags: confluence-server

server
Export multiple pages to HTML, XML, or PDF - Missing Option
Asked by kim_valdez:

Hi Team,

As per this guide <https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html> "**Export multiple pages to HTML, XML, or PDF**" should be available however I don't see this option as Site Admin, neither does a Global Admin. Could you advise how and where the bulk Export feature is? Goal is to export to PDF all contents within a Space.

Regards,

Kim


Answers:
author: Nic Brough -Adaptavist-
body: You're reading Server based docs for a Cloud system, click the "cloud" button to the top right to see the docs for Cloud

comments: author: kim_valdez
body: Hi Nic,

Thanks for responding, I should have added snapshots to my original post.

Yes, I am pertaining to the "Cloud" instructions above.

Here's a snapshot from the page: <https://snipboard.io/1UIGdo.jpg>

Here's a snapshot from a Site Admin and Global Admin view: <https://snipboard.io/vOdTDH.jpg>


author: Nic Brough -Adaptavist-
body: Ok, so you don't have export rights. Check the space permissions.


Tags: cloud

export
Remove Create Space button for public users
Asked by Greg Parsons:

If we give external individuals public access to a space, how do we avoid showing items like 'Create Space', etc which are irrelevant and not applicable to external users we have given access to view the space.


Answers:
author: Matt Reiner [K15t]
body: Another option would be to use my team's app [Scroll Viewport](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=cloud&tab=overview) to have a totally custom view of your content. The app includes the Help Center theme which is geared toward readability and customizability.

You can see it in action on our [help site](https://help.k15t.com/).


author: Greg Parsons
body: Hi [@Ollie Guan](/t5/user/viewprofilepage/user-id/853638) ,

Basically when a public user who can access the space without logging in, the Create Space button is still displayed. If they click the button it tells them they cannot create a space, but it would be easier if the button was not just displayed. Obviously for our own staff we need them to create spaces when necessary, but if we are giving an external user with no login the ability to view our documents, we would like to not display the editing capabilities.


author: Ollie Guan
body: Hi [@Greg Parsons](/t5/user/viewprofilepage/user-id/3968889) ,

Do you mean creating pages or creating spaces here?

Permission to create space is controlled by the system administrator in the [global permissions](https://confluence.atlassian.com/display/ConfCloud/Global+Permissions+Overview).

The page creation permission is controlled by the space administrator in the [space permissions](https://support.atlassian.com/confluence-cloud/docs/assign-space-permissions/).

comments: author: bryan_robertson
body: As an example. We have set the global permissions to allow anonymous access.  

We then restrict the space and pages to view for everyone.  

The space specific permission for anonymous users is set to view only.

However, an anonymous user can view the page, create comments, look at archived pages. It's not good.


Tags: cloud
how can you use confluence with SAFe?
Asked by Carmen_Briscoe:

What are document collaboration such as Confluence \& Management best practices for Agile and SAFe methods. Trying to see how they can be used


Answers:
author: Shannon S
body: Hello Carmen,

Thank you for contacting us about this and welcome to Atlassian Community. It's nice to have you.

We recommend Jira Align for Scaled Agile Framework, which you can see from the following blog:

* [Scaled agile with Atlassian and SAFe](https://www.atlassian.com/blog/jira-align/scaled-agile-atlassian-safe)

I'm not too familiar with SAFe myself, but it seems that [best practices for SAFe](https://www.knowledgehut.com/blog/agile/best-practices-scaled-agile-framework) are surrounding a project development approach, rather than documentation writing, which is what Confluence is meant for.

After reviewing our recommendation for Jira Align, and the best practices linked above, could you let me know if there's anything in particular you'd like to know or do with Confluence that could help your team to achieve this?

Best regards,

Shannon


Tags: cloud
Has anyone been able to use the Confluence Chart macro with Jira macro driving the underlying data?
Asked by Tom Williams:

Hi,

I'm trying to create a bar graph in Confluence that displays real time Jira data from a number of Jira filters.

To do this I've created a table, in the table I've added a Jira macro with JQL returning the number of issues.

I've inserted this table into a Chart macro and can see the expected data in the edit preview. However when I publish the page the chart doesnt load.

This is being tried in Confluence Cloud, using new editing pages.

Has anyone tried this and succeeded?

Published page![Conf_Chart_Published.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/99010i576F884B086047DA/image-size/large?v=v2&px=999 "Conf_Chart_Published.jpg")

Edit page

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

Edit Preview in Chart macro, showing the expected chart when published. ![Conf_Chart_EditPreview.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/99008i160D0C62E9EA20C5/image-size/large?v=v2&px=999 "Conf_Chart_EditPreview.jpg")

Thanks

T


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Tom Williams](/t5/user/viewprofilepage/user-id/3514085) ,

The Chart macro doesn't work with dynamic macros. When you are in the macro preview, your data uploads in a static way and you see the result. But on the published page it renders dynamically and the Chart macro can't "catch" the result.

For example, if you create similar table manually, everything will be ok both in the macro preview and on the published page, cause your data is static.

We can recommend you to try our app - [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview).

It works with the Jira Issues macro perfectly well. [Here](https://docs.stiltsoft.com/display/public/TFAC/Using+Table+Filter+and+Charts+in+Combination+with+the+Jira+Issues+Macro) you can see customized and visualized dashboards based on the Jira issues.

Besides you don't need to use JQL to count anything or somehow aggregate your data - our app covers everything.

comments: author: Tom Williams
body: I'm sure your app is great....but its not free and this kind of feature should be improved in Confluence OOTB.

Thanks for explaining why this doesnt work.


Tags: cloud

confluence-cloud

macro
How can I restrict the confluence articles showing on Jira service desk to a choice in the form?
Asked by Sandra George:

Hi All,

We have a Jira service desk form which is used by all clients for all products.

We have a drop down from which the customer can select the product they want to submit a ticket for.

I need to ensure that, when the client attempts to submit a ticket for a specific product ( by choosing from a drop down field in the form, that suggested articles only from the respective product knowledge base show for them.

How can I do that?

Any help please :)


Answers:
author: Mohamed Riza _ServiceRocket_
body: Hi [@Sandra George](/t5/user/viewprofilepage/user-id/3938756)

You should be able to restrict the KB articles based on labels. Refer to <https://support.atlassian.com/jira-service-desk-cloud/docs/how-do-you-automatically-present-articles-to-customers-in-a-request/>

comments: author: Sandra George
body: Hi Mohamed,

My challenge is that I have on request form for all our products.

So I am looking to have clients trying to submit a request from the same form view suggested articles which belong to their respective product once they choose from the drop down in the same form.

Is this possible?


author: Mohamed Riza _ServiceRocket_
body: [@Sandra George](/t5/user/viewprofilepage/user-id/3938756) I was not able to find any way out of the box to do this. The only other way would be to separate forms for each product.


Tags: cloud

jira-service-desk
Using UI Tabs, 2nd tab doesn't automatically display CalendarView Macro
Asked by Dailin Garcia Young:

I have added UI Tabs to a page where I am using Confiforms CalendarView Macro. I wanted to display my two calendars on separate tabs since they are looking at two different dates but the 2nd tab doesn't automatically display the calendar. I have to select the 'today' button to have the calendar show up. Does anyone know how to correct this?


Answers:
author: Alex Medved _ConfiForms_
body: UI Tabs is a 3rd party plugin, right? What it's name?

comments: author: Dailin Garcia Young
body: Thanks Alex. I found the name and will submit a support ticket with them.


Tags: confiforms

confluence-server

server