youngmon/atlassian-qna huggingface dataset:
How to customize the default login auth error page?
Asked by Sameer V:

Hi,

Is there a way to customize this default auth error page? I want to be able to add a link and some custom text to it. Not able locate the exact template from which this is picked up from.

Appreciate any insights!

![auth-error.png](/t5/image/serverpage/image-id/30940i14CF4CD1263F0CCE/image-size/large?v=v2&px=999 "auth-error.png")


Answers:
author: Sattesh M
body: Hello Sameer, I believe the message is pulled from the **atlassian-authentication-plugin-x.x.x.jar** file in (Confluence Installation Directory)/confluence/WEB-INF/atlassian-bundled-plugins.

You can try extracting the jar file using and look for the **error-page-generic.soy** file in the **templates** folder.  
This seems to be the file that controls the error message above.  

Do try editing the file, zipping the file back in and replacing the original **atlassian-authentication-plugin-x.x.x.jar** file. (Please make sure to make a backup)

Once that's done, make sure to [clear the Confluence plugin cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html), and see if the changes stick.  

Let me know how it goes Sameer.  

Cheers,  
Sattesh

comments: author: Sameer V
body: Awesome! Thanks Sattesh!

Would you also kindly share how to get that page. :)

We have LDAP sync configured. I tried removing the group, so that the user becomes disabled. When I try to login using that user, I'm getting a login failure (form based login) and not that screen. Confused how I got to that screen before.


author: Sameer V
body: Never mind. I just saw it's a SAML assertion error. So, need to configure SAML based login.


Tags: atl-adm

confluence-server

custom-field

data-center

server
configure export footer at space level
Asked by ASC:

Hello,

We would like to add a Copyright footer on all export (PDF and Word) for some Space only.

I was able to achieve this with the PDF Export style and the exportword.vm template.

But those settings are global and apply to all Spaces.

Is there any way to add a footer to all document exports base on the Space ?

Regards,

Julien


Answers:
author: Shannon S
body: Hi Julien,

To set PDF export at a space level, this can be done following these instructions:

* [Customize Exports to PDF \> Setting the PDF layout at space level](https://confluence.atlassian.com/doc/customize-exports-to-pdf-190480945.html#CustomizeExportstoPDF-SettingthePDFlayoutatspacelevel)

Note if you modified the Global PDF export earlier, that's why it would apply to all spaces.

Word export customization was raised as a feature request, but we do not currently have plans to implement this:

* [CONFSERVER-8889](https://jira.atlassian.com/browse/CONFSERVER-8889) Abililty to customise Word Export

Otherwise, the workaround you used will affect the whole site.

There are a few add-ons that could help you customize the Word exports as you require. Have a look below.

* [Confluence Word Export Add-ons](https://marketplace.atlassian.com/search?product=confluence&query=word%20export)

Let me know if you have any questions.

Regards

Shannon
Attachements problems uploading backup
Asked by KESSLER:

We up loaded a backup and some attachements are not reachable. version 6.11

reload of backup is not allowed because some elements are already present.

Can someone help us?


Answers:
author: Shannon S
body: Hi there,

Please try the following articles to resolve your missing attachments:

* [How to resolve missing attachments](https://confluence.atlassian.com/confkb/how-to-resolve-missing-attachments-in-confluence-201761.html)
* [Some attachments or links are no longer accessible after server migration](https://confluence.atlassian.com/confkb/some-attachments-or-links-are-no-longer-accessible-after-server-migration-214862724.html)

Let me know if you have any troubles or questions!

Regards,

Shannon

comments: author: KESSLER
body: For your knowledge,

This happened when changing server. The backup through the admin interface did not work. We had to do an entire backup and it worked.

Thank you.

Best regards


author: Shannon S
body: Hi there,

Thank you for letting us know how you were able to resolve the issue!

Take care and kind regards,

Shannon
Why doesn't the HTML Include macro work?
Asked by Z Zaki:

Tried following instructions to include an iFrame using the Include HTML macro but I keep getting an exception.


Answers:
author: Sattesh M
body: Hello Z Zaki, assuming you are using the HTML for Cloud Macro, can you check to see if you have added the "Html Macro" user to the "access-confluence", or "Administrators" group, as per the documentation below.

* [HTML for Cloud Macro](https://artemis.atlassian.net/wiki/spaces/HFCM/overview)

Do let me know if this is not what you are using, or if the issue is something else.  

Cheers,  
Sattesh


Tags: cloud

confluence-cloud

macro
Is it possible to use the REST API of Confluence Server and append to a page rather than updating it
Asked by Sumanth Sathyanarayana:

Hello,

I am new to confluence and am using its REST APIs to create new pages and add contents to it. I keep on appending to the same page (may be many tables) or other data. Is there a way I could do this using REST API. So far I only got that I can update an existing page which would mean the entire existing content would go and new content would come on the page, but is there a way just to append to the page using REST APIs or would I have to read all the data using a GET call and then add my next set of data to the current data using a POST call. Is that the only way to do it? Or is there any REST API call for just appends to a page? Or are there other ways(other than REST) to programmatically/dynamically display content calculated on one of our local servers(non-confluence) on confluence server,....Looking forward to your response.

Thanks \& Best Regards

Sumanth


Answers:
author: Diego
body: Hello Sumanth!  
Actualy, other members of our Community have pursued this with good results!  
You can refer to their efforts in here:
> **[How to update a page in Confluence 5.5.3 via rest call](https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-update-a-page-in-Confluence-5-5-3-via-rest-call/qaq-p/486757 )**   
>
> **[How to update a page with Python using REST API?](https://community.atlassian.com/t5/Confluence-questions/How-to-update-a-page-with-Python-using-REST-API/qaq-p/480627)**

You may need to adapt something from their results, but it is good content!  
Let us know if this helps your case.


Tags: atl-adm
Change-History Macro - Limiting displayed list to 5 most current versions
Asked by Jason Wise:

I am trying to display version history on a status page for a project. This is a snapshot page and does not need the full history. I want to limit the displayed results to the \~5 latest versions.


Answers:
author: Brant Schroeder
body: Jason,

This is not currently possible. There is a request that you can vote up to have this functionality added. <https://jira.atlassian.com/browse/CONFSERVER-32315>

comments: author: Mike_Morales
body: Was this ever taken up?


Tags: confluence-server

server
Global Templates and Blueprints
Asked by Glen:

I have been given administrative privileges within my team's Confluence system. When I try to create a new Global Template within the General Configuration \> Global Templates and Blueprints, I am unsuccessful.

Steps to reproduce:

1. Within the General Configuration \> Global Templates and Blueprints, click the "Add global page template" button.
2. In the editor, give the document template a title and paste in the document content that I had created in a page within an existing space.
3. Click "Save".

The template is not added to the "Global Page Templates" and the page says, "There are no global templates at the moment." Is there a setting missing from my credentials that would allow me to access this area yet be unable to create the template and not see any errors?


Answers:
author: Glen
body: Hi[@Yoga Reddy {Appfire}](/t5/user/viewprofilepage/user-id/676173),

I just figured it out. I followed your suggestion to just create a template with simple text like "asdf" in it and saved and the template was created. I was able to change this text and save again. Then I pasted in the full document contents that I had imported as a Word document into a page and it did not work.

The reason that I could not paste the contents of a Confluence page into a template file I created is that Global templates do not permit pasted images. The image will display during editing, but you are not permitted to insert images other than images that are linked from the web.

Once I removed the placeholder diagram from the editor, the rest of the content was saved.

Thanks,

Glen


author: Yoga Reddy {Appfire}
body: Hi [@Glen](/t5/user/viewprofilepage/user-id/1893122)

Create a new template with a just some sample text instead of copying the contents from the document. If you still see the same message, please provide the logs.

Sometimes, some third party add ons also block creating new templates as mentioned [here](https://confluence.atlassian.com/confkb/unable-to-save-changes-in-the-global-template-148766944.html).

Thanks,

Yoga


Tags: cloud

confluence-cloud
Single project prefix and multiple team collaboration around an epic
Asked by Chris Dixon:

Hey All,

Currently i have a JIRA structure where we have a single project / initiative delivered by multiple epics.

These epics are delivered by multiple teams all of which have their own boards as a drop down from the project.

Previously having multiple project prefixes i could easily see which teams were delivering which components for an epic however with this structure i can't.

Does anyone know of any way i can view which teams are working on which stories for an epic easily when opening the epic / release.

My teams are stored using an assigned team field which is a predefined drop down.


Answers:
author: Anna-BigPicture
body: Hi [@Chris Dixon](/t5/user/viewprofilepage/user-id/1673664)  
Thank you [@Fabian Lim](/t5/user/viewprofilepage/user-id/3131564) for mentioning [BigPicture](https://marketplace.atlassian.com/apps/1212259/bigpicture-project-management-ppm?tab=overview&hosting=cloud).  
It's a comprehensive tool that supports project management in every phase. You can easily visualize the scope of work assigned to given teams, even if they use separate boards.  
![image - 2022-01-31T112449.906.png](https://community.atlassian.com/t5/image/serverpage/image-id/180732i7DB53C3D3A792A74/image-size/large?v=v2&px=999 "image - 2022-01-31T112449.906.png")  
Moreover, the Board module visualizes Jira Sprints and cross-team dependencies, making the planning process much more manageable. If you are interested in other features such as capacity planning or tracking the progress, have a look at the article: [Board in BigPicture](https://bigpicture.one/bigpicture-board/)


author: Fabian Lim
body: Hi Chris,

You may want to consider using Advanced Roadmaps or BigPicture plugins to satisfy this requirement.

Regards


Tags: project
Can the Confluence Team Calendar be Connected to an Outlook Calendar?
Asked by Ronald Matias:

Hi,

Can you tell me as to why we are not able to synchronize Outlook and Confluence calendar.

The article to subscribe was already followed but is getting an error.

Please assist.


Answers:
author: Ronald Matias
body: ![Confluence and Outlook 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/30913i70A7E73FA77947FC/image-size/large?v=v2&px=999 "Confluence and Outlook 2.png")![Confluence and Outlook.png](https://community.atlassian.com/t5/image/serverpage/image-id/30912i578385E0FA111B84/image-size/large?v=v2&px=999 "Confluence and Outlook.png")
How can I connect a JIRA project to Confluence space using REST API
Asked by admin the2h:

Using pages menu in a project page, I can connect current JIRA project to a confluence space.

Can I do the same job with JIRA REST Api?


Answers:
author: N?gila Marques
body: Hi there,

Atlassian apps do not yet have support for cross product REST API calls. However, this may be possible in the future.

If you are familiar with plugin development, take a look at the following documentation that might be helpful to achieve what you're looking for:

* Jira and Confluence communication: [https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Application+Links+in+JIRA](https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Application+Links+in+JIRA?_ga=2.215071635.569313641.1536064986-1860184503.1531324474)
* EventListener plugin in Jira: <https://developer.atlassian.com/display/JIRADEV/Plugin+Tutorial+-+Writing+JIRA+event+listeners+with+the+atlassian-event+library>

If you are not sure how to develop a plugin, contact an Atlassian expert to have them develop it for you. See: <http://www.atlassian.com/resources/experts>

Thank you!

comments: author: Bob Swift _Appfire_
body: There is a internal gateway/api/xflow REST API that deals with space links and works now with user and password. However, it fails when an API token is used for the password. We need a API token supported REST API to for this due to the conversion to only support API tokens. Can you provide a link to a public issue that documents this requirement?


Tags: atl-adm

confluence-cloud

developer

jira

jira-cloud

link

project

rest-api

space
Confluence macros seem to broken for us, help please?
Asked by Jamie McCarogher:

A few days ago, macros like the Version Report and filter results macros were taking longer than usual to load. Recently this have progress to the version report macro saying there's a licensing issue or I don't have the correct permissions. I'm a site admin and it's my page and project, so that can't be right.

In the last day or two, we are now having users report that they can't find macros like the Version Report or Filter results or that when they do, they get the following error message: "Unable to load unknown macro in macro browser"

We rely on Confluence to house a collection of reports which we use in conjunction with our releases. This couldn't have happened at a worse time as we are now less than a week away from release.

Please help?


Answers:
author: Shannon S
body: Hi Jamie,

I would advise you to create a ticket at our [Support page](https://support.atlassian.com/contact/#/) if you are on Confluence Cloud (per your tags). That way the team can get onto your index and run any required maintenance on your system.

If you're not on Cloud an inadvertently tagged this question as so, please let us know what version of Confluence you're working with.

Regards,

Shannon


Tags: cloud

confluence-cloud
Import Jira Server x Jira Cloud
Asked by mtsmatheus89:

Good Morning, is it possible to do the complete project export on the JIRA Server and then import it into the JIRA cloud ?. My real doubts would be regarding the fields, the jira would create these fields automatically ?, selection fields with their respective values?


Answers:
author: Dave Bosman [Realdolmen]
body: Hi [@mtsmatheus89](/t5/user/viewprofilepage/user-id/1891932)

Good afternoon ;-)

Jira will create the fields you already have.

You can find the documentation [here](https://confluence.atlassian.com/jirakb/migrating-from-jira-server-to-jira-cloud-779160826.html)

Make sure you have the same plugins installed or you could loose the information from those plugins.

Regards

Dave

comments: author: Francesc_Arb?
body: +1 to [@Dave Bosman \[Realdolmen\]](/t5/user/viewprofilepage/user-id/1839428)

just make sure your server instance is the lastest also.


Tags: jira

jira-cloud

jira-development
Test Execution Macro is not available in confluence
Asked by Karthick Jaganathan:

Test Execution Macro is not available in the Confluence edit page though i have Zephyr and ZAPI add-ons are installed and having a valid license.

I have checked the Application Links and all are fine.

Please let me know what else to check?


Answers:
author: AhmadDanial
body: Hi there, Karthick.

Can you please confirm specifically which add-on are you using on your Confluence Cloud so we can confirm on the functionality that you expect to see?

Additionally, can you share the Zephyr documentation where the **Test Execution Macro**functionality is explained as well to see if we missed out on anything specific while setting this up?


Tags: cloud

confluence-cloud
How I set a different footer message for anonymous with javascript and HTML macro
Asked by Dennis Veenstra:

For our confluence enviroment we needed to let anonymous users know that they needed to log in to comment, but I didnt want that message once they were logged in. Somehow the HTML macro didnt work in markupstyle in the footer itself.

I solved this as followed:

On a certain page with low traffic made a hidden excerpt. Here I used the HTML Macro with this code:

```
<script>        if (document.getElementById("login-link").id === "login-link")  {        document.write("You are not logged in. Please do to leave a comment.");        } </script>
```

Then used the wiki markup to include that excerpt in the footer.

The idea is that if someone is logged in, there is no login-link :)


Answers:
author: Dave Bosman [Realdolmen]
body: Hi [@Dennis Veenstra](/t5/user/viewprofilepage/user-id/1891665)

As always there are multiple options to solve this.

Here is 1 ;-)

You can use [this plugin](https://marketplace.atlassian.com/apps/202/visibility-for-confluence?hosting=server&tab=overview) to show or hide something in certain conditions. (yours will work)

In administration look for "sidebar, header and footer" and add following text

```
{show-if:special=@authenticated}You are not logged in. Please do to leave a comment{show-if}
```

Regards

Dave


Tags: confluence-server

server
Label list macro: ignore numeric labels
Asked by Max E:

Hi there!

I am looking for a solution to list all labels of a space as in the list-label macro. However, as there are hundreds of document numbers in our spaces, I would like to ignore all labels that start with a number.

Maybe there is an easy way of writing a short user macro. Anyone?

Max


Answers:
author: Bill Bailey
body: Yes, you can! It will be some work, but you can walk through pages to get a list of labels. Take a look at this macro for some guidance:

<https://github.com/unidwell/confluence-include-child-pages-macro>

Maybe the getLabels() method works for retrieving all the labels in space?

<https://docs.atlassian.com/atlassian-confluence/5.9.9/com/atlassian/confluence/labels/LabelManager.html>

OR, you may be able to render the label-list macro within a user macro, and RegEx filter the list from there.


author: Dave Bosman [Realdolmen]
body: Hi [@Max E](/t5/user/viewprofilepage/user-id/1169734)

I am not really a developer so i can't solve this without some help of someone that knows javascript.

If you or someone on your team has this knowledge you should be able to write a small javascript file that uses regex to do a check on all the labels and remove or hide them if necessary.

This will work perfectly in a user macro.

Regards

Dave


Tags: confluence-server

server
Label Button is not visible in template
Asked by Ir?ne Jost:

Hi, the label button is not visible in our confluence version 6.7.1 when I edit a template. Do you know what the problem could be? Thank you so much for your answer. Irene

![LabelButton.png](/t5/image/serverpage/image-id/30873i6D5ADE83FA80DD5C/image-size/large?v=v2&px=999 "LabelButton.png")


Answers:
author: Shannon S
body: Hi Ir?ne,

Which kind of template is this? Is this a Space Template or Global Template, and did you create it yourself?

I'm not able to replicate this myself in Confluence 6.7.1 except where the template is a system template. Can you let me know if this is what you're trying to do?

Regards,

Shannon

comments: author: Ir?ne Jost
body: Hi Shannon

It's a Space Template (I guess) and I created it myself. The template is under "Configure area".

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

Thank you, regards, Irene


author: Shannon S
body: Ir?ne,

Thank you for confirming. Do you know if other users can confirm the same issue? Does the same occur if you edit a Global Template?

Since I'm not able to replicate this, a few things we can do to test would be:

* Remove any customizations you have on the instance
* [Disable all add-ons](https://confluence.atlassian.com/upm/disabling-and-enabling-add-ons-273875716.html), putting Confluence in safe mode.

If this doesn't return the labels button, then I'm going to create a ticket for you in our support system, as we will need some log files from you in order to troubleshoot further.

Regards,

Shannon


author: Ir?ne Jost
body: Hi Shannon

Thank you for your answer. Sorry, for my late response. I was in the holidays.

I'll forward your message to our Confluence representative.

If it does not work, I'll contact you again.

Thank you, kind regards

Irene


Tags: confluence-server

label

server

template