youngmon/atlassian-qna huggingface dataset:
how to repeat table column headers and fixed number of rows inside a page?
Asked by Manjunatha K R:

All,

I have fixed number column headers and rows in my confluence page and it should be repeated multiple places and table content will be updated as per the requirements updated in it.

how to repeat table column headers and fixed number of rows inside a page?

- Manju


Answers:
author: Robert Keiper _K15t_
body: Hi [@Manjunatha K R](/t5/user/viewprofilepage/user-id/618011)  

If you are using Confluence cloud, my companies app [Orderly Databases](https://marketplace.atlassian.com/apps/1227131/orderly-databases-for-confluence?hosting=cloud&tab=overview) might be a good solution for you.  

Other than Confluence in-build features like Tables and Page Properties, with Orderly you are able to create one Table (we call it database) with a fix set of columns and directly reference/repeat it's content on other pages in your space.  

You can read more about Orderly in our [Release blog post](https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Announcing-Orderly-Replace-Confluence-Page-Properties-with/ba-p/1915196).

Let me know if you have any questions.  
Cheers, Robert


author: Jack Brickey
body: Hi [@Manjunatha K R](/t5/user/viewprofilepage/user-id/618011) , unsure which platform you are using here, server or cloud or data center. For cloud I know this is not an option. However the header stays frozen as you scroll the table in the latest releases.


Tags: confluence-app

confluence-development

developer
Use AJS.toInit(function() to write helloworld
Asked by Gaz Jay:

I can't find the simpliest Javascript insert.

How do I add javascript and using javascript write HelloWorld to screen and still have all the confluence buttons.

Simplying putting

\<script\> document.write("helloworld"\</script\>

ends up with a page with all the surrounding confluence boxes gone and no way to ever edit the page again.


Answers:
author: Fabio Racobaldo _Herzum_
body: [@Gaz Jay](/t5/user/viewprofilepage/user-id/1132025) ,

this article will provide you a solution to your question [https://confluence.atlassian.com/confkb/how-to-use-javascript-in-confluence-313458839.html#:\~:text=To%20include%20JavaScript%20inside%20the,script%3E%20tag%20as%20explained%20above](https://confluence.atlassian.com/confkb/how-to-use-javascript-in-confluence-313458839.html#:~:text=To%20include%20JavaScript%20inside%20the,script%3E%20tag%20as%20explained%20above).

Hope this helps,

Fabio


Tags: ajs

developer
JIRA macro and Change History macro on the same Confluence page?
Asked by Tobias:

I see a strange behavior of the JIRA macro when I add Change History macro to the same Confluence page. In this case, the JIRA macro has a horizontal scroll bar, if the description text shown by the JIRA macro reaches beyond the screen of the browser. Without the Change History macro, there is no horizontal scroll bar and text moves to the next line, as I would expect. I don't think this is the intended behavior... Any suggestions? Thanks!


Answers:
author: AnnWorley
body: You are right, it's a bug. [Adding Change History Macro to a page with JIRA macro disables the wordwrap in the JIRA macro table.](https://jira.atlassian.com/browse/CONFSERVER-35768)

There is a CSS workaround on the bug report, I hope it helps.


Tags: change-history

jira
JIRA Software Cloud integration with Confluence Server
Asked by John Leung:

My company has an in-house hosted Confluence Server without JIRA. Another department has a JIRA software Cloud instance. Is it possbile to integrate JIRA software Cloud to Confluence server?

If it can be done could you provide details and links to relevant documentation.


Answers:
author: AnnWorley
body: This document should have all the details: [Link to server apps from Cloud](https://confluence.atlassian.com/cloud/link-to-server-apps-from-cloud-744721656.html)

If you have any follow up questions, please post them.


Tags: integration

jira-cloud
Page labels not recognized globally
Asked by Christopher Woodruff:

I'm having a problem with the page properties reporting for a template that I've created. This seems to stem from the fact that the labels for the newly created templates don't seem to be recognized. Below, I've captured a couple of images that show the "R4" page is labeled "recommendation" and that the list of labeled content for the "recommendation" label does not include the "R4" page.

Previously, I tried to get a page property report looking for the label "recommendation" to show my new recommendation pages R1 through R3 in the report without success. The next day, when I looked at the page property report, R1 through R3 were all listed in the report.

It seems like the "recommendation" label is not getting assigned to the new pages immediately. After some time, the labels are magically recognized. Any ideas?

My wiki is on Confluence 5.10.4 Enterprise.

<br />

![labelled_content.png](/t5/image/serverpage/image-id/1109iD0448FC4BA262BE3/image-size/large?v=v2&px=999 "labelled_content.png")![R4_with_recommendation_label.png](/t5/image/serverpage/image-id/1110iDCEE3929104C173A/image-size/large?v=v2&px=999 "R4_with_recommendation_label.png")


Answers:
author: JP _AC Bielefeld Leader_
body: Hi Christopher,

there have been some fixes to the Page Property Report macro with Confluence 6.1. You state, that you're using 5.10.4 Enterprise, so is this a clustered instance? The search index might play a role with this issue; maybe due to the amount of content to be indexed it cannot catch up. This would also explain why the page is shown after some time. You some guesses...


Tags: label

page

report
"Insert ?Include Page? Macro" does not work for pages in specific (current) space only
Asked by KimiTomo Toda:

Hi,

<br />

I'm now trying to use "Insert 'Include Page' Macro" to include content of one page within another page (template page).

Already checked permission for both pages. But it still does not work.

The strange point is that it works fine if I try to include other pages which are in another space. Just can't include the page in current space.

Is there anyone who can help this?

NOTE: The request sent by the client was syntactically incorrect. is displayed when i try to go included page

BRs, tomo


Answers:
author: Jack Brickey
body: [@KimiTomo Toda](/t5/user/viewprofilepage/user-id/1131938) , This is an old post I'm wondering if you are still experiencing this or resolved it and can share the details here?


Tags: error

macro
Backup confluence database without confluence running
Asked by Natasha Moffat:

Our confluence service crashed with a "service name invalid" error, just before we were planning to change a bunch of ips and network configurations. We uninstalled confluence and began installing it with our existing jdbc db.

We have the confluence PostgreSQL database, but the confluence installer wants to overwrite the existing data. How can we preseve our confluence spaces and pages?

I imagine that creating a dump of certain confluence db tables but not all confluence db tables, then overwriting the data with the installer, then applying the dump to the db could do the trick, but that sounds dangerous. Any tips?


Answers:
author: Camila Santos
body: Hi Natasha!

You can import specific pages from a database dump. Basically, you'll need to extract the content of a page, then import it on a new instance using the Source Editor. You can check more details about the steps to do so on this documentation: [How to Recover Page Content from the Database and Import Using Source Editor](https://confluence.atlassian.com/confkb/how-to-recover-page-content-from-the-database-and-import-using-source-editor-686860695.html).

I hope it helps!


Tags: backup

database
Does mutual linking exist between Confluence Product Requirements and Jira Tickets?
Asked by Christi Nonnemaker:

My team creates Product Requirements in Confluence (using the Blueprint template). We then create Jira tickets using the auto create function from the product requirements/user story table in the blueprint. The rows in the table are then created in Jira (as tickets) and associated to the Epic tagged in the Product Requirements Blueprint.

1. Jira Ticket macros are not automatically added to the Confluecne Product Requirements table. This is the same table that the Jira tickets were auto-created off of. Is there a way for macros to be autocreated in Confluence as the Jira tickets are created?
2. If I create a Jira macro for each row in the Confluecne table mutual linking still does not exist. If I update a requirement in Confluence then the Jira ticket is not updated, and vice versa. Does mutual linking exist?

Any solutions to these two issues would be appreciated!


Answers:
author: AnnWorley
body: For issue 1, the JIRA Issues macros should be added to the table when you hover over the table and create JIRA issues. Here is an example: ![Screen Shot 2017-06-20 at 12.48.14 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/2342i04B3EE4344A64665/image-size/large?v=v2&px=999 "Screen Shot 2017-06-20 at 12.48.14 PM.png")For issue 2, the JIRA issues are independent of the updates on the Requirements table, once the JIRA issue is created. So the behavior you are seeing is expected.

Are you seeing a link back to the Confluence page in the Issue Links section of the JIRA ticket?


Tags: jira

link

macro
How to report on least viewed pages in confluence.
Asked by Fleurcat:

We have a requirement to report on the usage of our confluence instance, in particulart the number of pages that ++little or no views++ over a certain period of time, like per month or quarter.  

I would think this would be very useful for anyone wanting to know what content is old or useless. I'm surprised the built in Activy pages don't have this option.  

Does anyone know if there is a add-on or sql query that can do that?


Answers:
author: Fabian Lim
body: Hi Fleurcat,

Confluence has new built-in analytics capabilities now. You can find the instructions here: <https://confluence.atlassian.com/doc/view-insights-on-your-site-1044780335.html>


Tags: analytics

report
How to copy/paste formatted word docs into confluence?
Asked by Mark Schuessler:

When I copy paste from word into confluence it loses all the formatting. Everything becomes eitehr left alligned or completely crazy with no undersatndable style within the formatting. Is there an easy way to just copy/paste my word docs into confluence with no additional reformatting needed?


Answers:
author: Thomas Schlegel
body: Hi Marc,

did you try importing the document? The result is usually better than copy/paste.

comments: author: Mark Schuessler
body: Hello Thomas,

Yes, I have imported the word docs. That does work better, but slower \& then I ussually have to move them where I want in the tree. I asked about word docs, but it's keeping the formatting in general. I frequently have to copy meeting notes from emails \& those lose the formatting as well. Was hoping the answer to word doc would solve the other. Seems like such a huge miss for an otehrwise great app.


Tags: ms-word
What is the impact of running Confluence and its Database server together in same Server?
Asked by Jesse Martinez:

Currently our Confluence instance is installed in the same Physical server where its Database server is located... Is there a negative impact in confluence performace on that type of setup?

We've been having lots of ups and downs on our Confluence instance, so we are thinking in moving its Database server (MSSQLServer) along with its database to another Physical server.

I appreciate any answer for little that it might seem, as any help is always welcome.

Thanks

Jesse


Answers:
author: Nic Brough -Adaptavist-
body: Only if the two systems start competing for resources.

I'd recommend working out what is causing these "ups and downs", rather than just moving a database service off without knowing that this might help.


Tags: performance
Shortcut Link not redirecting to site
Asked by Cheryl White-Hamrick:

I have created a space shortcut but it won't direct to the site I need it to. It shows a note icon instead of an arrow next to it. Why is it not creating a link?


Answers:
author: Vero Rivas
body: Hi [@Cheryl White-Hamrick](/t5/user/viewprofilepage/user-id/924130)

Look at this post, maybe can help you

<https://support.atlassian.com/confluence-cloud/docs/configure-shortcut-links/>

Cheers
REST API behind SAML with 3-Legged OAuth
Asked by Andy Kim:

We have 3-legged OAuth working to access the REST API for Confluence Server / Cloud. Unfortunately for our clients using SAML, when we issue the API call to fetch the **request token** (see <https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication>), our servers receive a 302 redirect to authenticate via SAML.

What is the recommended way to handle REST API calls behind SAML? How unique are the flows depending on SAML provider?

Thanks and apologies in advance as I'm not very familiar with SAML.


Answers:
author: Moga
body: Hi Andy,

* The similar question has been answered in [How to use Jira rest api if it uses SAML and SSO](https://community.atlassian.com/t5/Jira-questions/How-to-use-Jira-rest-api-if-it-uses-SAML-and-SSO/qaq-p/205961).
* On top of that, based on the answer from [Jira Rest API Single Sign On Authentication](https://community.atlassian.com/t5/Jira-questions/Jira-Rest-API-Single-Sign-On-Authentication/qaq-p/307490) - you can configure your SSO to exclude REST URLs.
* You can also use [Cookie-based Authentication](https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-cookie-based-authentication) which will authentication your user to SAML and then you can reuse the Cookie for all of your REST URLs. Cookies will have an expiry date, but you also set them not to expire as well.

I hope that this helps!

Cheers!


Tags: api

authentication

confluence-development

jira

rest-api

saml

sso
Confluence Page Restrictions
Asked by Theodore Duffy:

I don't understand how setting Confluence Page Restrictions work. I made a page restricted to be edited only by me but viewable by anyone, but another user who is not an Admin has the ability to remove me from being able to edit, but is not able to open the page to be edited by all?

How is this restriction working?


Answers:
author: AnnWorley
body: I tested the scenario you describe and the non-admin user was not able to remove edit restrictions or open the page to others to edit.

Could the user who removed you from the restriction be a space admin?

Per [Page Restrictions](https://confluence.atlassian.com/doc/page-restrictions-139414.html): "Users with 'Admin' permissions in a space, or users with the System Administrator global permission can remove restrictions from pages, even if the page restriction prevents them from viewing the page."

What version of Confluence is this happening on?

comments: author: Theodore Duffy
body: Cloud Confluence. How do I even see who is an Admin and who is not? Odd that they could remove me but not edit the larger permissions lock.


Tags: restriction
Table of Contents Macro not displaying
Asked by Babu:

Hi ,

I created Table of Contents and am able to see the content in Preview , however when actually saved the page they are not appearing . Any help is appreciated.

Thanks


Answers:
author: Jack Brickey
body: Hi [@Babu](/t5/user/viewprofilepage/user-id/1131838) , I suspect this issue has been resolved. If not could you provide more details? Ar3 you on Cloud or Server? I am not seeing on Cloud .


Tags: table-of-contents
'Older' Link for Blog Posts Missing for Some Users
Asked by Xavier Amador:

When I select the *Blog* link on the left-hand sidebar I am taken to the page to see all blog posts. At the bottom of the page, there is an *Older* link which takes me to previous blog posts. Non-admin users, however, do not have this link. What needs to be done so that they have the link?


Answers:
author: Craig Nodwell
body: Check their site permissions.


Tags: blog
Edit Excel sheet
Asked by sachin reddy:

I would like to know if I can edit the excel sheet in confluence, I have imported an excel sheet into confluence and I see that the format is really messed up and it doesn't look that good. I don't like to use any of the add-ons as they charge me few extra bucks.  

Can you please help me with this.


Answers:
author: AnnWorley
body: You can edit Excel attachments in Confluence ([Edit Office Files](https://confluence.atlassian.com/doc/edit-office-files-170494553.html)) but there are some requirements: [Office Connector Prerequisites](https://confluence.atlassian.com/doc/office-connector-prerequisites-170493096.html).
How to restrict user to post questions in space only for confluence?
Asked by kunjiraj:

Related to question, user should not post question which are visible to all other space user as in default it is.

here i see user need to explicitly select space to restrict that question.

Is there anything which can restrict user to post question on confluence level and user can post it in space only where he has access.


Answers:
author: Mirek
body: Basically there is a Add Comment space permission that control who can add comments on specific space, so we can see who have access and at the same time restrict the ability to comment.

Here is an overview of all space permissions

<https://confluence.atlassian.com/doc/space-permissions-overview-139521.html>
Is there a way to view tasks from Jira in your task report in confluence?
Asked by Brian Walsh:

It seems like I can only view tasks related to spaces in confluence, but I'm looking to view tasks that I have related to specific stories/epics/sub tasks inside of Jira all in once place. The task manager seems a bit clunky.


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

Did you try [JIRA Issues](https://confluence.atlassian.com/doc/jira-issues-macro-139380.html) macro?

comments: author: Brian Walsh
body: Andrey, I just added that in, which is great, it shows me the isues taht are assigned to me that are open, when putting the proger JQL into the filter. But now the tasks that I had created in Confluence are no longer there. Can I update the query to include tasks in my spaces?

Ultimately, the use case is that I have many tickets/issues open that may require me to jump in and out of them based on different requirements. For instance, Jane sends me a request, I create a ticket, and then I need to create a meeting to go over the requirements. Jane is not very good at getting back in a timely manner, so I want to create a task to 'FU with Jane on requirements meeting'. Then if it is due, I know to follow up with her if she hasn't gotten back. Or, I might have an issue that I have to prepare training matierals, but I have other priorities, and the training materials aren't due until 5/15, so I put a task for 5/14 to 'Finish training docs'. Make sense?


author: Andrey Khaneev _StiltSoft_
body: It is not possible to show Confluence tasks and JIRA issues with one macro, so you need to use both [Task Report](https://confluence.atlassian.com/doc/task-report-macro-590260009.html) and JIRA Issues macro.

And there is [Handy Macros](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.handy.macros/server/reviews) add-on which has a [Reminder](https://docs.stiltsoft.com/display/HMFC/How+to+use+Handy+Reminder+macro) macro that might be helpful in your case.


author: Brian Walsh
body: Hi Andrey,

Yes I did try the issues macro, and I think I'm close to getting to where I need to be, thanks so much for your advice!
"Required security token" when editing a page
Asked by Phil Millington-Hore:

Hi,

I am getting this error message: "Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page." every time I try to save changes to a page.

I get asked to confirm I am not a robot and this message appears. It has done so in the past but this can normally be resolved by clearing cache, logging out and back in again, but this time doing that in Edge and Chrome is replying with the same error message!

It is extremely frustrating as I am only entering a new row to an existing table on a page.

I tried accessing directly with IP address but I get a message about direct access being blocked because of Cloudflare, and tried clearing the browser cache and cookies.

We, as a business, are looking for alternative as this has been a common problem since the CAPTCHA verification was introduced.


Answers:
author: Mirek
body: Maybe this KB can be helpful?

<https://confluence.atlassian.com/confkb/unable-to-add-a-comment-to-an-attachment-with-required-security-token-was-not-present-error-600115060.html>


Tags: page

security
cannot login using confluence CLI
Asked by Pierluigi Conti:

Hello

we're unable to login with confluence cli using username and password like the following command line example:

confluence.sh --server <https://lvrteam.atlassian.net/confluence> --user xxx --password xxx --space SYSADMSTUFF --action getPageList

Error is:

Client error: Error getting information from Confluence. java.lang.UnsupportedOperationException: The idplat does not support authenticateViaEmail, please use authenticateViaEmailWithHostname instead.

Which could be the problem?

Thank you

you could also reference on Bob Swift's ticket:

<https://bobswift.atlassian.net/projects/ACLI/issues/ACLI-441?filter=allopenissues>


Answers:
author: sblnc
body: stupid question, but did you try using your username as user parameter instead of your email?

I am usually logging in with my username and the password, not with my email adress.


author: Dario B
body: Hi,

A fix for this issue has been deployed by Atlassian and, according to [CSOAP-768](https://bobswift.atlassian.net/browse/CSOAP-768) this should now work using [CLI 6.6](https://bobswift.atlassian.net/wiki/display/CLI+6.6/ACLI%3ARelease+notes+6.6).

Please let me know if this helps.

Cheers,  
Dario


author: Brian M Thomas
body: I have the same problem, and I first noticed it only today when I ran it to attempt to understand why the UWC quit working suddenly with errors that I had never seen before, and debugging found that the call to get a login token failed.

Has anyone entered an issue with Atlassian support? I can't find anything using any of the unique words from that message, and I don't even know what an *idplat* is. Of course, that error message is from the CLI, so I don't expect its exact text to appear in any issue.

I'd be glad to enter an issue myself, but I don't quite know how to characterize it.


author: Bob Swift (personal)
body: This needs to go to Atlassian support.