youngmon/atlassian-qna huggingface dataset:
how to update the content of a page not as a text but in table format in rest api for confluence?
Asked by Kanika:

I am using python to update contents of a page . now I want to insert a table in rest api, and I believe something needs to be done in the body, storage ?

please guide


Answers:
author: Stephen Sifers
body: Hello Kanika,

Very glad to see you're using the API to update content, it really is a very efficient way to get things done quickly and excellent when paired with automation.

With this said, if you are wanting to update the content of a Confluence page via the API you are going to need to know the storage format of what it is you are trying to edit/update. As you mentioned you want to insert a table, so the storage format of body value will be something as follows:

```
"body":{"storage":{"value":"<table><tbody><tr><th>Table Heading Cell 1</th> <th>Table Heading Cell 2</th></tr><tr><td>Normal Cell 1</td><td>Normal Cell 2</td> ?</tr></tbody></table>","representation":"storage"}}
```

It seems you already have an excellent start with the API, but in the event you needed references here is the documentation for the [Confluence REST API](https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/)along with the documentation for [Confluence Storage Formats](https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html).

I hope you find this useful and it answers your question.

Regards,  
Stephen Sifers


Tags: cloud

confluence-cloud
Confluence: How to generate url that opens a confluence page AND highlights a specific doc on page
Asked by Beth Buonanno:

I want to create a link in JIRA, that when clicked opens my confluence attachments page AND highlights a specific document.

I was able to do manually (as instructions below indicate) but cannot find a "click and generate " URL. I am using Confluence version 6.4.3

Here's how I did manually (urls display examples in my environment)

1) On page where attachment resides, click **....** and then click **Attachments**.

The Attachments page displays and the URL displays the page ID.

2) Copy and paste the URL somewhere, and append the word string **\&sortBy=date\&highlight=** to the URL

For example: [http://ny-s-conf01.dslocal.com/pages/viewpageattachments.action?pageId=45516713\&sortBy=date\&highlight=](http://ny-s-conf01.dslocal.com/pages/viewpageattachments.action?pageId=45516713&sortBy=date&highlight=)

3) Copy the filename and paste after appended text.

For example: <http://ny-s-conf01.dslocal.com/pages/viewpageattachments.action>[?](http://ny-s-conf01.dslocal.com/pages/viewpageattachments.action?pageId=45516713&sortBy=date&highlight=IBC)pageId=45516713\&sortBy=date\&highlight=IBC Whats New.docx

4) Since no spaces are allowed in the filename, add **+** signs where spaces are.

For example [http://ny-s-conf01.dslocal.com/pages/viewpageattachments.action?pageId=45516713\&sortBy=date\&highlight=IBC+Whats+New.docx](http://ny-s-conf01.dslocal.com/pages/viewpageattachments.action?pageId=45516713&sortBy=date&highlight=IBC+Whats+New.docx)

THANK YOU!


Answers:
author: Stephen Sifers
body: Hello Beth,

Well, it seems you found a very good work around and we did confirm this works with server and cloud. On that same note, we do not currently have anything in place to create a link that automatically highlights an attachment (outside of what you have so excellently documented). This is a really neat idea however. We do suggest you create a [Feature Request](https://jira.atlassian.com/secure/CreateIssue!default.jspa ) for this if you wish to see this in a future product.

If you don't mind us asking, what would the use case for this be? This is a neat idea, just trying to paint a picture as to how it would be used.

Regards,  
Stephen Sifers

comments: author: Beth Buonanno
body: Hello Stephen,

I want to be able to create a url from a JIRA ticket that jumps to the page where the document resides, while at the same time highlighting the applicable document, in the case where the user may need to refer to related documents on that page, and be aware of the location of said document within Confluence.

Thank you for your response.


author: Stephen Sifers
body: Beth,

This certainly is a neat idea. I would urge you to submit a feature request as linked above.

Regards,  
Stephen Sifers


Tags: atl-adm

confluence-server

server
In Confluence Server, can you embed a private google sheet?
Asked by Sam Brody:

I'd like to embed a Google Sheet, but have only been able to get it to show up when I make it public. How do I keep my restrictions for privacy and get the sheet to embed for users who have been invited on their Google account? I'm using Confluence Server.


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

So we ensure we provide an answer that matches your issue, we will need further information. With that said, how exactly are your bringing in Google Sheets into Confluence? Are you using an Add-On for this action?

We look forward to your response so we may get you an answer.

Regards,  
Stephen Sifers


Tags: confluence-server

google-sheets

server
How to add a table of contents macro? when i try to add it disable the "update" button.
Asked by Manu John:

i would like to add table of contents on my confluence page. when i follow the instruction it dosnt work. {toc} disappear also at the bottom of the page it disable the "update" button. please help.


Answers:
author: Lizzie_Rogers
body: Hey [@Manu John](/t5/user/viewprofilepage/user-id/2089) what instructions are you following?

Also, if the update button disappeared, that sounds like either you lost internet connectivity or the browser window was lower on the screen so you couldn't see the button.

comments: author: Manu John
body: it didn't disappeared. its not enabled. its still there faded.
where should i delete the lock file to start the jira in linux
Asked by Divya:

please give reply i am in installation part..

##### Setup: The jira.home directory is locked {#toc-hId-1257534007}

The jira.home directory `/var/atlassian/application-data/jira` is locked by another running instance of JIRA. Your jira.home directory can only be used by one running JIRA instance.  
Review our documentation for more information on setting your JIRA home.


Answers:
author: Nic Brough -Adaptavist-
body: Hi [@Divya](/t5/user/viewprofilepage/user-id/2212145),

Please see the links shared below to understand the cause and also to find the resolution to the JIRA home directory lock issue.

**Cause** - <https://confluence.atlassian.com/jirakb/jira-applications-are-locked-224400783.html>

**Resolution** - <https://confluence.atlassian.com/pages/viewpage.action?pageId=231932719>

As you are looking for a Linux environment solution you should follow the below instructions.

**Linux:**

1. CD to the JIRA Home directory
2. Run `ls -al`
3. Run rm .jira-home.lock

However, try to check the document to get a clear understanding of the cause of the issue.

Hope this helps!!

Regards,

Priyanka

comments: author: Nic Brough -Adaptavist-
body: As Priyanka says, go through the docs first. When you have worked out where the problem is, then make sure all Jira processes have been shut down before you remove the lock file.


author: Divya
body: Hi @\[deleted\] You have exp on server level or Cloud level
upgrade Confluence failed: checkIsolationLevel SQL Server isolation level
Asked by aida jemaa:

Hello

When we try to upgrade confluence from version 5.10.8 to 6.12.1, we have an error appeared

in logs:

*2018-10-30 17:05:26,188 ERROR \[localhost-startStop-1\] \[confluence.setup.dbcheck.SqlServerChecker\] checkIsolationLevel SQL Server isolation level could not be read java.sql.SQLException*

We are using the following level:

**\<property name="hibernate.connection.isolation"\>2\</property\>**


Answers:
author: Shannon S
body: Hello Aida,

I see that you have raised a support ticket in addition to your question, so let's wait until my colleague is able to help determine the reason for the issue.

As soon as you're able to rectify the issue, could you let us know how it was resolved?

Thank you, and take care,

Shannon

comments: author: aida jemaa
body: Hello Shannon

As explained by Support Team:

A JDBC driver was missing for SQL server 2017 when using Windows based authentication, using the **integratedSecurity=true** parameter.

After installation of the driver, we need to add the following properties in Tomcat java options.

`-Djava.library.path=C:\Microsoft JDBC Driver 6.4 for SQL Server\sqljdbc_<version>\enu\auth\x86`

Then it's ok.

<https://docs.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-2017#Connectingintegrated>


author: Shannon S
body: Aida,

Thank you for confirming the resolution to your issue! Hopefully it can help some other users if they have this issue in the future.

Regards,

Shannon


Tags: confluence-server

jdbc

server

sql
Page permission for only two pages
Asked by Pascal Schindler:

Hi,

some extern guys should have access to a specific area, but in this are only to two pages. Is it possible to give them rights to only see them or do i have to edit every other page in this area ? Because, when i add a extra page, i have to edit the permissions again.

Thank you very much.

Pascal


Answers:
author: Manon Soubies-Camy
body: Hello [@Pascal Schindler](/t5/user/viewprofilepage/user-id/2211738),

This is not something you can easily do. Currently in Confluence, you'd need to do something like:

1. Create a group for these external persons (e.g., confluence-visitors)
2. [Grant View permission](https://confluence.atlassian.com/doc/assign-space-permissions-139460.html) to confluence-visitors in the space where those 2 pages are
3. [Restrict pages](https://confluence.atlassian.com/doc/page-restrictions-139414.html):

```
Space homepage

|

|- Parent page restricted to confluence-users

? ?|- Restricted content only accessible to confluence-users

|- Parent page without any restriction

   |- Unrestricted content accessible by both confluence-users and confluence-visitors
```

Atlassian is currently working on the way permissions work, see [CONFSERVER-7089](https://jira.atlassian.com/browse/CONFSERVER-7089%C2%A0?_ga=2.50734249.1620178554.1540801106-939138762.1540801106) and [CONFSERVER-37884](https://jira.atlassian.com/browse/CONFSERVER-37884?_ga=2.50734249.1620178554.1540801106-939138762.1540801106):
> **Atlassian Update, October 29 2018**
>
> We're planning on making a number of improvements to Confluence permissions over the coming 6-9 months, and this is one of the suggestions we're strongly considering implementing. We fully appreciate the current difficulties involved in not being able to 'add' page restrictions within a hierarchy which is overall more restrictive.

In the meantime, the app [Comala Share it](https://marketplace.atlassian.com/apps/1212189/comala-share-it?hosting=server&tab=overview) may help you (assuming you're using Confluence Server and not Cloud).

Hope this helps!

- Manon


author: Christopher Jaksch
body: Hi [@Pascal Schindler](/t5/user/viewprofilepage/user-id/2211738),

an easy way would be to move the requested pages to a new Confluence space and give permissions to your external partners via Space permissions.

This avoids possible leakage of internal information right from the beginning.

Best wishes  
Chris  
STAGIL
I want to combine two spaces
Asked by Colette Martin-Wilde:

Two projects are merging. They each have their own space. One will be subordinated to the other. Is it possible to move the contents of one space to another without a lot of steps


Answers:
author: Andrew Zibuda
body: Without a plugin, the only way is to move or copy each page manually.


author: david
body: Hi [@Colette Martin-Wilde](/t5/user/viewprofilepage/user-id/1176040) the easiest way to proceed is copying (or moving) the parent page from one of the spaces and select the target space (and page) as destination. Important to select to copy the child pages (see images).

![Screenshot 2018-10-30 at 16.07.33.png](https://community.atlassian.com/t5/image/serverpage/image-id/36350iCC8ACC17B6C3C433/image-size/large?v=v2&px=999 "Screenshot 2018-10-30 at 16.07.33.png")

![Screenshot 2018-10-30 at 16.07.04.png](https://community.atlassian.com/t5/image/serverpage/image-id/36349iBA68182D32924F14/image-size/large?v=v2&px=999 "Screenshot 2018-10-30 at 16.07.04.png")

Cheers,

David

comments: author: david
body: Hi [@Colette Martin-Wilde](/t5/user/viewprofilepage/user-id/1176040)

In order to help others to find the answer I'd appreciate so much that you mark the answer as "Accepted Answer" if it helped you.

Thanks in advance,

Cheers.
What version of confluence is required to use Confluence Cloud for Slack?
Asked by JJ Travers:

I was hoping you could tell me what versions of confluence are compatible with Confluence Cloud for Slack? I'm currently using 4.3.7.

Thanks!


Answers:
author: Max Foerster - K15t
body: Hi [@JJ Travers](/t5/user/viewprofilepage/user-id/2211190),

looking at the name and marketplace site of Confluence Cloud for Slack you need to be using Confluence Cloud and not Server like you currently are.

Best, Max


Tags: confluence-server

server
Show first X rows in a confluence page that pulls content from Jira
Asked by Michelle Gloss:

I have a change log that I create in Confluence that displays the issues in "done" status ordered by the date they were moved to done. The problem is that the first 1000 rows are loaded by default, which causes poor performance. I'd like to show only the first 100 rows by default and then have the user page over for older issues.


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

I believe you are using the Jira Issue Macro to display your "done" issues from Jira within Confluence. With that said, the default will display 1000 items. Within your Jira Issue Macro, you will need to set the Maximum Issues from blank or 1000 to 100. This will allow you to only display 100 item upon load. If your users wanted to see all available, they can click on the "Showing 100 out of 5345 Issues" link which will take them to your Jira instance and display all issues.

If you want to customize the display, choose **Display options** and adjust the columns and number of issues that will appear in your table of issues.

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

Here is the documentation for the [Jira Issues Macro](https://confluence.atlassian.com/confcloud/jira-issues-macro-724765217.html)

I hope you find the helpful and once applied reduces your performance and load time issues.

Regards,  
Stephen Sifers

comments: author: Michelle Gloss
body: Thank you! I was overthinking it. :)


Tags: cloud

confluence-cloud

jira
Changing the format of table of content
Asked by Cindy:

Hello!

I would like to format the font of the table of contents in the navigation bar. For example by highlighting it. Is this even possible?

Thanks!

Cindy


Answers:
author: Vero Rivas
body: Hi [@Cindy](/t5/user/viewprofilepage/user-id/2210839)

Look at this posts, maybe can help you

<https://confluence.atlassian.com/doc/table-of-contents-macro-182682099.html>

<https://support.atlassian.com/confluence-cloud/docs/add-formatting-to-your-page/>

<https://confluence.atlassian.com/doc/styling-fonts-in-confluence-174751968.html>

Cheers
import cloud confluence backup to another cloud not working
Asked by LIGHTIFY Support Team:

I did a backup(export) of confluence on atlasssian cloud, and want to import it to another cloud, but it said importing failed.

What could be the reasons?

it is cloud to cloud migration of confluence.


Answers:
author: Shannon S
body: Hello, Community!

I'm including an update on this case, in case anyone is having a similar issue.

When we had a look at the logs, we discovered that the Confluence site import was being applied to a Cloud site which included both Jira and Confluence.

Referring to: [Migrate a Confluence Cloud Site to an Existing Cloud Site](https://confluence.atlassian.com/confcloud/migrate-a-confluence-cloud-site-to-an-existing-cloud-site-959303219.html),
> If you have both Confluence and Jira in your cloud site, the site import method outlined here will not be available in your Confluence Cloud site. Instead, you'll need to import all of your spaces individually. See [Import a Confluence Space](https://confluence.atlassian.com/confcloud/import-a-confluence-space-724765531.html) for information on how to do that.

If you have any issues with your migration, please feel free to raise a new question here on Community, or with our [Cloud Support team](https://support.atlassian.com/contact).

Best regards,

Shannon


author: Daniel Eads
body: Hi!

Due to the nature of Cloud migrations (you won't have access to log files), we'll need to investigate on our end. I've opened a Support ticket on your behalf - keep an eye out for an email from our support system!

Cheers,  
Daniel \| Atlassian Community Support Engineer


Tags: cloud

confluence-cloud
Jira service desk: make information available for agents
Asked by Florian Nock:

Hello,

I would like to make available to my agents some information that they need to work. They need to look at particular tables that contain data that vary according to the ticket.

Is there a direct way of doing this? Is there an indirect way (like creating a queue with particular tickets that contain information)?

I would like to use the Service Desk feature, but failing this, can I use the knowledge base Confluence?

Thank you a lot for your help.

Best regards


Answers:
author: Manon Soubies-Camy
body: Hello [@Florian Nock](/t5/user/viewprofilepage/user-id/1624016),

If you want your agents to look at tables to know which tickets they need to work on, [queues](https://confluence.atlassian.com/servicedeskcloud/using-service-desk-queues-780867955.html) should meet your needs:
> Jira Service Desk comes with default queues that your administrator can update to automatically triage issues for your team.

I'm not sure to understand your Confluence question? Jira Service Desk and Confluence work smoothly together: [Serving customers with a knowledge base](https://confluence.atlassian.com/servicedeskcloud/serving-customers-with-a-knowledge-base-732528995.html "Serving customers with a knowledge base").

These articles may help you getting started with Jira Service Desk:

* [Jira Service Desk -- Don't be afraid, the journey begins with curiosity!](https://community.atlassian.com/t5/Jira-Service-Desk-articles/Jira-Service-Desk-Don-t-be-afraid-the-journey-begins-with/ba-p/866401)
* [Jira Service Desk -- Who does what?](https://community.atlassian.com/t5/Jira-Service-Desk-articles/Jira-Service-Desk-Who-does-what/ba-p/867001)

Hope this helps!

- Manon


Tags: cloud

confluence-cloud

jira-service-desk

jira-service-desk-cloud
Stop following cards
Asked by Sabrina Celona:

Hi! Since one of the last updates, every time I write a comment on a card, I automatically start following that card. Is there an easy way to stop that? I?ve only seen 2 options: clicking the Follou up buttom every time or stopping all the notifications. Thanks!


Answers:
author: Andy Heinzer
body: You can disable this autowatch feature. But the steps to do are slightly different between Jira Cloud and Confluence Cloud.

When in Jira Cloud: You can click your user avatar in the bottom left corner, and select personal settings. On that page there is a setting called 'Watch your issues', set this to disabled. This way you could still comment on an issue without becoming a watcher.

When in Confluence Cloud: Same avatar icon in the bottom left, but select the Settings option. On that page there is an 'Email' link to click that will take to you a bunch of your account settings. You need to first click the 'edit' button at the bottom of the page to be able to disable the 'Autowatch feature' by unchecking the box and then submit your changes.


Tags: jira
Fault tolerance functionality in Confluence
Asked by Anees Husain:

Hi Team,

I am new to Confluence and configuring ldap settings. My ldap is Active directory. I have a confusion to put Hostname option in ldap setting page.

1. If i provide hostname as FQDN of my Active directory server and in case of it goes down, my whole app users would not be able to login.

2. if i use domain name as a whole , we have around 15 DCs and queries go to them using DNS round robin. Suppose any of the DC is unreachable at some particular time. Few users who go to authenticate to that unreachable server are failed to login in application.

Don't understand what to do to achieve seamless authentication of application.

Thanks

Anees


Answers:
author: Shannon S
body: Anees,

Your question is tagged as Confluence Cloud, but I suspect you might not be on Cloud but Server.

Can you please confirm your Confluence version?

Regards,

Shannon


Tags: cloud

confluence-cloud
Can I add a personal paragraph format e.g.8pt in the drop down menue of the editor?
Asked by Michael Dipper:

as said in the question

We are using large tables in docupedia and would like to have 6 and 8 pt font for this table. I can do this with a "div" but during editing the table I still have the large font.

Every help appreciated

Michael


Answers:
author: Bill Bailey
body: I guess I am confused as to what docupedia has to do with Confluence?


Tags: confluence-server

server
how to force email notifications
Asked by Szabolcs Szekacs:

Hello,

Is there a way, to get notified after any change is happening to a page, even if the user who modified the paged chose to simply save the modification without "save and notify"?

We would like to get notified of any change, and not leave the option of the user to decide whether to notify us, or not after they made change.

If it is not possible, does anyone know if the daily update (daily digest) includes notification on all changes made, or only on those, where the user saved the modifications with "save and notify"?


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Szabolcs Szekacs](/t5/user/viewprofilepage/user-id/2187947),

As I read through your question, I understand that you are intending to view the edits made on a Confluence page. You can always do it by going to the 'Page History' option using ellipses (...) on the top right corner of a page. I am assuming you must be knowing this already.

I don't think Confluence has any option yet to force notify the watcher with an email irrespective of 'Save and Notify' options selected while editing a page.

Coming to 'Daily digest' - yes you do get notified once in a day of the changes to the content you have permissions to. But, daily email reports do not include information about attachments on a page or blog post that are added, edited or deleted.

For more information, please refer to <https://confluence.atlassian.com/confcloud/email-notifications-724765358.html>.

You may also want to visit <https://confluence.atlassian.com/doc/watch-pages-spaces-and-blogs-139579.html>.

Hope I was able to help you!

Thanks

Sireesha


Tags: confluence-server

notification

server
The space search function is not smooth.
Asked by ??-??-:

The space search function is not smooth.

I think it's caused by the update.  
How do I recreate the space?

All of our employees have the same symptoms.![??? 19.png](/t5/image/serverpage/image-id/36306i40514B78F2F4DBAE/image-size/large?v=v2&px=999 "??? 19.png")


Answers:
author: Shannon S
body: Hi there,

What version of Confluence are you using, and can you let us know what you mean when you say the search isn't smooth?

You can [reindex Confluence Server](https://confluence.atlassian.com/doc/content-index-administration-148844.html) if you're not getting the search results you expect, and if you're on Cloud, you can [raise a support ticket](https://support.atlassian.com/contact/#/).

Thank you!

Regards,

Shannon