youngmon/atlassian-qna huggingface dataset:
Include page title in the page include macro
Asked by Karie Kelly:

Does anyone know how to include the page title when using the include page macro? We use this alot to generate our end user or custom client-facing doc, but have to reinsert the page titles for each. Would appreciate any ideas on how we can do this.


Answers:
author: Marko Suvila
body: Include page title should be optional.


author: Matthew J. Horn
body: You could write a macro that invokes the include page macro and also includes the title of the target page. To invoke a macro from within a macro, use the $globalHelper.renderConfluenceMacro() method. hth,

matt
Export PDF - Exclude Page Title
Asked by Karie Kelly:

Does anyone know how to have an option to exclude the page title when doing a pdf export?


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Karie,

Navigate to Space Admin -\> Look and Feel -\> PDF Stylesheet -\> PDF Export Stylesheet -\> Edit and enter the following:
> .pagetitle h1 { display: none; }

<br />

comments: author: Karie Kelly
body: Thanks so much!


author: Karie Kelly
body: Guilherme - do you happen to know how I might include this in a user macro to add to a page such that when an export was done, it was not included - thus, allowing this to be page controlled instead of space controlled? I know it can be done via the CSS Stylesheet macro - but, CSS is not a good solution for global exports and page includes.

I also tried adding this to our existing landscape div, but that didn't seem to work - if it can be done, I may have then had the implementation wrong.

Any advice is most appreciated!


author: Guilherme Nedel [Atlassian]
body: Hi Karie, I believe that is not possible, the user macro would only affect elements within the page body, not affecting the title behavior.


author: Aleksandr Oliferuk
body: Hello!

I want to report that this solution incorrectly works on 6.13 Confluence Server - this css hide all h1/h2 elements, and not only title.


author: Aleksandr Oliferuk
body: Hello again. Our team could find new solution for this task:

```
h1.title-header
{
  display: none;
}
```


author: Lilian Tong
body: Thank you Aleksandr! This worked for me. It also overrided the space CSS, but I copied the space CSS to the PDF stylesheet and got all my desired formatting in the PDF :-).


author: Martha Rojas
body: Hello,

I have created a Template fro Change Request in a Page. I am trying to add my company Logo to the page (probably upper right corner) to export the page (template) and send it out for signature.   

Is there a way to add my logo to the page and it'll show in the PDF export?

Thanks in advance!

Martha
Connect Confluence Macro to JIRA
Asked by Jackson Egan:

I'm trying to pull JIRA project information into a Confluence Macro, use it to populate some template variables and then send information to JIRA to create an issue based on user input from a Confluence Macro Plugin. The macro is working fine in Confluence, but I'm having a really hard time connecting to and gathering data from JIRA. Is there any documentation on this kind of thing?


Answers:
author: Mark Hrynczak
body: Sounds like you want to use Application Links. Start with the documentation at <https://confluence.atlassian.com/display/APPLINKS/Application+Links+Documentation>

comments: author: Jackson Egan
body: I've seen this, but it doesn't do a great job of covering the finer points of this connection in plugin development. I can learn what I must to make this work, but a list of packages doesn't really help me. I'd at least like an example third-party plugin that uses app links to share data. Anything come to mind?


author: Mark Hrynczak
body: I don't know of any third-party plugins where you can access the source, but you could use the bundled JIRA issue macro as a guide.

You can access the source for these (there are actually 2 macros) at:

* <https://bitbucket.org/atlassian/confluence-jira-connector>
* <https://bitbucket.org/atlassian/confluence-jira-plugin>


Tags: confluence-administration

jira
Table of content
Asked by Genevi?ve Rouleau:

I update my server from 3.1.1 to 5.1.4. I do three updates to go to 5.1.4. It works fine but some document with TOC don't work. The TOC is there but the link don't work. I delete the TOC, save, edit and insert TOC again. It doesn't work. I try to copy the content of the page to a new page. Some item in the new page have link but some don't. Do you have any idea?


Answers:
author: Genevi?ve Rouleau
body: Hi,

Thank you again for your answer but il doesn't work. I will open a ticket to support.

Have a nice day


author: Genevi?ve Rouleau
body: Hi,

Thanks for your answer.

No, my page isn't in a onother one. It works before the update


author: jing_hwa_cheok
body: Hi there,  

Could this be related to this bug [https://jira.atlassian.com/browse/CONF-26969?](https://jira.atlassian.com/browse/CONF-26969) Please vote up this bug report to increase it's value score if it is related your scenario.   

comments: author: jing_hwa_cheok
body: Hi again,

<br />

If that's the case, it might be possible that one of the confluence bundle plugin has been disable after the update.

To resolve this you will need to reset all the plugin back to default state. Please try the step below:

1. Backup your database Dump as a precaution
2. Shutdown Confluence
3. Run the query below in your Confluence database

```
UPDATE BANDANA SET BANDANAVALUE = '&lt;map/&gt;' WHERE BANDANAKEY = 'plugin.manager.state.map';
```

4. Clear Plugin Cache <https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache>

5. Restart Confluence

If the issue persist, you might need to create a support ticket in [https://support.atlassian.com/](https://support.atlassian.com/.). Our support engineer will help you to investigate this issue.  

Kind Regards,  
Jing Hwa
Team Calendars - Confluence - iPad
Asked by Chuck Gould:

Confluence 5.1.3 - Team Calendars 3.2.4 - Documentation Theme  
========================================

I have a combined view of multiple calendars in a wiki space using the **Documentation Theme**. When viewing the page on an iPad 3 all looks well, except when you scroll down the page (monthly view) the screen locks.

Is this a known feature, a bug, something that is already reported and scheduled to be fixed?

This is important because a lot of the decision makers controlling purchasing use iPads and I would like to enable them to see the combined calendar views.

Thanks!


Answers:
author: Chuck Gould
body: Thanks, I hope you get it fixed soon.


author: Stephen Feather
body: No movement on this feature in nearly a year? What good are calendars if you can't see them from all your devices? (switching to desktop mode on a mobile is NOT the right answer)

$10 for base confluence then $10 for calendars you can't see. I can tell you that we are only 3 days into our Team calendar's eval and I'm already starting to lean towards not recommending the team purchase it.


author: William Zanchet [Atlassian]
body: Hey Chuck,  

Let me try to explain, why that isn't a bug.   
Confluence has a mobile version, but some macros doesn't work in the mobile version, just in the desktop version. I believe that is the case of Team Calendars, that only works under the Desktop version, because we don't have a version optimized for Team Calendars under the mobile version.

With this idea on mind, I raised a feature request: [Have an optimized way to use Team Calendars in the mobile version.](https://jira.atlassian.com/browse/TEAMCAL-1534)  

I believe with this feature request, we can get rid of such problem.  

Cheers,  

WZ


Tags: ios

team-calendars-for-confluence
Do not see any templates listed in the Create from Template macro Template Name drop-down
Asked by Trina Peck:

I'm trying to customize the Default Space Content template by adding a few Create from Template macros buttons but the drop-down doesn't display any templates.

When I've added this button to other spaces/pages I see my templates. I'm using Confluence OnDemand...is this a limitation?

Thanks for your help!


Answers:
author: Trina Peck
body: I'm not sure what happened but I can see my templates now. Thanks!


author: Trina Peck
body: I'm not sure what happened but I can see my templates now. Thanks!


Tags: cloud

confluence-cloud

macro

template
Editing the "Edit Contents" button caption
Asked by Tim_Brigham:

We have a number of people in my organization that don't speak English perticularly well. I would like to relable the "Edit Contents" button with something like "Fill Form" to more easily distinguish between the two buttons.

I was thinking that I might be able to do something with the style sheet in the GUI, maybe a config file?


Answers:
author: Peter Van de Voorde
body: Hi Tim,

This is possible if you edit the correct properties file within the plugin jar file.

What you should do is the following:

1. Download the plugin
2. Open the file with your favourite zip program and extract all content.
3. Open the scaffolding-plugin-x.x.x.jar file and extract the content.
4. Find the i18n.properties file located in the \\net\\customware\\confluence\\plugin directory
5. Edit the lines that say **navlink.editscaffold=Edit Contents** and **editscaffold.name=Edit Contents** to **navlink.editscaffold=Fill Form** and **editscaffold.name=Fill Form**
6. Repackage everything back into the jar file and them repackage the jar file back into the obr file.
7. Install the plugin

You could also just search your confluence plugin directory for the correct jar or properties file and change it directly in those files.

Keep in mind that you will need to redo these changes everytime you upgrade the plugin.

Best regards,

Peter

comments: author: Tim_Brigham
body: Exactly what I needed to know, thank you.


Tags: scaffolding
Templates in Confluence
Asked by Taylor Sui:

How do you create and set up templates in Confluence? Is there a specific plugin that needs to be downloaded in order to create the template?

Also, how do you add a drop down list to a template, so it is there for users who want to use the template.


Answers:
author: jing_hwa_cheok
body: HI Taylor,

<br />

You refer to this guide on how to work with template [https://confluence.atlassian.com/display/DOC/Working+with+Templates](https://confluence.atlassian.com/display/DOC/Working+with+Templates.).


Tags: confluence-administration
Why doesn't the Children Display macro show excerpts that come from other macros?
Asked by Gabrielle Gagnon:

We use the Children Display macro w/Excerpt option to dynamically provide a summary of content on child pages. But, unlike the Excerpt macro itself, only text entered directly into the Excerpt macro is displayed; any content coming from other macros is ignored. This severely limits the usefulness of this macro because we often get text from Scaffolding data macros (input forms) or from IncludePage and MultiexcerptInclude macros in our excerpts.

Are there any plans to fix this? Does anyone have a workaround?


Answers:
author: Christina Schantin [Communardo]
body: Maybe i can help you with a workaround: you can use the content by label macro. this macro has the excerpt option as well and displays the excerpt including all other macros.

for filtering you can use labels. i hope, that will help.

comments: author: Gabrielle Gagnon
body: Yes, this is a good workaround. The font is larger, which takes up more space, and we'll have to make sure the correct labels are added to the pages, but it works. It does what we want. Thanks so much for responding


Tags: child-page

excerpt

macro
Jira Makros not working since update to Plugin-Version: 5.0
Asked by Jonathan:

it's deactivated and can't be aktivated after commencing the latest confluence Makros update.


Answers:
author: Jonathan
body: Hi,

I did the update via the normal plugin management feature in confluence admin menu.

after the update the jira makro plugin was greyed out and labeled "deactivated". Clicking "activate" did not work, the plugin remained deactivated, it said that "something" prevented the plugin from being activated. I then asked my **server** admin to **restart** confluence, after that everything was ok again.


author: jing_hwa_cheok
body: Hi Jonathan,
> it's deactivated and can't be aktivated after commencing the latest confluence Makros update.

<br />

Do you mind to elaborate what you mean by this?

Is there any specific error that appear?  

How did you performed the update?

How did you know the macro is deactivated?

<br />

<br />


author: jing_hwa_cheok
body: Hi Jonathan,
> it's deactivated and can't be aktivated after commencing the latest confluence Makros update.

<br />

Do you mind to elaborate what you mean by this?

Is there any specific error that appear?  

How did you performed the update?

How did you know the macro is deactivated?

<br />

<br />


Tags: confluence-administration
How can I copy a series of pages (parent/children) in Confluence 5.2?
Asked by Beth Buonanno:

We downoaded the free plug-in ccopyspace, but I received an HTTP STATUS 500 error. Help please?

I created a series of pages to be used as a template for each new project, and want to reuse what I have already designed. Thanks


Answers:
author: JamieA
body: You could be the first ever user of [Script Runner for Confluence](https://marketplace.atlassian.com/plugins/com.onresolve.confluence.scripting.script-runner), which has facilities for [copying page trees](https://jamieechlin.atlassian.net/wiki/pages/viewpage.action?spaceKey=CSR&title=Built-In+Scripts#Built-InScripts-CopyaPageTree), including adjusting internal links within that tree.


author: Beth Buonanno
body: thank you for your assistance.


author: Beth Buonanno
body: So the problem ws that I had an older version of the plug-in. We installed the latest version and it works like a charm! thank you repsonders for replying to my question.


author: hsuhailah
body: Were you referring to [Copy Space Add Ons](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugin.copyspace)? Where did you try to download the plugin and received the error?

What you're trying to do can be achieved using this plugin but let's ensure a successful download/installation of it first.


Tags: copy
Is it possible to copy and edit a Confluence shipped macro?
Asked by Toby Phipps:

I want to tweak the output created by the "Attachments" macro that is shipped with Confluence, such as to remove/retitle columns etc. Is there any way to copy it and edit it as a new User Macro?


Answers:
author: Ryan Goodwin
body: Hi Toby,

If you'd like to customize the attachments macro, you should download, extract, then customize the confluence attachments add-on. You can download the add-on here:

<https://marketplace.atlassian.com/plugins/confluence.extra.attachments>

Once you have the jar file, you can customize it after extracting the files. If you are unsure of how to extract the files follow these instructions:

<https://confluence.atlassian.com/display/CONFKB/How+to+Edit+Files+in+Confluence+JAR+Files>

Hope this helps!

comments: author: Toby Phipps
body: Ryan, many thanks. I'm looking inside the JAR file now. Just one minor clarification - is the Java source for the .class files in the macro provided by Atlassian or only the compiled .class files? Without the Java source, it looks like I can customize the .vm and therefore most of the UI presentation, but not the actual engine pulling the attachments back.


Tags: confluence-administration
Changing css with ondemand demo
Asked by Robert Congdon:

Is it possible to make modifications to the stylesheet with the ondemand demo? I'm looking to change the appearance of h1 but I can only seem to change the stylesheet of a pdf export. I tried to switch to the documentation theme but I only see options for navigation, header, and footer.


Answers:
author: David at David Simpson Apps
body: No, sorry. You can't change things that may break the layout in OnDemand.

comments: author: Robert Congdon
body: So there would be no other way to change the appearance of h1, h2, etc? One example of a change I would like is a horizontal rule under the text to make the breaks clearer.


Tags: cloud

confluence-cloud
Can't use JIRA Issue macro in confluence without logging into JIRA
Asked by Jason Plumhoff:

OK - my JIRA instance is set to public mode, and I've verified that any user can view any issue without logging into JIRA. I've got my Confluence and JIRA linked through OAuth (since they don't have the same userbase). But my Confluence users who aren't JIRA users are unable to use the JIRA Issues macro! When they try to use the macro, they see a message that says they need to login to JIRA. The dialog won't let them do anything without logging in. I don't understand why this would be necessary, since my JIRA is open. They CAN see an existing JIRA macro that was set up by a JIRA user, but they can't create their own. Is there something I need to change in my setup?

Thanks,

Jason


Answers:
author: Jason Plumhoff
body: Nevermind, I fixed it. It turns out that I had outgoing authentication turned on in the application link. This was unnecessary, as the JIRA instance was open. I disabled the outgoing authentication and the problem was resolved.


Tags: confluence-administration

jira
What SW is used to host this Question/Answer board? Is it an Atlassian product?
Asked by Tom Stokes:

What SW is used to host this Question/Answer board? Is it an Atlassian product?


Answers:
author: Nic Brough -Adaptavist-
body: It's a fork of OSQA - look for the link to the original open source stuff at the bottom left of this page.

It has been suggested that Answers could become an Atlassian product, but I don't know if that is still on the cards or how long it might be.
Font Style and Color in Confluence Table of Content Macro
Asked by ElizabethC:

I'm using a Table of Contents macro on each Confluence page, but the heading text displays by default with the font applied to the headings (for example, I have Heading 4s with bold and blue text). How do I get it to show the content entries like they do in the right side bar in Confluence Online Help---plain "paragraph" text with the theme's link color?


Answers:
author: Matthew J. Horn
body: Theoretically, there is a workaround. You can specify the class name of the DIV that surrounds the TOC. This is the last option on the TOC insert macro page. You then use that DIV to reference and change the TOC styles... in either a stylesheet or with jQuery. This should let you override the default styles. I wish I had the time, I'd take a stab at it...


author: ElizabethC
body: Thank you Matthew and Guilherme for your answers. I understand about the time factor, for now the style may have to be the way they are.


author: ElizabethC
body: There appears to be no current quick solution.


author: Guilherme Nedel [Atlassian]
body: Hello Elizabeth,

It appears to be a behavior related to this [bug](https://jira.atlassian.com/browse/CONF-24039) in the macro. Currently there isn't a workaround, though you can post your concerns to the bug report ticket.

Hope it helps.


Tags: colour

font

table-of-contents
Restoring Confluence from backup & plugins
Asked by Brad Svee:

<https://confluence.atlassian.com/display/DOC/Restoring+a+Site>

Does not mention the plugins from the old site and whether or not they are migrated, or how to migrate them. In our first test it seems that the plugins do not come accross in a site restore.


Answers:
author: Brad Svee
body: We found that the plugins are stored in a directory with the attachments and cleaning out the cache directories in conf_home before the first start will load them back up


author: Matthew J. Horn
body: I've found it helpful to keep a list of third-party plugins that we installed on Confluence, so that when we do a backup/restore we know which ones we have to re-install.

It's also helpful to keep any notes about each plugin (such as the HTML plugin -- you have to manually enable some modules to use all the functionality). Another example is the SQL plugin, which has to be configured separately.

comments: author: Brad Svee
body: So these seems to be a rather large gap in the process that isn't documented?


author: Harry Chan
body: It's probably best and recommended for larger installations anyway to do a database backup + home directory restore rather than using the XML backup method. This should carry across plugins[.](https://www.cloudshards.com/confluencehosting.php)


Tags: restore
Atlassian Stash just not understanding Active Directory nested groups
Asked by Brian Bircham:

Hello

Can anyone tell me if they're got their Atlassian Stash working correctly with nested groups? I have the option enabled but when I use a group that has subgroups containing users in the user filter, I can not authenticate. Additionally, using the top group in the group filter does not pull any users when syncing. When I add the group contained within the top group directly and synchronise, it works fine, as does authentication. It seems to me that Stash just does not support the nested groups

Brian


Answers:
author: Gurleen Anand _Atlassian_
body: Hi Brian,

I'd suggest creating a support request at <https://support.atlassian.com> as this issue might need some further investigation. Please attach your Stash debug logs: <https://confluence.atlassian.com/display/STASH/Stash+debug+logging> as well as an LDAP LDIF for the nested group and user that fails to appear in Stash after a sync. A screenshot of your LDAP configuration in Stash will also help.

Thanks,

Gurleen


author: Brian Bircham
body: I didn't get an answer if anyone has got it working or not. In this case, raising a support request is the only option


Tags: active-directory

bitbucket-administration

bitbucket-server

crowd

ldap