youngmon/atlassian-qna huggingface dataset:
Is there a macro that allows you to add attachments when making a space template?
Asked by Daniel Heidler:

I'm trying to implement an 8D Process into confluence using a space template. I'd like the users of the template to be able to upload attachments in certain parts of the process. Is there a macro that allows you to create a space for them to do so?


Answers:
author: Gorka Puente _Appfire_
body: Hi @Daniel Heidler,

There are several macros that you can include, like:

* "Attachments": Creates a list of attachments that belong to that page.
* "Space Attachments": Creates a list of attachments that belong to that space.
* And other macros from marketplace add-ons: "Scroll html attachments" by K15t, "Attachment Display plugin" by Seibert Media, "Attachment table macro (Advance tables)" by Bob Swift and so on...

Or you could use the page blueprint "File list".

Regards,

Gorka
Disable Links in JIRA Gadget
Asked by Mark Fuller:

I am trying to create a page in Confluence using JIRA gadgets. I can easily pull JIRA issues onto the page. My problem is that I want the page to be visible to external customers who should not have access back into JIRA. Is there a way to disable the links so they can still see the information I choose to share without them trying to clink the link and log in to JIRA?

I can also block them using login credentials but that seems like a very non-elegant way.


Answers:
author: Rodrigo Girardi Adami
body: Hi Mark,

Out of the box I believe this is not possible. You might need to use a customization to achieve this. I've searched in the web and maybe the [hide from macro](http://www.adaptavist.com/display/AtlassianConfluence/hide-from+macro) can help? :smile:

Cheers,

Rodrigo


Tags: confluence-administration
How to run a Python script that used XML/RPC to find those macros, remove them, and save the pages
Asked by kaushal:

How to run a Python script that used XML/RPC to find those macros, remove them, and save the pages.


Answers:
author: Jonathan Simonoff
body: Here's a program that is pretty close to what you need. Your wiki needs to be open to XML/RPC access, you need to put in credentials and the right URL, and you need to put in the text you need to remove. If what you want to remove a macro that varies because of different parameters, you'll need to use re (the Python regex module) rather than doing a string replace.

Note that this acts on the storage format -- to see what your macro looks like in storage format, choose Tools \> View Storage Format when looking at a page that has the macro.

If you want to go through the entire wiki, you can get the space list using the XML/RPC method "getSpaces" and add an additional **for** loop to go through the spaces.

```
#!/usr/bin/python#import re,sysfrom xmlrpclib import Serverspace='Linux'comment={'versionComment':"Page put into format by script."}# main program# Set up confluences=Server("http://serverbaseurl/rpc/xmlrpc")token=s.confluence2.login("username","password")pages=s.confluence2.getPages(token,space)for pagesum in pages:  pagename=pagesum['title']  try:    page=s.confluence2.getPage(token,space,pagename)    print "Doing page",pagename.encode('utf8','replace')  except:    print "Couldn't read page",pagename    continue  page['content']=model['content'].replace('remove','')  page=s.confluence2.updatePage(token,page,comment)
```
Delete Unknown Macro :{align}
Asked by kaushal:

We have used multiple macros and plug-ins along with Adaptavist Theme Builder and currently are on old Confluence version 3.5.7. We want to update our Confluence version (currently testing 5.6.3) after all these years and are contemplating removing Themebuilder.

In our test area, the align macro (one example of broken macros) is broken on a ton of wikipages in many of our wikispaces. Is there any way or tool (or plug-in) that would assist in the removal of this macro (not its contents in which it is aligning) from all the pages in a wikispace or all the pages in all of our wikispaces? Or, will we have to remove these "special" macros by sight and hand?


Answers:
author: Kay Brown
body: You can install the Content formatting plugin. There is a free version. I had the same thing happen when I upgraded. Here is the info: <http://www.adaptavist.com/doco/display/CFP/Content+Formatting+Macros+Plugin>

Regards,

Kay


author: Jonathan Simonoff
body: I would do that by running a Python script that used XML/RPC to find those macros, remove them, and save the pages. I don't believe there is any build-in facility or plugin to accomplish that.
Cloud versions - JIRA Issues Macro: Permission Denied, for Confluence-Only users
Asked by David Wilson:

We have JIRA and Confluence (Cloud versions... formerly OnDemand). Most of our organization uses Confluence, but only the Developers use JIRA (Agile).

However, the Confluence users ***do*** need read-only access to JIRA issues info, mostly to see reporting on general state of the issues the Developers are working on.

We wanted to include the JIRA Issues Macro on a Confluence page that the rest of the organization can look at to see the issues we're currently working on in a Sprint (and their status), or the issues that are still in the Backlog (and their rank).

However, non-JIRA users get permission denied on the Macro. I've looked online, and for non-cloud versions, you can define the authentication type so that you can define the credentials that the macro runs under. How do we do this with Confluence Cloud? I have no problems using a JIRA license for read-only abilities to issues, but I need the ability to define the context for the JIRA Issues Macro.

To me, this is basic functionality that I believe most companies need. What is the solution?


Answers:
author: AgentSmith
body: This subsequent posting appears to be similar:

<https://answers.atlassian.com/questions/11441646>


Tags: cloud

confluence-cloud

jira

jira-cloud
Is there any way to list the 'Topics' for my Questions implementation in alphabetical order?
Asked by Patrick Bourke:


Answers:
author: Guilherme Nedel [Atlassian]
body: Currently that is not possible Patrick, though there is already a feature request for such to be provided in <https://jira.atlassian.com/browse/CQ-946>.

You can cast your vote and add your considerations to that ticket.
Confluence: Upgrading from 5.0.3 to 5.6.4
Asked by Kent cross:

We recently upgraded from 3.5.16 to 5.0.3. We have been working for a month with Atlassian support on two key problems without success: We cannot create a working AppLink with our JIRA 6.2.7, and we cannot disable/add licenses to several add-ons.

Should I try to resolve these issues in version 5.0.3, or should I upgrade fully to 5.6.4 (in our test environment first) and resolve them there?

Do I have to upgrade first to 5.1.4, or can I upgrade directly to 5.6.4?


Answers:
author: rrudnicki
body: Hi Kent,

You can go directly from 5.1.4 to version 5.6.4 as you can see in [this link](https://confluence.atlassian.com/display/DOC/Upgrading+Confluence)about Confluence Upgrade.

In my opinion, the version 5.6.4 would be better since it has some new functionalities and some bugs were fixed since version 5.0.3.

Please, always you try a upgrade, do it in a test environment and make backups before :wink:.

Regards,

Renato Rudnicki

comments: author: Kent cross
body: Thank you. You've given me the confidence to give it a go.


author: rrudnicki
body: You're welcome :).


Tags: confluence-administration
After successful space import process, the space is not visible
Asked by Roadmunk:

Hi

I've imported a space into a Confluence 5.0.1 server (from different server, same version)

The import process completed without any error.

The space is not visible in the space directory.

I can see the space in the "Space Permissions" under the "Individual Spaces", But when clicking on the "Space Permissions" link, I'm directed to a page where I get the following message:

The page you were trying to reach could not be found. This could be because:

* The page does not exist.
* The page exists, but you do not have permission to view it.

Any idea?

Thanks

Itamar


Answers:
author: Roadmunk
body: Found the problem...

it was a permissions issue, fixed it and voile, it is there.


Tags: confluence-administration
Confluence Team Calendar: Event Type JIRA Project Release is gone
Asked by Vera Henrichs:

Before I have to write down a long story of what happened, here's a quick question:

We don't see the Event Type "JIRA Project Release" anymore in the Confluence Team Calendar. We suddenly had that when we upgraded Confluence or JIRA or the TeamCalendar. I have deleted Events called "Project name release" of the event Type "JIRA Project Release" and now we are back to basic with the "normal" options of the TeamCalender. We have installed the iCalendar-plugin in JIRA.

How do I get that back?

JIRA 6.2.1  
Confluence 5.6.4  
TeamCalendar 5.0.5

Thank you


Answers:
author: Deividi Luvison
body: Hey Vera, try the following:

1. Uninstall Team Calendars (you will not lose any data).
2. Now delete all directories listed on the [Clear Confluence Plugin Cache guide.](https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache)
3. Start Confluence.
4. Make sure your application link is working correctly. Create a test JIRA issue in Confluence.
5. Re install Team Calendars.
6. Check if the JIRA event shows up again.

Let us know how it goes.  
Thanks and Regards,  
David\| The Engineer that like Windows for realsies.


author: Vera Henrichs
body: Hello Deividi,

Thank you for your answer. Before I try this, the following is happening now: we do have the event, but you can't choose any Projects. Sometimes it's there, but most of the time there is nothing in the dropdown.

Any idea on this?

Thank you!

p.s. is it possible to let them be added automatically? When you've set up a release in JIRA and that the release date automatically appears in the calendar?

comments: author: Deividi Luvison
body: Hmm, so the JIRA events are in there however sometimes you are able to choose a project and other time you don't. Could you clarify if some projects display and others don't or if they simply disappear all at once?Regarding the other question, at current moment is not possible to add those automatically :(.


author: Vera Henrichs
body: There are no projects visible at all. My colleague says he sometimes sees them, but I don't. We're both administrators.Thank you on your answer about automatically.


author: Deividi Luvison
body: Can you create a dummy project at JIRA and check if you are able to see it in team calendars? If after that you still dont see it then raise a support case at <https://support.atlassian.com> so we can take a better look on this.


Tags: team-calendars-for-confluence
Is there a way to set an announcement banner in OnDemand Confluence - like OnDemand JIRA?
Asked by John Bottiglieri:


Answers:
author: John Bottiglieri
body: Custom HTML feature is not available for OnDemand sites.

comments: author: Geert Graat
body: Sorry to hear that. There is a plugin available for OnDemand which allows you to set an announcement banner plus more, but it is not free. See here for details: <https://marketplace.atlassian.com/plugins/com.wittified.atl-announcer-confluence#cloud>


author: Geert Graat
body: Hi,

[This article](https://confluence.atlassian.com/display/CONFKB/How+to+Add+a+Site-Wide+Banner)describes how to do that in Confluence, I do not know if this also applies to OnDemand but I think it does.

Regards,

Geert


author: John Bottiglieri
body: For JIRA OnDemand Announcement Banner, see <https://confluence.atlassian.com/display/AOD/Configuring+an+Announcement+Banner>


Tags: confluence-administration
Buttons and search bar in navigation bar missing
Asked by Marcello Stani:

Hi all.

Suddenly the following buttons, from the top navigation bar, are not showing:

"browse", "create", "search bar".

Since I'm the administrator I know I did nothing special.

Furthermore, in the admin page, the link to the "theme settings page" is not showing (see attachement).

I'm trying to look at the log but it seems to me that everything is ok.

Someone can tell me where to look or what to do?

Thanks a lot

Schermata 2014-11-06 alle 14.52.21.png

Schermata 2014-11-06 alle 14.53.43.png  
[](https://community.atlassian.com/t5/Confluence-questions/Buttons-and-search-bar-in-navigation-bar-missing/qaq-p/392369?attachment-id=137){#link_11893a398cbe1d}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/66398/1/Schermata%202014-11-06%20alle%2014.53.43.png){#display_11893a398cbe1d_0}  
[](https://community.atlassian.com/t5/Confluence-questions/Buttons-and-search-bar-in-navigation-bar-missing/qaq-p/392369?attachment-id=138){#link_11893a398cbe1d_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/66398/2/Schermata%202014-11-06%20alle%2014.52.21.png){#display_11893a398cbe1d_2}


Answers:
author: Davin Studer
body: I think you are running into this issue that David Simpson mentions on his blog.

<https://davidsimpson.me/2014/10/09/atlassian-confluence-hides-create-button-top-navigation-license-expiry/>


author: rrudnicki
body: Hi Marcello,

I believe the Davin suggestion make sense.

Could you confirm if your License is expired? You can check it going to:

Cog Icon \> License details

Regards,

Renato Rudnicki


author: rrudnicki
body: Hi Marcello,

It isn't just the theme button is missing, but the layout button and others as well.

It might be related to a customization or third part plugin. You can check it enabling the Safe Mode.

Please check [this link](https://confluence.atlassian.com/display/UPM/Disabling+and+enabling+add-ons) to enable safe mode. If it works, please let us know.

P.S.: Try just the "normal safe" mode, you don't need to do a safe mode from scratch.

Hope it helps.

Regards,

Renato Rudnicki


author: Marcello Stani
body: Yes, licence stuff (just fyi: i've found the licence info in the webpage footer).

Just renewed and now everything is ok.

Thanks a lot!


author: Marcello Stani
body: Hi Renato. Thanks for your reply

I've tried this:

* enable "safe mode"
* restart confluence

but nothing. Same all problems.

I just don't know what to do...


Tags: confluence-administration
Confluence macros broken in editor with Firefox 33.0.2
Asked by Kirstin Seidel-Gebert:

Hello everybody,

since I updated to FF 33.0.2, I can't use (add /edit) certain Confluence macros in the Confluence editor anymore.

When I want to add e.g. the page properties macro, the macro dialog pops up, but after clicking OK, I'm returned to the editor and nothing has changed.  
Same with wanting to edit a macro usage. The macro dialog pops up, I change some settings, and I'm returned to the unchanged page. Preview within the macro dialog doesn't work.

As a workaround, I started to add/edit macros using the Source Editor, but this is cumbersome, especially when you want to add new parameters to the macro and you don't know the parameter name.

Has somebody of you encountered similar problems? Is this a browser issue or is there something fundamentally wrong with our Confluence installation?   
Probably the latter, because we still suffer from [Strange character added to macro body](https://answers.atlassian.com/questions/207318/strange-character-added-to-macro-body) and in our staging instance we don't encounter such problems.

Can somebody give my any hint where to investigate further?  
Cheers,  
Kirstin


Answers:
author: Kirstin Seidel-Gebert
body: Tata! I just updated to FF 33.1 (the second FF updated withing 2 days) and .. problem seems to be solved.

I don't know about Chrome, though. I don't use Chrome regulary, but my co-worker told me that he has problems editing Confluence page in Chrome for a long time.

comments: author: Deividi Luvison
body: Interesting, glad you were able to fix this :).


author: Deividi Luvison
body: That is indeed strange Kirstin, does that happens with other browser (ie, chrome, opera)?

Are you the only user facing that?

Is this specific to a space/page?

Are you accessing your Confluence trough a VPN?

Thanks and Regards,  
David\|Confluence Support Engineer

comments: author: Kirstin Seidel-Gebert
body: Hello Deividi,

* I encounter the same problem with Chrome 38.0.2125.111 m.  
  No problem with Internet Explorer 11.0.9600.17358.  

* This is not specific to a space or page, more to a Confluence instance. I do not have such problems in our test instance of Confluence.  
  The difference between both is, that our test Confluence is in a DMZ and not accessible from the outside.  

* No, I'm not accessing Confluence through a VPN, but are connected directly via LAN.

Cheers,  
Kirstin


author: Kirstin Seidel-Gebert
body: BTW: Thanks for your answer! :)


Tags: confluence-administration
page properties report macro doesn't see {details} macro
Asked by Szczesniak:

Hi,

the 'page properties macro' is great and enables excellent reporting.

But I don't know how to report data from wiki markup 'details macro', which should work the same as the 'page properties macro'.

I've created a page with wiki markup :

|----------------|---------------|
| Project Status | Complete      |
| Team           | Green Parrots |
| Deadline       | 2012-09       |

but the 'page properties report macro' or wiki markup 'detailssummary macro' doesn't see that details.

I have tried to add a table:

|--------------------|-------------------------------------|
| \|\|Project Status | |----------| | Complete |           |
| \|\|Team           | |---------------| | Green Parrots | |
| \|\|Deadline       | |---------| | 2012-09 |             |

but it doesn't help, too.

But when I create a "graphic" 'page properties macro' with the same data as above, the 'page properties report macro' or wiki markup 'detailssummary' works right and sees the page properties.

Do You know what is wrong?

Print screens of wiki markup macro and page properties macro:

markup.jpg

markup2.jpg  
[](https://community.atlassian.com/t5/Confluence-questions/page-properties-report-macro-doesn-t-see-details-macro/qaq-p/398669?attachment-id=8734){#link_11893a479b05be}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/67466/1/markup.jpg){#display_11893a479b05be_0}  
[](https://community.atlassian.com/t5/Confluence-questions/page-properties-report-macro-doesn-t-see-details-macro/qaq-p/398669?attachment-id=8735){#link_11893a479b05be_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/67466/2/markup2.jpg){#display_11893a479b05be_2}


Answers:
author: Davin Studer
body: What version are you on right now? I ask because the meta data and details summary macros to my knowledge has been deprecated in current versions in favor of the page properties and page properties report macros.

comments: author: Szczesniak
body: My confluence version is 5.6.1. I will upgrade it.


author: Davin Studer
body: Yeah, I'm pretty positive that those macros have been deprecated and are no longer in your version.


author: Szczesniak
body: I've upgrated confluence to 5.6.4. Unfortunately the wiki markup macros still don't work. I have even created new pages with both macros and still, the graphic macros work and the wiki markup macros don't. Got any idea? I am quite new in confluence, so maybe there is something obvious, that I just don't see..


author: Szczesniak
body: I've added print screen of the wiki markup details macro to the question, and print screen of page properties report.The page properties macro doesn't see the page: test11.
How to modify the Footer of the Confluence mobile version
Asked by Pierre Hilson:

We made a few changes thanks to the footer facility of our Confluence Space.

When we tried to access this space using a iPad, this customization was gone.

I guess this is because my Space is based on the Documentation Theme while the mobile access uses a mobile theme.

Is there any way to have such 'footer' facility in the mobile version ?

Note: When switching to the Desktop view, my customizations are rendering correctly.


Answers:
author: Isaac Montes
body: Not sure if there is a way to modify the mobile CSS, but I would try Brikit's Theme Press Plugin, allows you to customize Confluence extensively and also create your own mobile version.

comments: author: Pierre Hilson
body: Thanks. I may have a look.I was in the hope that I could inject some js in the mobile page served by the confluence server.


Tags: confluence-administration

confluence-app

documentation-theme

footer

theme
pdf Export
Asked by Uththira pandi:

Hi,

Is there any option to include the user name,current date and time in pdf when exporting.


Answers:
author: Mallmann
body: Hey there,

Currently Confluence does not offer options to customise the PDF when exporting. However, we do have a improvement request for this feature: <https://jira.atlassian.com/browse/CONF-16527>

You might want to vote on it to increase its popularity, as well as add it to your watch-list for future updates.

Also, I see that other customers have found a workaround for this, which they commented on the Feature Request I've mentioned. You might be interested in taking a look at the comments as well.

I hope it helps!

Best regards,

Eduardo Mallmann
How to get a TinyURL to an attachment?
Asked by Pierre Demartines:

Is there a way to get a tiny url that would point directly to an attachment?

In our group, we keep a copy of all our tech reports on the wiki, with tables containing meta-data etc. and ultimately the PDF doc itself as attachment.

When writing new reports (e.g. in LaTeX), we often refer to existing docs. The wiki url for the attachment is very long, and I'd love to shorten it.


Answers:
author: Davin Studer
body: The only way I know is the [Share Attachments](https://marketplace.atlassian.com/plugins/com.keinoby.confluence.plugins.share-attachments) add-on. It can create tiny urls for attachments.


Tags: tiny-url
How do you know which pages are referring to / using an image?
Asked by Greg Kullberg:

When you're viewing what's attached to a page, you can click Properties to see some basic details about an image. An image could be displayed on the current page or any other page on the site. Is there any way to determine which pages are displaying that image?


Answers:
author: Deividi Luvison
body: Hey Greg,

In that case try the following:

```
select s.SPACENAME, c.CONTENTID from CONTENT c inner join BODYCONTENT b on c.CONTENTID = b.CONTENTIDinner join SPACES s on c.SPACEID = s.SPACEIDWHERE b.BODY LIKE '%ri:filename="Capturar.PNG%'AND c.PREVVER IS NULLAND c.CONTENT_STATUS != 'deleted';
```

The above query will search for all pages that have the image you want in it's xhml storage format. In above query my file was Capturar.PNG, so when you try it make sure to change that to the file you want, after you run it you will get the space name and page id where the attachment is being used :smile:.  
Hope it helps.  
Thanks and Regards,  
David\|Confluence Support Engineer


author: Guilherme Nedel [Atlassian]
body: Hello Greg, you can run a site wide search using the image title. Alternatively there are a couple of routes:

* Querying the database directly:

```
select pageid from attachments where title like '%&lt;ATTACHMENTNAME&gt;%';
```

* Using the Attachment list macro to display attachments in each page:

<https://confluence.atlassian.com/display/DOC/Displaying+a+List+of+Attachments>

Hope this helps.


author: Greg Kullberg
body: Hey Guilherme - I think that's a little different that what I'm talking about. For example, I can attach "image.png" to a page, and then display it on that page. While still in edit mode, I can copy the contents of that page and paste it onto another page. Doing so will still display "image.png" from the original page on the new page. Basically I'm trying to see all the places where "image.png" might be displayed on other pages - not where it's attached to other pages.