# Export Project Documentation to Confluence - On premise

Open Glass Documentation

Users with [Glass View permission](http://codecanvas.atlassian.net/wiki/spaces/GLASS/pages/558628888/2+-+Configuration) can access Project Configuration Documentation from the **project sidebar** menu, by clicking on the **Glass Documentation** menu:<br>

![Open Glass Documentation](/files/jcDeSuQFQAUA1BRpDoHa)

## Export as Confluence Page <a href="#exportprojectdocumentationtoconfluence-exportasconfluencepage" id="exportprojectdocumentationtoconfluence-exportasconfluencepage"></a>

To be able to successfully export to Confluence, a Confluence instance must be connected through a valid [Application Link](https://confluence.atlassian.com/applinks/link-atlassian-applications-to-work-together-785449117.html). This can be set by a Jira Administrator.

Click on **Export as** on the top right corner, select **Confluence** from the dropdown menu:<br>

![Export button](/files/LKdDZIph4YWzMg7NLZ2T)

Before exporting, you can select which content would you include into the export. This can be useful when you want to export every issue type as a page, or just don't need every detail at the moment.

<figure><img src="/files/aB1ZUSXkXYwbk2960z1z" alt=""><figcaption><p>Select what to export</p></figcaption></figure>

There are two different ways to export:&#x20;

* **CREATE** - new documentation as a child page
* **UPDATE** - existing documentation

User can choose

* The **Confluence Instance** which has a valid Application Link to your Jira
* The **Confluence Space** within the instance, where the export will take place
* The **Confluence Page**&#x20;
  * to which the child page will be created
  * which will be updated
* The **Page Title** - the name of the created / updated page

{% hint style="warning" %}
Note that private spaces not supported at the moment.
{% endhint %}

![Confluence export screen](/files/bSanfOuedmAlQ7nCRJsO)

{% hint style="info" %}
Note that **CREATE** operation creates a page **as a child page**, under the selected **Confluence Page**, while **UPDATE** operation actually **updates the** selected **Confluence page** with new Title and Content.
{% endhint %}

The exported page contains all the information available with Glass Documentation - in Jira:

![Exported document in Confluence](/files/uxBhaLI87GCU9Cn1pSno)

In **Jira Cloud**, the export progress can be followed step by step.

<figure><img src="/files/jYM0NL2yBjJOmKTtGn1x" alt=""><figcaption></figcaption></figure>

&#x20;

![Pdf export succeeded](/files/3ItolU1sEgLF7f0ODqbA)

{% hint style="warning" %}
In **Jira Cloud,** only one export can be run per user and project simultaneously. If an export is already running but the user clicked out of the Export Status screen, it is possible to rejoin or abort the export by clicking on the Export button again.\
\
![](/files/h9gNU3eHGHCzwRkilYGB)
{% endhint %}

## Page Properties Report <a href="#exportprojectdocumentationtoconfluence-usingpagepropertiesreport" id="exportprojectdocumentationtoconfluence-usingpagepropertiesreport"></a>

{% hint style="success" %}
**Pro Tip** - Use Confluence’s *Page Properties Report* to quickly overview all exported Documents!
{% endhint %}

All exported pages come with a label: *glass-jira-project-documentation* and a hidden page property macro with the most important data of your project.

After you have exported some pages with Glass, create a new page in your Confluence and insert **Page Properties Report** macro, with the following settings. (Only the label is necessary for this report, so you can create cross-space overview as well).<br>

![Page properties macro](/files/2wTTrBQOzpqRL3hwGDuS)

When the macro is inserted, this page becomes an automatically updated page with all your project configurations. You can easily overview project complexity by comparing workflows, issue types, and People in the project.<br>

![Confluence page for overviewing all exports](/files/LNvPAJTjgDEZ0BnBygbI)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meta-inf.hu/glass-documentation/user-guides/user-guide/export-project-documentation-to-confluence-on-premise.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
