youngmon/atlassian-qna huggingface dataset:
"Table of content" disappears in edit-mode
Asked by Maximilian Mai:

Hi all,  

I have a long Table of Content of one site which is very good for navigating. But when I enter the edit mode only the macro is shown not the ToC itself. Now it is anoying to navigate through the page (scrolling).  

Do you have a hint, how the ToC could be visible even in the edit mode?  
Thanks very much


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Maximilian Mai](/t5/user/viewprofilepage/user-id/1132859) ,

in edit mode you can see each macro definition but not its content. Unfortunately you can't do that.

Fabio


Tags: edit

table-of-contents
What happened with the Excel Macro ?
Asked by Gerrit Sander:

Excel files displayed via the Macro are not displaying correct anymore, ie. the option to select a specific sheet are gone ?


Answers:
author: Robert Bakker
body: hm.. maybe it is not broken by accident?

<https://confluence.atlassian.com/doc/office-excel-macro-375849173.html>


author: David Ross
body: The defect that's been reported to Atlassian to track this issue is [CONFCLOUD-55037](https://jira.atlassian.com/browse/CONFCLOUD-55037) - you can become a watcher on it and vote on it so that it gets resolved. The display issue is partially resolved, it's just the ability to configure which Excel columns get displayed is still broken.


author: David Ross
body: Happened to us as well. I've logged a support ticket, it's clearly broken.

comments: author: Martin Stahl
body: We see this too and its a bummer.


Tags: macro

ms-excel
Where can I get Confluence t-shirts?
Asked by Jake Fox:

my very large company is starting the adoption path of confluence. I am trying to reinforce the use of confluence and would like some t-shirts to give out to those staff who are demonstrating good use and adoption. Where can I get some?


Answers:
author: Vishnukumar Vasudevan
body: You can order it here:- <https://atlassian-swag.mybrightsites.com/>


author: Nic Brough -Adaptavist-
body: You could also try raiding a Summit or AUG if you only need a couple - there's usually loads available for free there.


Tags: questions-for-confluence
Cloud Confluence - Set password policy
Asked by Tina:

I am reading the documentation on how to edit the "Password policy" in confluence.

<https://confluence.atlassian.com/cloud/set-password-requirements-744721633.html>  
In the text it says that, after making changes to the policy i can manually do a "reset all passwords now".  
But what happens if i do not do a "reset", when will the user be affected by the change?

When they change their password next time ?

Another question:  
If we have the password expire setting set to never, and the users that have the "keep me logged in function" active, then they would never be promoted to renew there password again, even if we changed the expiration-date to a number of days?


Answers:
author: Marcelo Horlle
body: Hey Kristina,

So, after you change your policy you will need to click on 'Reset All Passwords Now' to ensure that users will be prompted to change their passwords on the next login and get the policy applied. If you don't hit the button, they will only get the policy applied to their accounts after they manually attempt to change their password upon their will.

For the users who chosen the **Keep me logged in** option on the site login screen, they'll be forced to update their password after their login period expires (every 30 days) when there are policy changes, even though you have the setup of never expiring passwords.

It is also worth to check [security plugins at the Marketplace](https://marketplace.atlassian.com/plugins/com.intenso.confluence.plugins.confluence-password-policy/server/overview?_ga=2.229072478.397602652.1496844729-1323748807.1496844729) in case you intend to go further in terms of security, which is always good.

Have a good one!

comments: author: Tina
body: Thanks for the answer Marcelo!


author: Marcelo Horlle
body: Hey Kristina,

You are welcome, I am actually glad that it helped you somehow! :D

Have a wonderful week ahead.


Tags: cloud
The Office Excel Macro no longer shows options
Asked by Mat Chavez:

When adding a new instance of an Office Excel Macro to a Confluence page, we no longer see the options such as 'col', 'row', 'grid', etc. Can someone tell us if this is a bug, or Atlassian's misguided way of making us use the File macro that doesn't have these features either?


Answers:
author: David Ross
body: The defect that's been reported to Atlassian to track this issue is [CONFCLOUD-55037](https://jira.atlassian.com/browse/CONFCLOUD-55037) - you can become a watcher on it and vote on it so that it gets resolved. The display issue is partially resolved, it's just the ability to configure which Excel columns get displayed is still broken.


author: David Ross
body: It's happened to us as well. I've logged a support ticket to Atlassian on it, I think it's clearly broken.

comments: author: Gerrit Sander
body: It seems the display of the Macro has been fixed today but still no option to select a specific sheet


author: David Ross
body: Yes, the macro on our instance of Confluence display correctly now, but there still isn't an option to select a specific sheet or column range to display.


Tags: ms-excel
Updating attachment in Confluence cloud will lead to 403
Asked by Clemens J?tte:

Trying to update an attachment via the REST API in Confluence cloud. The following code 'should' do the trick, but it doesn't. The result is always 'HTTP Status 403 - Request not in an authorized API scope'. The code is executed in the clients browser and not on the either server.

```
var formdata = new FormData();                        var blob = new Blob([xml], { type: "text/xml"});                        formdata.append(document.getElementById("modelname").value, xml);                        AP.request({                            url: '/rest/api/latest/content/'+location.context.contentId+'/child/attachment',                            type: 'POST',                            contentType: 'multipart/form-data',                            data: {comment: 'Edited', minorEdit: false, file: formdata},                            success: function(responseText){                                console.info(responseText);                            },                            error: function(xhr, statusText, errorThrownText) {                                console.error('Wrongsie!'+statusText);                            }                        });
```

My scopes as set in atlassian-connect.json

```
"scopes": [        "read", "write", "delete"    ]
```

What am I doing wrong?


Answers:
author: ClemensJ
body: The REST API call was wrong - seems like there are different versions out there and mixing them up is not a good idea...

Documentation is here: <https://docs.atlassian.com/confluence/REST/latest/>

Dropping the "latest" part in the URL did the trick. Corrent call goes to: POST /rest/api/content/{id}/child/attachment/{attachmentId}/data

comments: author: Jan Revis
body: I have a question indirectly related to your answer. Whenever I have tried this call from the browser, it results in an XSRF check failed because the X-Atlassian-Token header is missing, and AP limits the headers you are allowed to set? Were you able to set the header or make the request through AP without it?


Tags: confluence-cloud

connect

javascript

rest-api
Cannot export space with the HTMLand Attachments option
Asked by Dominik:

We run an instance of the Confluence onDemand service. When trying to export a space with the HTML option including comments and attachments, the export process quits after about a minute and returns the following error:

**There was an error in the export. Please check your log files.**

The only access I have to the logs in the administration interface do not give any information relating to the failed export. Any ideas on how to get this working?


Answers:
author: Nic Brough -Adaptavist-
body: You mean Confluence "Cloud" - it's not been "onDemand" for several years.

As it's Cloud, you don't have access to the logs. As soon as you get anything that says you need access to logs, you should go straight to <https://support.atlassian.com> - it's their job to investigate and fix Cloud system errors.

comments: author: Dominik
body: Thanks for your help.
How to add new users to a private page
Asked by Eugene Pebworth:

I've recently taken over the Training space. There is a "private training" page that has restricted access. When I click on Restrictions for the private space I see the message that there are not restrictions on the page. When I check to see who can view, everyone who can view is set up as an administrator. How do I set up a new user as an admin or as part of a training group that would have admin rights to the private Training page.

Thanks!


Answers:
author: Edwin Kyalangalilwa
body: To add a user, you'll have to create one under "user management"

![Screen Shot 2017-05-16 at 15.52.46.png](https://community.atlassian.com/t5/image/serverpage/image-id/1295iC2EEE36A885F44B6/image-dimensions/176x102?v=v2 "Screen Shot 2017-05-16 at 15.52.46.png")

under groups add them to the appropriate groups, example:

```
confluence-administrators
```

or add them individually under "Space tools" in the bottom left corner

![Screen Shot 2017-05-16 at 15.53.03.png](https://community.atlassian.com/t5/image/serverpage/image-id/1296i85C0CCDBA1F12005/image-dimensions/120x125?v=v2 "Screen Shot 2017-05-16 at 15.53.03.png")

comments: author: Eugene Pebworth
body: Good Morning...thanks for the direction. Was able to add them both using the Permissions option.


Tags: permission

restriction
Why does a "Command-Z" undo undo the last two changes I made instead of just the last one?
Asked by Nathan:

Every time I use "Command-Z" to undo, the last two things I did are undone instead of just the last thing. This can be a pain later if I didn't catch it. Seems like a bug to me.


Answers:
author: philoye
body: This is definitely a bug and one we are looking into. It pains us too.

comments: author: Nathan
body: Thanks!


author: Rick Case
body: Glad to know you're well aware of it. Is this fixed yet in the latest build?
How to integrate Greenhouse into Confluence?
Asked by Cindy:

Does anyone know of a way to stream in a Greenhouse job board into a Confluence page? Would love to be able to have a page update, in real time, with available job postings we have on Greenhouse, which is essentially an online job board.

It looks like it might involve getting into [some coding](https://developers.greenhouse.io/job-board.html) but curious if anyone has come across a plugin or integration. If not, no worries!

<br />

Thanks!


Answers:
author: Connie Van Lieu
body: Cindy, I am looking to do the same. Were you able to find a resource to help?


author: Nic Brough -Adaptavist-
body: You probably need to explain to the audience what a "greenhouse" is.

comments: author: Cindy
body: Totally-- just updated to clarify. Thank you!
Need help using Tracking Plugin
Asked by Sam Hong:

Hello,

I am currently in the process of trying to setup the Tracking Plugin (<https://docs.servicerocket.com/display/TRAC/tracking-table>) on confluence. After trying it and searching for instructions on how to set this up correctly. I am have been unable to find anything helpful. When I just use this macro, it lists all the pages with the view count and dates. I want to setup this macro so that it only shows the view count and date for specific pages. I would like to get some assistance on how I can do this.

Thank you,

Sam


Answers:
author: Steffi Frank
body: Sam, as far as I understood you have a space (spacekey ISMA) with several pages, say 50. But only 20 of them sould get tracked.

Therefore label those 20 pages e.g. with "track". In the tracking plugin enter your Space key *ISMA* and label *track*:

![track.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/1362i0207FD6DEC658ED9/image-size/large?v=v2&px=999 "track.PNG")

The plugin now only lists those pages which are labled with 'track'

Steffi


author: AnnWorley
body: You may limit the scope of the tracking table macro by editing it on the page:

![Screen Shot 2017-05-16 at 5.31.43 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/1297iD562FAB6A2B801FA/image-dimensions/260x443?v=v2 "Screen Shot 2017-05-16 at 5.31.43 PM.png")

comments: author: Sam Hong
body: Hello Ann,

Thank you, but how do I go about doing that. What do I need to write in the "Spaces"?


author: AnnWorley
body: Since you mentioned you want to limit the macro to certain pages, enter the space keys from the pages you want to show, separated by commas. The space key for each page may be found in the URL of the page, just before the page title, for example:

\<Confluence_Base_URL\>/confluence/display/ds/Welcome+to+Confluence

The space key in the above URL is "ds"


author: Sam Hong
body: Hello Ann,

Thank you for the example! However after trying several ways from the example you provided I am still not getting any results. For example, the URL that I am using is "/confluence/display/ISMA/Analytics" I want to specifically show just the Analytics page. In the Space Key I wrote just "Analytics" but nothing is showing up. I am not sure what I am doing wrong.


author: AnnWorley
body: From the URL, it looks like the page title is Analytics and the space key is ISMA.


author: Sam Hong
body: If that is the case then how do I make it so that I only see results for "Analytics" page and not "ISMA"?


author: AnnWorley
body: Please try adding the page under the "scope" field:

![Screen Shot 2017-05-17 at 2.56.36 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/1341i9B5A97DDFEBD3BC4/image-size/large?v=v2&px=999 "Screen Shot 2017-05-17 at 2.56.36 PM.png")


Tags: addon-net.customware.confluence.plugin.tracking

server

servicerocket
Editing documents saved within Confluence space
Asked by Christine Knudstrup:

We want to save a lot of our project documents within Confluence so that we don't have to email them back and forth anymore. If we were to save a project plan document from Microsoft project would people be able to make changes on it on the same time? We are trying to avoid people doing work to it at the same time, saving their version, and neither having all the right information.


Answers:
author: Benji
body: You are able to make changes to documents attached directly, but as far as I know not possible to prevent editing in that attached document simultaniously without knowing it.

In general you like to use the confluence page to document where you would be able to simultaniously work together which works for general type of documents like a project plan. If it's a more specific one like MS Project planning it doesn't really work af course.


Tags: questions-for-confluence
Confluence Macros: Days remaining in Sprint Gadget is blank
Asked by Alicia Woodside:

I added the 'Days Remaining in Sprint Gadget' to my page and it worked well for the first sprint, correctly displaying the days remaining for the sprint I configured. However, now that the sprint has ended and we're onto the next sprint, the macro is completely blank. When I delete the macro and try to replace it with a new one, the normal configuring controls (in the preview) are now just blank.

It would be really helpful if anyone has any advice on what I can try next, or an alternative way I could display a dynamic sprint countdown in Confluence cloud?

Thanks!

Alicia


Answers:
author: megdillon
body: I'm also experiencing this issue. I've not found an alternative other than linking to a JIRA dashboard (where the gadgets do appear to be working correctly).

comments: author: Alicia Woodside
body: Good to know, Meg! Hopefully someone has a solve for this...


author: megdillon
body: I entered a request to Atlassian and they have a bug entered for this issue. [https://jira.atlassian.com/browse/CONFCLOUD-55048](https://jira.atlassian.com/browse/CONFCLOUD-55048?)


author: Alicia Woodside
body: Yesss!! Thank you Meg!


author: Andrew
body: @Meg I belive that may be a duplicate issue to the bug fix just released yesterday: [https://jira.atlassian.com/browse/JRACLOUD-66914.](https://jira.atlassian.com/browse/JRACLOUD-66914.?)


author: Alicia Woodside
body: I've tried again and it seems to work now since [they reported the fix!](https://jira.atlassian.com/browse/JRACLOUD-66914. ) (Scroll to bottom of the link.) Thanks everyone!


author: Andrew
body: I, too, am experiencing this same issue with this and the Sprint Burndown Gadget.


Tags: confluence-cloud

macro

remaining-estimate

sprint
Confluence.atlassian.com is down: 503 error
Asked by ehruska:

503 Service Unavailable

No server is available to handle this request.

No place to report an issue with your support system/sites..


Answers:
author: Mike Ortman
body: We are aware of the outage and working to fix the issue ASAP. The official status page now reflects the outage. Sorry about the trouble! Keep an eye on <http://status.atlassian.com> for further updates.

comments: author: ehruska
body: Sorry missed this response Mike. Thank you!


author: Sundar Raman
body: confluence is again down now. 503 error. status page shows it's operational, which is incorrect.

comments: author: Ed Sachs
body: Still unable to connect.


author: ehruska
body: You can subscribe to the outage in status.atlassian.com.


author: James Dreier
body: Le-Sigh. Still Down


author: Jesse Martinez
body: I'm also getting the 503 error as of now... I try reaching: <https://confluence.atlassian.com/alldoc/atlassian-documentation-32243719.html> to no avail.


author: Geert Wielens
body: Yes, it's down (503 error on <https://confluence.atlassian.com>)


author: ehruska
body: Also...this URL is not connecting: <https://studio.plugins.atlassian.com/browse/TEAMCAL-580?_ga=2.151039856.830252820.1494960501-63789100.1484000491>

Anyone else having problems?


author: ehruska
body: Status page says it is up...but...alas...its not. woh woh is me.
I want my users to view all pages (unless restricted) and only edit specific page, but not others?
Asked by Jason Krykewycz:

I need users to view everything but not be able to edit everything. I want to define which pages they can edit or not. Can i give a user the ability to edit a specific page (through permission or restriction) and not the ability to edit anything else (except child pages). seems like group permission is an all or nothing and overrides restrictions.


Answers:
author: AnnWorley
body: Yes, you may grant the permission to edit at the Space level and then apply page restrictions wherever you wish to prevent editing. Except the Admin permission, space permissions do not circumvent page restrictions.

comments: author: Jason Krykewycz
body: can i grant permission only at a page level and corresponding child pages...i dont want them editing everything in a space.


Tags: permission

restriction
Our Server that held the attachments was hosed - how can I get the old attachments ?
Asked by Michael Edinger:

Is there any backup of these attachments ?


Answers:
author: Nic Brough -Adaptavist-
body: Depends on what you were backing up and how. This is probably something that should go to the server system owners to ask.


author: AnnWorley
body: By default, the attachments and the rest of the instance are backed up nightly to \<Confluence_home_dir\>/backups. You may check whether this is turned on under Confluence Admin Menu\>General Configuration\>Backup Administration.


author: Maarten Cautreels
body: Hi Michael,

You've posted this question in the Feedback Forum but I think you're either asking a question about JIRA or Confluence? Which of the two are you talking about?

Best,

Maarten

comments: author: Michael Edinger
body: Thanks Maarten Confuence.
What is the best way to allow user inputs in a Confluence page of variable format?
Asked by Camille Decoust:

**The context/what I currently have**: I maintain a set of procedures to be followed by an operator for critical operations (satellite operations). I use a blueprint that I created so that procedures have all the same format ( headers and main sections, steps included in a table). Within sections, format can vary greatly from flow charts to textual steps, to screen shots...

**What I want to do** : For certain key steps of those procedures, I want to have a check box and an entry field so the operator can check the box when step is done and input a comment on how it went. When the procedure is completed, I need the user to be able to save the inputs (box checked and comments) into another pag, an xls, a PDF or... the format actually does not really matter as long as I have a record of the procedure steps and their statuses for each procedure run.  
Also, once saved, I need the procedure to "reset" (all checked box have to be unchecked and text input fields reset to default string or empty). So that next operator starts clean again.

**What I have investigated so far**: I looked at the Add ons "form for Confluence" and "ConfiFrom" and it seems I can't save the procedure text AND the results of the form in one document. Also those macro are relatively complex for my needs and find them overkilled.

Has anyone ever done something similar? and if so, how?


Answers:
author: Craig Nodwell
body: Forms for Confluence with a wrapper from scriptrunner would do this perfectly for you.


Tags: forms
SQL needed for User/Group report
Asked by thanstra:

I would like to create a report on which permission groups each user has been given. The report would be something along the lines of:

\| SPACEKEY \| SPACENAME \| Group Name \| User Name \| E-mail \|

Does anyone have the SQL that would provide that or something similar? I'm not familiar enough with the database layout to know how to obtain such a report. We are currently running Confluence 5.7.1.

Thanks,

Tom Hanstra

hanstra@nd.edu


Answers:
author: josh
body: I wrote these recently, it's close to what you need.

Group Membership:

```
select cwd_group.group_name, cwd_user.user_name, cwd_user.display_name, cwd_user.email_address, (select attribute_value from cwd_user_attribute where cwd_user_attribute.user_id = cwd_user.id and cwd_user_attribute.attribute_name = "lastAuthenticated") as lastAuthenticated  from cwd_membership left join cwd_user on cwd_user.id = cwd_membership.child_user_id left join cwd_group on cwd_membership.parent_id = cwd_group.id order by user_name asc;
```

And this one is a list of all groups and individual users granted View privileges on a space:

```
SELECT sp.permid, sp.permtype, s.spacekey, s.spacename, sp.permgroupname, um.lower_username FROM SPACEPERMISSIONS sp JOIN SPACES s ON sp.spaceid = s.spaceid LEFT JOIN user_mapping um ON sp.permusername = um.user_key where sp.permtype = "VIEWSPACE" order by spacekey asc;
```

Tested on MySQL

comments: author: Jurgen S?rbo
body: Its a good way to make reports using sql or buying and add-on ?  

I've been asked this question a lot around here and Nic helped me out, but I need more opinions in this.