youngmon/atlassian-qna huggingface dataset:
500 Error when adding web link to Confluence page content via API
Asked by Angelo Loria:

I'm attempting to update a Confluence page via API using curl as part of a Jenkins pipeline (groovy code.)

My curl data looks like this (ignore the indentation):

```
  --data \'{ 
\"version\": { \"number\": 12 }, 
\"title\": \"PageTitle\", 
\"type\": \"page\", 
\"body\": { 
    \"storage\": { 
    \"value\": \"URL: <a href=\"https://testUrl.net/wiki/\">https://testUrl.net/wiki/</a></p>\",
    \"representation\": \"storage\" 
        } 
    } 
}\'
```

The error I'm getting is this:

```
{"statusCode":500,"message":"org.codehaus.jackson.JsonParseException: Unexpected character ('h' (code 104)): was expecting comma to separate OBJECT entries\n at [Source: com.atlassian.plugins.rest.common.limitrequest.jersey.LimitingRequestFilter$1@700a4af8; line: 9, column: 184]"}
```

I've tried every combination of double and single quotes around that string that I can think of.


Answers:
author: Ian
body: In your JSON payload, since you're using single quotes, you can remove the backslash to escape double quotes (aside from the one inside storage value) like

```
--data '{ 
"version": { "number": 12 }, 
"title": "PageTitle", 
"type": "page", 
"body": { 
    "storage": { 
    "value": "URL: <p><a href=\"https://testUrl.net/wiki/\">https://testUrl.net/wiki/</a></p>",
    "representation": "storage" 
        } 
    } 
}'
```

I also added *\<p\>* in the body since you have a trailing *\</p\>.*

Hope this helps.

Ian


Tags: api

cloud

confluence-cloud

curl

groovy

jenkins

json

rest
Trying to upgrade Confluence from 5.x to 6.15.5 now service won't start
Asked by Adam Ziegler:

I tried upgrading my Windows server to Confluence 6.15.5 and followed the instructions on <https://confluence.atlassian.com/doc/upgrading-confluence-4578.html> to the letter, but now the damn service refuses to start and I'm completely dead in the water. It says in the instructions

"If you run Confluence as a service on Windows you should delete the existing service then re-install the service by running `<install-directory>/bin/service.bat`."

First I ran into a message saying the JAVA_HOME variable wasn't set, which led me down a whole new rabbit hole installing the JDK engine, all of which was NOT in the documentation. Once I got past that, I realized that what the instructions fail to mention is that you don't just run the bat file. You have to pass in a command line variable. What's worse, remove only removes the CURRENT version of the service (referencing tomcat9) not the one I actually need to remove (referencing tomcat6). There is really no way to remove it, other than go into the registry, which I did. Now while I was able run the batch file with "success" it doesn't matter because the new service won't run either. I get this in the event viewer:

The Atlassian Confluence Confluence010612213423 service terminated with the following service-specific error:  
The system cannot open the file.

The ONLY reason I was even attempting the upgrade is because I wanted to get the Wiki off my server and onto the hosted system, but was too far back to be able to use the tool for that. It's a great wiki once it is up and running, but clunky as f\&%\^ to get installed right and working.


Answers:
author: Adam Ziegler
body: Shannon. Steve called and we got it squared away....mostly. It turns out you don't need the service to get into Confluence. When I restored from my backup, I did not delete the upgraded version, so that caused some problems, but by deleting the home and installation folder, then restoring from the backup, I still wasn't able to get the service to start but I was able to use the start-confluence batch file to get into it. Since I am migrating to the cloud, this was enough!

comments: author: Shannon S
body: Adam,

Thank you for letting us know how you were able to resolve the issue! I'm sure also that you've seen the Cloud Migration tool, but if you have not, you can have a look here, at the [Cloud Migration Center](https://www.atlassian.com/cloud-migration).

Take care,

Shannon


author: Shannon S
body: Hello Adam,

Thank you for contacting us. I see that as you weren't able to get a resolution on Community that you have since raised a support ticket for this. That's probably for the best since we can obtain your server logs in the support queue, which we would need to help solve the issue.

Could you please just follow-up with us here when you are able to resolve the issue? It will help to know how you end up resolving it, in case other users have the same problem.

Thank you!

Regards,

Shannon


Tags: confluence-server

server
Created JIRA Pie Chart not showing up in Confluence for other users
Asked by Kingsly S D Samuel:

I created a piechart in Jira to show the breakdown of type of issues reported captured through the field "Labels".

I have pulled the report to show up in Confluence dashboard. I am able to see it, but not the people I shared my confluence page with.

How do I fix this for it to be seen by others?


Answers:
author: Tom Harris - Old Street
body: Hi [@Kingsly S D Samuel](/t5/user/viewprofilepage/user-id/3182664) ,

Pie charts displayed in Confluence use the permissions of the current viewer. This means that if the other users who are viewing the page don't have a Jira license, or they do but don't have permissions to see the same issues as you, then they won't see any data.

This is how the charts are designed so that data is only shown to the users with the correct access and permissions.

comments: author: Luanna Gobbato
body: So to see reports from Jira, users needs Jira Software licenses?


author: Tom Harris - Old Street
body: [@Luanna Gobbato](/t5/user/viewprofilepage/user-id/3583745) yes they will require a Jira Software License. This is a requirement for security as it ensures that the permissions within Jira are respected and users only see the issues they have permission to see.


Tags: dashboard

permission

pie-chart
Confluence: Is there a way to automatically change the font color of a page at a scheduled time?
Asked by Diane Burns:

We have a status page that we would like to automatically change the font color of the page to gray at midnight on Thursday so that as people update the page during the week, we can quickly see what has changed. Is this doable in Confluence?


Answers:
author: James Dellow
body: Why not use the page history and page comparison views?

comments: author: Diane Burns
body: I showed them that but they would like for it to be immediately obvious Friday morning. Updates are due by Monday and they are tired of doing the diffs to find out what changed...


author: James Dellow
body: Unfortunately I think you are going to need something custom. There is nothing else in the out of the box functionality that will do this, but I don't think changing the text colour will work as expected.
Companion App File Editing: Launch application when clicking edit
Asked by Jonathan Smith:

Is there a way to change the edit button's functionality so it launches the editing application instead of acting like a drop down?

![a.jpg](/t5/image/serverpage/image-id/57989iC612C9B5144560D8/image-size/large?v=v2&px=999 "a.jpg")

My goal is to have less clicks.


Answers:
author: Stephen Sifers
body: Hello Jonathan,

Firstly, thank you for being a Community Leader.

From your request, I was able to find a similar feature request which is focusing on the same issue you're communicating (reduce the amount of clicks/work) to edit files faster. You may find this feature request at [CONFSERVER-57419](https://jira.atlassian.com/browse/CONFSERVER-57419). If this is similar to your issue we would suggest voting for this request and selecting watch to receive future updates.

Another option would be to create a customization script which would replace the click on edit to default to edit with excel. The issue with this would be editing other office docs would attempt to open them within excel.

Regards,  
Stephen Sifers

comments: author: Jonathan Smith
body: Hi [@Stephen Sifers](/t5/user/viewprofilepage/user-id/2145523) ,

I read over the feature request and it didn't seem that similar to what I am requesting. I would like the "on click" of Edit to open the target application and not act like a drop down. This would be for any files within the attachments view or any file list page.

Please make a new feature request or update 57419 to include this request.

Thanks,

Jonathan


Tags: atl-adm

confluence-server

server
How can i add unique ID number for table rows?
Asked by safinur_ozbek:

Hi,

I need automaticly assign unique ID number for my table rows. Because i am writing requirements and i need to update with add new requirements (add new rows) so the confluence table should add automaticly ID number.

![prt.PNG](/t5/image/serverpage/image-id/57954i7DFE52BA17C3CC4F/image-dimensions/451x80?v=v2 "prt.PNG")

Actually I have a way for this. in the table \> go to preferences (gear-wheel icon) \> check the box: auto numbered column. But this way provide just a page but i want to unique ID for all document in confluence, for every space, every page.


Answers:
author: C_ G_
body: [@safinur_ozbek](/t5/user/viewprofilepage/user-id/2920079) did you find a solution for you problem?


author: Shannon S
body: Hello Sanifur,

Welcome to Atlassian Community. It's nice to meet you!

If you're on Confluence Server, you would be able to [Write a User Macro](https://confluence.atlassian.com/doc/writing-user-macros-4485.html) to do this. This feature is only available in Server, so if you have Cloud then it's unfortunately not possible.

Otherwise, I would recommend having a look at [Atlassian Marketplace](http://marketplace.atlassian.com). I wasn't able to find anything on this myself, but it could potentially be a feature of one of the table add-ons.

Let me know if you have any questions about this!

Regards,

Shannon

comments: author: safinur_ozbek
body: Ok, I use cloud and I can not it i guess. Thank you


author: Shannon S
body: Hello Sanfinur,

That is unfortunate, you would indeed not be able to write a User Macro for this. You may still find an add-on that can help with this. In the event you do find a workaround, please let us know about it.

Regards,

Shannon


Tags: atlassian-marketplace
?? ?????????? ???????????? ??????.
Asked by ANesterov2:

????? ??????? SUBMIT ?????????? ???? ? ?????????? ?? ??????, ??????? ??? ?? ??????? ? Java.


Answers:
author: Suvradip Paul
body: Hi [@ANesterov2](/t5/user/viewprofilepage/user-id/3357783) ,

Is it on Confluence Cloud or Confluence Server? Could you please share any screen shot?

Thanks.
How to display global content in confluence
Asked by srikanthnarreddy:

I have 20 pages in my SPACE but I need to display a common message in all the pages . How can I do this .


Answers:
author: Nic Brough -Adaptavist-
body: An include macro would do this, but you will have to put it on every page - editing every single one you want it on, and persuading your authors to remember to add it (although asking them to use templates can help there)

A better option would be to look at your theme - some can be customised to show global things.

If neither of those suit you, then there is a third option - amend the "global html", adding your message into the header or footer.

comments: author: srikanthnarreddy
body: Thanks for your answers and Interesting ones.

1) Will not solve as I need to add to all the pages.

2)We don't have and theme in confluence .

3)Hopes this works . Can u please guide me how to add/ amend "global html",

Thanks in advance!


author: Nic Brough -Adaptavist-
body: <https://confluence.atlassian.com/confkb/how-to-add-a-site-wide-banner-165609599.html> is a good example of a global html change.


author: Aleksandr Zuevich
body: You can add wiki markup message to sidebar, header or footer:

* For server: Confluence administration -\> Sidebar, header and footer
* For cloud: Confluence administration -\> Header and footer


author: Aleksandr Zuevich
body: Hi,

You can use [Excerpt macro](https://confluence.atlassian.com/doc/excerpt-macro-148062.html) and [Excerpt include macro](https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html).

comments: author: srikanthnarreddy
body: Thanks for the answer .

My ask is " I have 20 pages if I write a comment in one page and set this as global then automatically all the pages should reflect the content with out adding the macro in every created page .".
How do I turn off /wiki/welcome Page?
Asked by AJ Palmer:

Hi all,

I am sick and tired of being brought to the following URL whenever I try to access things like Confluence Recent Activity, All Spaces, and other area's in Confluence.

<https://mtbtools.atlassian.net/wiki/welcome>

It seems to be random and some users don't have this issue, others do, so this is very annoying.


Answers:
author: Shannon S
body: Anthony,

Thank you for contacting us about this. I believe this should take you to the onboarding process of Confluence Cloud. Can you confirm if you were able to complete this the first time?

If you've already completed it entirely and you still get the message, then we'll want to have a look at your instance. I would recommend first testing if you replicate it in more than one browser, and also with all browser extensions disabled, in incognito mode, and after your cache has been cleared.

Regards,

Shannon

comments: author: AJ Palmer
body: Good Morning Shannon,

It seems to still be happening even while being incognito mode. I have not once had to do the on-boarding process for Confluence cloud given that the original Admins who set it up, did.   

Why would new members, or myself, need to see this page if we already have the Confluence Cloud setup?

What's more confusing is that this doesn't seem to replicate every single time, but instead is more sporadic between myself and other users. Is there a way to just turn it off? "disable welcome/tutorial/on boarding"?


author: Shannon S
body: Anthony,

Thank you for confirming that with me. It's a very odd case, indeed.

I would recommend that you reach out to the [Cloud Support Team](https://support.atlassian.com/contact/#/) with this. They have access to test with your instance and can review the server logs.

Let me know if you have any trouble with that. Once the issue is resolved, feel free to come back here and let us know what the cause was.

Regards,

Shannon


Tags: cloud

confluence-cloud
Which template are you using for Release Notes page in Confluence?
Asked by Prithvi Tharun:

Hi,

<br />

We are currently using the Documentation theme to manage our company's user guide and FAQs. We are planning to create a separate page for Release Notes and would like to know which would suit the best?

I'm planning to have something like timeline.

PS: I'm new to Confluence.


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Prithvi Tharun](/t5/user/viewprofilepage/user-id/3270147) ,

Confluence allows you to define and [create your own templates](https://confluence.atlassian.com/doc/create-a-template-296093779.html). As defined in the article, you need either space administrator or confluence administrator permissions to create one. Once you have it defined, you should be able to use it whenever you need to.

Every organization has a different way of putting together content for *Release Notes*and so the templates vary accordingly. For example, we have our own template defined for each documentation deliverable. We use these templates whenever we have to create a new page for the next version.

Hope this helps!

Thanks

Sireesha

comments: author: Prithvi Tharun
body: [@Sireesha Dugginapeddi \[Appfire\]](/t5/user/viewprofilepage/user-id/1260000)   

Thanks a lot!  

But, can I use the template I created just for a page?   

<br />


author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Prithvi Tharun](/t5/user/viewprofilepage/user-id/3270147)

Yeah, you can! Once you have the template defined, you can use it any number of times.

Thanks!
Confluence. How many licences do i need so my entire organisation can view articles read only?
Asked by Jason Selby:

I am trying to ascertain how many licences are required so company wide employees can view documentation but not necessarily update just view?


Answers:
author: Nic Brough -Adaptavist-
body: I'm afraid this is not a simple answer, and it depends on what you mean by "article".

For Confluence on its own, there are two options:

* Allow anonymous access to pages (articles). This means the entire world can read these pages, without logging in. You need no licences for anonymous people.
* For pages not available to the world, people need to log in, which takes up a licence, even if the access is read-only, they are logging in and that needs an account.

Now the extra complexity

* If you have Jira Service Desk, you can tie this to "knowledge base" spaces in Confluence. These contain articles as a kb, and you can (and should, in most cases) set it up so that people who can raise requests in JSD, get to see the KB articles linked to the portal they are in. Customer accounts exist in Jira, not Confluence (directly), and they are free and don't need you to worry about licences. They're not anonymous, but they don't need Confluence licences because they're piggy-backing their access from their Jira account!

comments: author: Jason Selby
body: Nic,

Thank you for your prompt answer. So hypothetically if I had 20 JSD Licences and Knowledge Base spaces in Confluence would be able to be seen by any user in the organisation that can log a ticket in JSD?

Thanks again


author: Nic Brough -Adaptavist-
body: Yes, that's correct. 20 JSD for the agents, and then any customer can see the articles via the KB (and "customers" do not need licences, just accounts)


Tags: cloud
Creating a folder into a space
Asked by Maria Castellv? (External):

Hello,

I will like to create a folder in a space like this one. How can I create.

![Captura.PNG](/t5/image/serverpage/image-id/57891iB5A4B413D3FD968F/image-size/large?v=v2&px=999 "Captura.PNG")


Answers:
author: Nic Brough -Adaptavist-
body: Confluence does not have a function to do this, it treats each space as a single tree, without highlighting any particular pages anywhere.
Can i lock a (Excel)File for other Confluence Users, while i am editing it?
Asked by Philipp Zey:

Is there any possibility to prevent overwriting an embedded Excel-File through several Users ?


Answers:
author: Dominic Lagger
body: Hi [@Philipp Zey](/t5/user/viewprofilepage/user-id/3355803)

Out of the box there are no possibilities to do that.

There ist the [Lockpoint Plugin](https://marketplace.atlassian.com/apps/36199/cenote-lockpoint-attachment-checkout), you can install. It locks and unlocks Confluence attachments for exclusive editing and controlled change management

Regards

Dominic

comments: author: Philipp Zey
body: Okay Thank you.

Do you know than, whether its possible to 'export' an excel file in a confluence table?


author: Dominic Lagger
body: This depends on the functionality of the excel table. Confluence can't calc sum / avg / min / max etc. out of the box. Again, there would be multiple plugins.

If you have just a normal table with text, you should be able to copy paste the table from excel. There is no "import" function of an excel file.

Regards

Dominic


author: Philipp Zey
body: So yes, the table includes only text, and i want to copy the table on a confluence page in a confluence table.

1. when i easily copy the whole table in the page, it Looks confusing

2. when i create a table the maximum is 15 x 20 ?! and another Problem is, i only can paste the Excel table then in one cell?!

tank you very much for helping


author: Dominic Lagger
body: This is tru, for the first creation, you are limited to 15x20. But you have the possibilities to extend the table as far and as long as you want.

Example in pictures.

**This is the excel -\> mark all and copy**

![Excel.png](https://community.atlassian.com/t5/image/serverpage/image-id/57904i7DE060193736F120/image-dimensions/364x477?v=v2 "Excel.png")

**Paste the table in a empty page. Do not insert a table manually first.**

![confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/57905i363E94ADFB03E056/image-dimensions/388x405?v=v2 "confluence.png")

Hope this helps.

Regards

Dominic


author: Philipp Zey
body: So, but i want edit the table and possibly sort it.. but the table is only a Picture than...
How to enable https/ssl for confluence application
Asked by Sanan Ibrahimoff:

Hi all, We have an internal wiki page build on confluence app, it's on Linux and runs as a web service using apache.

Currently its available only on port 80. (and 8090)

I need to reconfigure it so that its available on 443 and add the certificate. Which have been purchased and downloaded.

I have experience with linux and apache but new to confluence. Can someone please point me to right documentation or steps of enabling https over port 443? As I understood its not as easy and straightforward as configuring ssl for apache, I could not even find root document folder to add to Virtual Host settings. So assumed there should be another way.

|--------------------|-------|
| Confluence Version | 6.4.0 |

Thank you


Answers:
author: Alexis Robert
body: Hi [@Sanan Ibrahimoff](/t5/user/viewprofilepage/user-id/3354351) ,

you can follow [this guide](https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html) to configure Confluence and SSL. As you said it's more difficult to do this directly in Confluence than with Apache, so if you can I'd suggest using Apache.

Let me know if you have any questions,

--Alexis

comments: author: Sanan Ibrahimoff
body: Hi Alexis, Thank you for this. I will try to configure it on Apache side.


Tags: atlassian-support