youngmon/atlassian-qna huggingface dataset:
delete recalcitrant birthday event that finishes before it starts
Asked by Vyankatesh:

Every 5 minutes, the Confluence log has an error from a bungled calendar entry, made by heavon only knows whom:

2018-12-07 22:00:00,534 ERROR \[team-calendars-worker-2\] \[extra.calendar3.util.DefaultAsynchronousTaskExecutor\] call Exception happens on task execution:  
java.lang.IllegalArgumentException: Range start must be before range end  
at net.fortuna.ical4j.model.DateRange.\<init\>(DateRange.java:71)  
at net.fortuna.ical4j.model.Period.\<init\>(Period.java:101)

Anyone know how to delete the even from DB ? or any suggestion


Answers:
author: Diego
body: Hello there Vyankatesh!

This error has been reported under this bug:

**[CONFSERVER-57603 \| Team Calendar issue while creating Birthday Events](https://jira.atlassian.com/browse/CONFSERVER-57603)**

Further, we could try to identify the culprit by doing the following:
> 1. Click the **Cog Icon \> General Configuration**
> 2. In the left menu bar, search for **Logging and profiling**
> 3. In the **class/package name** text field enter this: **com.atlassian.confluence.extra.calendar3.ical4j**
> 4. Set it to **DEBUG** level
> 5. After that, wait a bit until the error comes up in the logs
> 6. You should be able to retrieve more information about the Calendar Event itself
> 7. When you find the **Calendar ID,** use it with the following query:
>
>    ```
>    select * from AO_950DC3_TC_REMINDER_SETTINGS where SUB_CALENDAR_ID='calendarID'
>    ```
>
> 8. **Shutdown Confluence**
> 9. **Backup your database, \<confluence-home\> and \<confluence-install\> folders**
> 10. To remove the offending entry, you can try the following:
>
>     ```
>     delete from AO_950DC3_TC_REMINDER_SETTINGS where SUB_CALENDAR_ID='calendarID'
>     ```
>
> 11. Start Confluence
> 12. Check if the error is still present

**IMPORTANT NOTES:**
> * If possible, try this procedure on a **test environment** before applying to Production
> * **Always backup** your database before changing it
> * Schedule a **downtime for your instance** before starting this procedure

Also, you can **vote and watch** for the Bug Report, which is already in the short-term backlog, according to the bug report page. Voting increases the bug visibility and watching will keep you up to date with everything!

Let us know your thoughts!


Tags: confluence-server

server

team-calendars-for-confluence
Issue with application links from confluence
Asked by Shanthi Chidambaram:

We are unable to view/navigate from confluence to jira even after the successful application links setup.

Note: This is happening only for few users. Attached the screen shot and error details for your reference.![01_Confluence_jira_links_error.jpg](/t5/image/serverpage/image-id/44161i8B663AFA61D0B638/image-size/large?v=v2&px=999 "01_Confluence_jira_links_error.jpg")![02_Confluence_jira_links_error.jpg](/t5/image/serverpage/image-id/44159iABD58A77BF032C0C/image-size/large?v=v2&px=999 "02_Confluence_jira_links_error.jpg")![03_Confluence_jira_links_error.jpg](/t5/image/serverpage/image-id/44160i99465637CAFC06C9/image-size/large?v=v2&px=999 "03_Confluence_jira_links_error.jpg")![04_Confluence_jira_links_error.jpg](/t5/image/serverpage/image-id/44158i721DECD705543AFC/image-size/large?v=v2&px=999 "04_Confluence_jira_links_error.jpg")![05_Confluence_jira_links_error.jpg](/t5/image/serverpage/image-id/44162i0B3DF76A942A2FE7/image-size/large?v=v2&px=999 "05_Confluence_jira_links_error.jpg")![06_Confluence_jira_links_error.jpg](/t5/image/serverpage/image-id/44163iE865B6587E725622/image-size/large?v=v2&px=999 "06_Confluence_jira_links_error.jpg")


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Can you check whether those users have JIRA access? The users should use their JIRA login to do OAuth authentication and it is a one time setup.

If the users are not licensed in JIRA, they will get error during OAuth authentication.

comments: author: Shanthi Chidambaram
body: User has JIRA access and can login successfully. This issue is occurring post login only.


Tags: confluence-server

server
No Restriction for a Space
Asked by Anthony Biscaris:

Hi all,

I am receiving the following error message: "There was an error submitting the page restrictions. Please try again later."

Does anyone know how to modify space restrictions to "no restrictions".

Thanks


Answers:
author: Diego
body: Hello there Anthony, thanks for sharing with the Community!

Could you clarify if you need to **set Space Permissions** or if you need to change **Page Restrictions?**

Here some pages about **Restrictions and Permissions:**

**[Permissions and Restrictions - Confluence Server](https://confluence.atlassian.com/doc/permissions-and-restrictions-139557.html)**

**[Permissions and Restrictions - Confluence Cloud](https://confluence.atlassian.com/confcloud/permissions-and-restrictions-724765432.html)**

However, if you are unable to change **Page restrictions**, I have seen similar issues and it was resolved by following this:
> 1. Go to the **affected page**
> 2. Click the **Three dots (...)**menu in the top right
> 3. Select to **Copy the page**
> 4. Copy the page **somewhere**
> 5. Check that you can now change the restrictions on the **copied page**

Let us know your thoughts on this!

comments: author: Anthony Biscaris
body: Hi Diego,

I need to set Space Permissions, in particular "Editing Restricted" - 'Everyone can View, only some can Edit'.

Regards,

Anthony


author: Diego
body: Hello there Anthony!

Taking in consideration the phrasing shown in your question and now (Editing Restricted" - 'Everyone can View, only some can Edit) I believe we are dealing with **Page Restrictions**, not Space Permissions. With this in mind, there is a possibility that you are being affected by these:

For Confluence Cloud - **[CONFCLOUD-53364 \| Unable to remove/add Page Restrictions to a Confluence page](https://jira.atlassian.com/browse/CONFCLOUD-53364)**

For Confluence Server - **[CONFSERVER-43340 \| Unable to set page restrictions due to large number of user keys in http header](https://jira.atlassian.com/browse/CONFSERVER-43340)**

Further, I would like to understand if you were able to try out the steps suggested earlier. Let us know!
How to get Rest API to return pages sorted by position
Asked by Venkat P:

I am using the Confluence API to retrieve children of a parent. The following API call returns the children of a Page with Id 123456, ordered by last modified date.

**rest/api/content/search?cql=parent=123456+order+by+last-modified**

I noticed that the following call returns results by position, however, I could not find a REST API equivalent for this:

<https://wiki.xyz.abc.com/pages/children.action?pageId=>**123456**

Any suggestions?


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

Since you want to see the page tree with the order of the pages intact, then you will need to use a different REST API endpoint. The endpoint you want to use is the follows;

```
GET /rest/api/content/{id}/child
```

Source document: [GET /rest/api/content/{id}/child](https://docs.atlassian.com/ConfluenceServer/rest/6.14.0/#api/content/{id}/child-children)

Using this endpoint, you will need to append the following to your call to ensure you get only pages returned

```
?expand=page
```

A full example call would look similar to:

```
http://localhost:8090/rest/api/content/CONTENTID/child?expand=page
```

You will need to place the parent page ID where the CONTENTID is. The results will be in page tree order of the parent.

I hope this proves helpful and you're able to access the data you need.

Regards,  
Stephen Sifers

comments: author: Venkat P
body: Thank you very much Stephen! This is perfect :)


Tags: atl-adm

confluence-server

server
How can I get access to CSERs to enter/edit/delete my GRM healthchecks.,,contact Doug???
Asked by Rick Heininger:

When I try to edit I get the message....the contact Doug message is ludicrous.

1 error has occurred {#toc-hId-1853424866}
------------------------------------------

* An error occurred. Attributes may not have been updated. Contact Doug if you believe there to be a problem.


Answers:
author: Jared Brenner
body: Hi Rick,

This seems to be more of a local issue with your organization's Confluence page. You'll probably want to figure out who Doug is and talk to him about it.

Good luck!
How to get the page name returned in a form?
Asked by Fred B:

In the Forms macro, Confluence Value $user.name can be used to return the identity of the user interacting with the form. Is there a variable name or macro to return the URL or Page Name within a form? I would prefer to send the Page Name value back in a Hidden Field.

I'm not an experienced programmer, so please take that into account if you reply.


Answers:
author: Jared Brenner
body: Hi Fred,

This is an Adaptavist plugin that I'm not familiar with. You may wish to consult their [Documentation](https://www.adaptavist.com/doco/display/F4C/Documentation) page for more information.

Good luck!


Tags: confluence-server

server
Export list of pages and all subpages with last date updated
Asked by Candace A:

Hello,

I'm helping to review our company's confluence content to assess what should be moved over as we begin to build a new confluence instance. Is there a way to export a list of all page and subpages in every project (shown as a hierarchy) and list the date each page was last updated to help me "inventory" our existing content?


Answers:
author: Jared Brenner
body: Hi Candace,

This could probably be accomplished using [ScriptRunner for Confluence](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview).

Good luck!


Tags: cloud

confluence-cloud
Confluence page won't load when editing the Overview page
Asked by Elior Odinak:

I keep getting this error for the Overview page when I try to edit it for a Space I created.  

"It's taking longer than usual to load this page. Give it a few moments, then try reloading. If it still doesn't load, speak to your Confluence admin."

I am a Confluence admin and permissions have not changed. Any other page in that Space is not an issue to edit. For the Overview page, I can't even view restrictions, let alone edit.

Any one have any suggestions?


Answers:
author: Shannon S
body: Elior,

Is there any particular macro you're using on this page? It might be causing the issue, in that case you'd have to disable the module that controls the macro, edit the page, remove the macros, and then re-enable the module. From there you would be able to add the macros back.

Another suggestion would be to try and copy the page and see if you're able to do that. Then you could replace the old page with the copy.

Regards,

Shannon

comments: author: Elior Odinak
body: So it looks like it was just an issue that day. The next day when I went to edit, it worked. No macros on that page, only spreadsheets.


author: Shannon S
body: Elior,

Thank you for confirming. If you run into the issue again, please don't hesitate to reach out or raise a ticket with the [Cloud support team](https://support.atlassian.com/contact#) so they can have a look at your logs.

Take care,

Shannon


Tags: cloud

confluence-cloud
How can I replace the meeting note blueprint with a custom global template that I have created
Asked by Sally Myers:

I want it to display with all the other enabled blueprints when the user hit "+" instead of at the bottom of the available template choices. Our default global template has not worked since migrating from Confluence server to cloud several years ago. It errors out on edit and was never able to be fixed via an Atlassian support ticket at that time.


Answers:
author: Aleksandr Zuevich
body: Hi Sally,

You can go to Settings -\> Global Templates and Blueprints (or <https://your-domain.atlassian.net/wiki/pages/templates2/listglobaltemplates.action>) and edit global template there.

comments: author: Sally Myers
body: But this does not allow me to get the indexing set to my custom created template, which is what I want to do. I have a custom global meeting notes template and want that to be automatically indexed into Meeting Notes on the space overview when the first one is created, like how the blueprint works. Is this possible?


Tags: cloud

confluence-cloud

meeting-notes
How can I populate a portion of a page with content from a different page
Asked by patwarnr:

Here's my example / problem I'm trying to solve. I have page that outlines a process and a workflow description. That is the specific point of that page. I have a different page, let's call it "Helpful Information" that I want to have a section that pulls in the content from the process and workflow description page. This 2nd page will more more information above and below this. Is there a Macro or something that I can just create a 'block' for lack of a better term. I want to only have to update the content once on the source page and have those edits show up on the other page.

P.S. I definitely NOT a Confluence or Wiki pro making really fancy pages.


Answers:
author: LarryBrock
body: Hi [@patwarnr](/t5/user/viewprofilepage/user-id/1164146)!

In addition to the out-of-box macros [@Jared Brenner](/t5/user/viewprofilepage/user-id/2608000) mentioned, check out the [Multi-Excerpt Add-on](https://marketplace.atlassian.com/apps/169/multi-excerpt?hosting=cloud&tab=overview) if you need to use more than one excerpt per page. It's not free but definitely provides value.

Hope these answers help, if so, please consider clicking the "Accept Answer" button(s) so others benefit from the "answered" flag in their search results - thanks!

\~\~Larry Brock


author: Jared Brenner
body: Hi Pat,

Check out the [Excerpt](https://confluence.atlassian.com/conf612/excerpt-macro-958777740.html) and [Excerpt Include](https://confluence.atlassian.com/conf612/excerpt-include-macro-958777739.html) macros. They allow a user to include an excerpt from one page on another.

Good luck!

comments: author: patwarnr
body: I was able to create the Excerpt on the source page, but unable to make Expert Include work. The dialog box says to enter the url of the page where the excerpt is, and I did that, but it keeps throwing an error that the page can't be found or that you can only excerpt from a page or a blog. The source page definitely exists. I'm thinking it's possible that this problem is because these pages were originally created on a different instance of Confluence and migrated to the current instance. I tried a test page in my personal space with 2 fresh pages and it works. Guess my problem is an edge case :(


author: Jared Brenner
body: It's possible the macro won't work across different spaces, so I'd check that first. And when using the Excerpt Include macro be sure to enter the **title**of the page and not the URL. An autocomplete list will appear after you enter the first few characters. Keep experimenting - I'm sure you'll find a solution that meets your needs!


author: patwarnr
body: Ta-Da!! Thank you. They are not on different spaces. I was using the url, not the page title. Thank you!!! Learned a new trick today :)
Unable to insert macros into page
Asked by Emily Giron:

:   I am unable to insert other macros onto any Confluence pages using the insert menu on a page while editing. I am also unable to edit existing macros that have previously been inserted. Me and all other users with editing privileges are experiencing the same issue. This issue has persisted for over 2 years. This issue can be reproduced in by clicking on any macro that has already been inserted onto a page in edit mode and then clicking 'edit' on the menu that pops up, or by clicking the toolbar's 'insert' option and then selecting 'other macros'. We are using version 5.9.1.


Answers:
author: Fabienne Gerhard
body: Hi [@Emily Giron](/t5/user/viewprofilepage/user-id/2645109) - which browser do you use? I made similar experiences with the version you mentioned when using Internet Explorer. Macros were unable to be clicked, names of macros were not shown - it made mess.

Another idea that just came in my mind - are you working with collaborative editing? You should check if Synchrony is working. Doing a restart here may also help.

comments: author: Emily Giron
body: I use google chrome, but this issue has persisted across all browsers. I don't think we are using collaborative editing.


author: CARLISLE
body: There was a known bug on this one.

[https://jira.atlassian.com/browse/CONFCLOUD-65196?focusedCommentId=1916761\&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel\&_ga=2.224441950.533480701.1548881379-143778484.1548785164#comment-1916761](https://jira.atlassian.com/browse/CONFCLOUD-65196?focusedCommentId=1916761&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&_ga=2.224441950.533480701.1548881379-143778484.1548785164#comment-1916761)

comments: author: Emily Giron
body: Thanks, that must be for the most recent version of Confluence, unfortunately we are still at 5.9.1 and contacted support about it and they cannot help since we are not at the most recent version. Trying to find a fix that does not involve upgrading our instance.


Tags: confluence-server

server
Need help with customizing header to a space.
Asked by Sonali:

Hi,

Need help with customizing header to wiki homepage. Would like to create links to subspaces and display it in the header eg . dropdown for departments ie. HR, Engineering etc.

While Editing the space, under the (+) icon select the given option insert more content-\>other macros-\> expand textbox and dragged it in the title bar.

However after publishing the space it does not appear to be in the correct format.

Do we need to use CSS ?

Thanks,


Answers:
author: Shannon S
body: Sonali,

From my understanding, you're attempting to add macros into the title bar of your Confluence instance? Macros can only be inserted into the pages themselves.

If you wish to add some drop-down menus in Confluence, then you'll need to use an add-on for that. I believe [SubSpace Navigation for Confluence](https://marketplace.atlassian.com/apps/194/subspace-navigation-for-confluence?hosting=cloud&tab=overview) might be exactly what you're looking for.

Regards,

Shannon


Tags: atlassian-marketplace

cloud

confluence-cloud
A user is trying to login and receives the error: Oops, you've made a malformed request.
Asked by Jason Wurster:

I have a user who has been logged out and now, upon trying to log back in receives the error:

Oops, you've made a malformed request. {#toc-hId-1853422946}
------------------------------------------------------------

I have disabled 2FA, uninstalled Chrome, re-installed and I get the same message. The user is able to log in through Safari, but that is unsuitable for his work environment/flow.

Please advise,

Jason


Answers:
author: Ang?lica Luz
body: Hi Jason,  

Thank you for getting in touch with Atlassian Community!  
I saw that you opened a ticket with our support related to the same question and they are already helping you.  
As the ticket is the same as this question, let's focus on the ticket to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter in two different platforms.

Regards,  
Ang?lica


Tags: cloud
Confluence Speed Issues
Asked by Mark:

I'm having issues with Confluence speed. Sometimes it takes 5+ minutes just to load the login page. Moving around the program is painful at best. 3+ minutes to load the dashboard after logging in. This happens for all users. I have Jira running on the same server and while Confluence is running slow, Jira is running at normal speeds. Anything that has been found in the online community with database locks and number of connections allowed has been changed according to the instructions with no improvements.

This is a brand new installation of the program.

Any help would be appreciated


Answers:
author: CARLISLE
body: I don't see the TAGS in this post when I read on the big screen.

I would reinstall everything for Confluence. It appears to be the install. It might not have been your fault, it just forgot to insert, enter, or include something when it deployed the goods.

comments: author: Mark
body: How does a computer program "forget" to insert, enter or include something. I followed the instructions word for word and did exactly as the installation told me. If the issue is as you describe, then it would lead me to there being an issue with the install files or the instructions, in which case I wouldn't want to go through the nightmare that installing this program is without a good install set.

In 20+ years of IT experience, I've never seen a computer program "forget" something. Either it does, or does not, depending on what the code tells it to do.

If a reinstall is what I end up having to do, is there a way to get the data that is already in the system (yes, it's being used even though it runs slower than molasses in a Canadian winter) so that nothing is lost?


author: CARLISLE
body: Are you running the Cloud Version or Server Version? If you self-host, then you might have bandwidth issues because of your configurations/settings. If you host with Atlassian, then it should be a speedy sprint.

Also, you might perform a speed test with your ISP to confirm bandwidth agreement speeds?

comments: author: Mark
body: The connection from computer to server is running a gigabit connection. as stated, while confluence is running slow...Jira is running fine. this is all running on the server version as specified when I created this question by tagging it with "confluence-server" and answering the question during the creation of the question "is it cloud or server" with "server"

this is all running inside my local network. there are 10G connections between DB and Web servers and 1G connections between workstations and servers.

This is a confluence issue or an issue with the setup / config somewhere that wasn't mentioned in the installation instructions. it is an MS SQL DB running on a failover cluster with 10 other databases within the instance and not one of the other systems have an issue like this.


Tags: confluence-server

server
How does Confluence xml store the display order of the pages
Asked by Celine:

Hi,

I'm trying to convert several confluence pages into one file, and hoping to make it the same order as displayed in Confluence.

I'm only able to find the ancestors and children of a page. But can not find info on the displaying order of the children pages. For instance, one parent page has 5 subpages, from which property does it show the displaying order of the 5 subpages?

Thanks,  
Celine


Answers:
author: Stephen Sifers
body: Hello Celine,

Thank you for providing information on what you're trying to accomplish. I would like to have a bit of further understanding as to why you're wanting to merge multiple Confluence pages into a single XML document while maintaining the parent level?

I ask because you may simply get these pages and their parent via the REST API endpoints made available. Ideally, you would GET the pages via the REST API. Once you have the pages you may then POST/PUT them back into Confluence under a different parent. Here are the endpoints you may use via the REST API:

* [GET /rest/api/content](https://docs.atlassian.com/ConfluenceServer/rest/6.14.1/#api/content-getContent)
* [PUT /rest/api/content/{contentId}](https://docs.atlassian.com/ConfluenceServer/rest/6.14.1/#api/content-update)

If the REST API is not an option, do let us know what your desired outcome is when merging the Confluence pages. This will allow us to help you find exactly what you're looking for.

Regards,  
Stephen Sifers


Tags: atl-adm

hierarchy

sort

xml