youngmon/atlassian-qna huggingface dataset:
How to create Confluence Macro to Call JIRA REST API?
Asked by Daniel X:

I am new to Atlassian SDK. I do find some posts about how to create Confluence Macro to call JIRA REST API, but there is not enough details for me to follow. Is there any detail documentation about this?

Thanks,


Answers:
author: Diego
body: Hello there Daniel!

You might be able to find the information you need under this Community thread:

**[How to use jQuery in Confluence to run a JIRA REST query without hard-coding username/password in plain-text?](https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-use-jQuery-in-Confluence-to-run-a-JIRA-REST-query-without/qaq-p/575861)**

There is also this thread where the customer references the previous one:

**[Jira REST API Call from confluence page](https://community.atlassian.com/t5/Answers-Developer-Questions/Jira-REST-API-Call-from-confluence-page/qaq-p/557196)**

Let us know!


Tags: atl-dev

atlassian-sdk

developer

jira

macro

rest-api
My folks do not see result of 'Chart from table' macro (Gantt)
Asked by Ruslan C:

I see bars/progress/milestones with my Chrome on desktop and smartphone, but I cannot see a result picture with IE and my colleagues do no see it with their IE or Chrome.

Chrome on my PC or smartphone

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

IE or Chrome (same version) on another desktop:  
![Untitled2.png](https://community.atlassian.com/t5/image/serverpage/image-id/45014i256B6C0316C00E8C/image-size/large?v=v2&px=999 "Untitled2.png")


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello Ruslan,

Please, contact [StiltSoft support](https://stiltsoft.customercase.com/forums/support-requests/ideas/create?category=Table%20Filter%20and%20Charts%20for%20Confluence) to resolve the issue. Most likely you have an issue with date formats and browser language locales.

comments: author: Ruslan C
body: you were right


author: Andrey Khaneev _StiltSoft_
body: Glad to help you, Ruslan!


author: Ruslan C
body: Thanks, Andrey.

Good to know, let me play with formats for a while and if it doesn't help, I will contact StiltSoft.
How to promote myself to admin?
Asked by garges:

We have a Confluence 5.6.5 server set up in our organization and the admin for it has left. I've been tasked with doing the admin work. Problem is that my Confluence account only has User level access.

I do have full access to login as root user to the server (Linux). How can I promote my Confluence account to have System Admin access using the UNIX command shell?


Answers:
author: Davin Studer
body: The below article explains the process for recovering admin access.

[Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html)

comments: author: garges
body: Thanks. That looks like what I need. I'll give it a try.


Tags: confluence-server

server
Macros are not displayed in Mail
Asked by Madhuri:

I have a confluence page which has some expand macros. When I emailed the page using send page plugin, the email displays all the sections as expanded. I want the email to show the the expand buttons so that the users can go to the page or click on the button to expand.

**Confluence Page**:

![Screen Shot 2019-02-07 at 2.42.14 PM.png](/t5/image/serverpage/image-id/44965i414F197DD9B60545/image-size/large?v=v2&px=999 "Screen Shot 2019-02-07 at 2.42.14 PM.png")

**Email**

![Screen Shot 2019-02-07 at 2.45.34 PM.png](/t5/image/serverpage/image-id/44966i18691A483DB1CAFD/image-size/large?v=v2&px=999 "Screen Shot 2019-02-07 at 2.45.34 PM.png")


Answers:
author: Diego
body: Hello there! Thanks for reaching out Madhuri.

I tried the process using **Mail Page**, from //SEIBERT/MEDIA:

**[Atlassian Marketplace - Mail Page](https://marketplace.atlassian.com/apps/1214285/mail-page?hosting=server&tab=overview)**

The behaviour was indeed the same. There was no setting in the plugin that would allow this to change. Maybe reaching out directly to them provides some workaround:

**[//SEIBERT/MEDIA Support](https://marketplace.atlassian.com/apps/1214285/mail-page?hosting=server&tab=support)**

Further, this could be happening due to the fact that **Confluence** is the one **responsible for rendering** the Macros as we see them and the add-on is **not capable of transferring** this render to the**email generated.**

Let us know your thoughts!


Tags: atlassian-marketplace
Cannot View Changes or Revert To Last Published Version
Asked by Ben Casey:

I need to delete my page changes but screen goes grey and does not recover when I select either View Changes or Revert To Last Published Version.


Answers:
author: Brittany Wispell
body: Hey [@Ben Casey](/t5/user/viewprofilepage/user-id/2688754)

What actions are you taking when the screen goes gray?

I'll need a little bit more detail in order to figure out what next steps I can take to help you figure out the issue you're having.

Thanks!
Easy Drop down Display issue in MAC
Asked by Deepak Chigullapalli:

Hello,

I wanted to check if any one else is having this issue i am having with Easy DropDown display in MAC some of the places where Easy Dropdown has been used, display is not proper please refer to attached screen shot. ![upload1.png](/t5/image/serverpage/image-id/44964iA08A6E9B4953825D/image-size/large?v=v2&px=999 "upload1.png")


Answers:
author: lukas
body: Hi Deepak,

What confluence version and version of the plugin are you using?

Would you mind opening an issue in our service desk and provide us with additional information like a support-zip?

What would also be very useful would be a page or space-export where the problem exists.

<https://issue.eps.ch/servicedesk/customer/portal/7>

<https://confluence.atlassian.com/support/create-a-support-zip-790796819.html>

Greets,  
Lukas Bamert


author: Davin Studer
body: Is this more of an issue with Safari rather then Macs? If you were to load this in another browser, such as Chrome or Firefox, on you Mac do you see the same issues?

comments: author: Deepak Chigullapalli
body: actually this issue is not only on MAC its on all the systems and it just started happening since past couple days. if user dont have admin rights then they are seeing like this.


author: Davin Studer
body: Have you updated the app recently? You could roll back to a previous version. The way you would do that would be to go to the [Easy Dropdown Menu's version page](https://marketplace.atlassian.com/apps/1216797/easy-dropdown-menu-drop-down-selection/version-history) in the Marketplace and download a previous version. Then in Confluence uninstall the current version of the app and do a manual install on the **https://{your server}/plugins/servlet/upm** page. There is a button that says upload add-on. Select the version you downloaded from the marketplace and upload it. That will get you back to a previous version that hopefully works.


author: Deepak Chigullapalli
body: nope, we haven't updated it.
Confluence CLI: Modifying multiple permissions
Asked by Louis Rowan:

Hello, I'm trying to run some commands with the confluence CLI to update multiple permissions for a user at once, such as with the below command:

```
./confluence.sh --action removePermissions --space "mySpace101" --userId "user1" --permissions "REMOVEOWNCONTENT,EDITBLOG,CREATEATTACHMENT,COMMENT"
```

However after running this (with console output "\[REMOVEOWNCONTENT, EDITBLOG, CREATEATTACHMENT, COMMENT\] permissions were removed from space: 'mySpace101' for: 'user1'."), I'm finding that the permissions table on the UI is NOT updated with the new permissions, and can confirm that user1 can still edit content, comment, etc.

If I use a separate command for each permission such as the below 4 lines:

```
./confluence.sh --action removePermissions --space "mySpace101" --userId "user1" --permissions "REMOVEOWNCONTENT"
```

```
./confluence.sh --action removePermissions --space "mySpace101" --userId "user1" --permissions "EDITBLOG"
```

```
./confluence.sh --action removePermissions --space "mySpace101" --userId "user1" --permissions "CREATEATTACHMENT"
```

```
./confluence.sh --action removePermissions --space "mySpace101" --userId "user1" --permissions "RREMOVEOWNCONTENT"
```

... I get the desired result where all 4 permissions are properly updated.

We're using cli version 8.1.0.

Any ideas on what is causing this behavior? Not only are we not able to update multiple permissions at once, but we are not alerted when the failure occurs. Running these commands 1 by 1 does work for us but is completely impractical when updating many permissions for many users.


Answers:
author: Louis Rowan
body: Any suggestions? Is the CLI not designed to run concurrent commands?


author: Louis Rowan
body: To add to this, we're also running into issues when running concurrent modifying operations.

For example, if I run a script that modifies one user's permissions to a space so that each permission is handled in a different command, and run in series, all permissions update properly.

However if I run an additional script at the same time that modifies a different user's permissions to a different space (also in series) these 2 scripts seem to conflict with each other and not all permissions end up being updated properly.


Tags: cli
Can I create a hot link to a network share in a JIRA comment?
Asked by Richard Saliba:

Like I have a file folder somewhere I want the people looking at my story to be able to follow.

Something like

\\\\ServerName\\filerootpath\\fileSubPath\\


Answers:
author: Davin Studer
body: It is possible, but keep in mind this will ONLY work on the same network as the network share. Also, by default it will ONLY work with Internet Explorer. There are extensions for [Chrome](https://chrome.google.com/webstore/detail/enable-local-file-links/nikfmfgobenbhmocjaaboihbeocackld) and [Firefox](https://addons.mozilla.org/en-US/firefox/addon/noscript/) that will allow this, but IE is the only browser that enables the file protocol by default. The format for a file link is this ...

```
file://///path/to/your/files
```

Yes indeed you need five slashes there. That is not a typo. The first three are for the protocol **file:///** . The next two are for the unc path **//path/to/your/files.** See the below screenshot for how to do this.

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


Tags: confluence-server

server
404 Error when trying to add a user to an existing restricted space/page
Asked by Kristen Hata:

I forgot to add a couple of my collegues to restricted pages i created. But they're getting a 404 error. I see they have access, but they can't see it.

If i create a new restricted space/page and add them from the get-go, they can see the space.

Please help!


Answers:
author: Jonathan Smith
body: [@Kristen Hata](/t5/user/viewprofilepage/user-id/1402195)

Please verify they have access to both the space and the page (parent page if permissions are inherited). Sounds like the permissions are lacking in one or the other.

- Jonathan

comments: author: Kristen Hata
body: They have access to both the space and page.


author: Kristen Hata
body: It's almost like the user is cached...so i had them clear cache, but still no cigar.


Tags: restriction
What is the recommended browser for Confluence Cloud?
Asked by Erin Steele:

What is the recommended browser for Confluence Cloud?


Answers:
author: Tyler Brown
body: Hey Erin,

I've always preferred Google Chrome myself.

I have run into some issues using IE in the past and never used it on FireFox.

Here is the list of Supported Browsers (FYI):

<https://confluence.atlassian.com/cloud/supported-browsers-744721663.html>

Tyler

comments: author: Erin Steele
body: Thanks, Tyler!


Tags: confluence-cloud
Getting duplicate key error when importing space
Asked by Shafaqut Mohamedali:

I have deleted the spaces, and now i am importing an XML backup of those spaces. I am getting a duplicate key error. I tried this with 3 spaces and then i stopped.

However, I am able to successfully import a space that did not exist before.

Regards,  
Shaf


Answers:
author: Shannon S
body: Hi Shaf,

You can check the Confluence database for remnants of a space that are preventing the import.

Have a look here:

* [After a failed space import, it's not possible to re-import because of leftover space data](https://confluence.atlassian.com/confkb/after-a-failed-space-import-it-s-not-possible-to-re-import-because-of-leftover-space-data-217743668.html)

Let me know if you have any trouble with that.

Regards,  
Shannon


Tags: confluence-server

server
How do I manually send a password reset email for another user account?
Asked by Joel Porter:

There is no issue with setting a user's password as an administrator but when the password has been set how do you ensure that an email notification of the password reset is sent?

Thanks!


Answers:
author: Shannon S
body: Joel,

Which password reset email are you referring to? The one that someone receives when they click "Forgot password" on the login page?

You can enter any email address you want there, and it would send a link to reset the user's password.

Or are you asking that when you reset a user's password, how do you notify them of their new password?

Regards,

Shannon


Tags: confluence-server

server
How do I make my Confluence Cloud content available to my company's customers?
Asked by Adriane Hunt:

I want to give my company's customers access to read or download PDFs of our documentation created in Confluence Cloud. What is the process to do this?


Answers:
author: Yogesh Mude
body: Hi [@Adriane Hunt](/t5/user/viewprofilepage/user-id/2686464)

Welcome to the community!

Please have a look at the previous discussion.

<https://community.atlassian.com/t5/Confluence-questions/Share-confluence-page-to-non-user/qaq-p/307280>


Tags: cloud

confluence-cloud
Attaching a changing document
Asked by L Sloan:

I would like to link a word document to my confluence page that will have updates and changes. I don't necessarily want viewers to have the ability to change it but I would like to make sure they have the most up to date content version available.

It seems that when I create a link or attachment, the document will not reflect the updates I create since the link/attachment was made. Meaning if I link it on Monday, and modify the document on Wednesday. When I follow the link it won't show Wednesday's changes.

How do I get around that?


Answers:
author: Nils Bier _K15t_
body: Hi [@L Sloan](/t5/user/viewprofilepage/user-id/2687128),

Have you thought about moving the content from your Word file into a separate (edit-restricted) Confluence page instead of linking to an attachment?

That could also help with driving Confluence adoption away from Word. If you still need a Word file of this page at any point, you could try the default Export to Word functionality coming with Confluence, or alternatively our [Scroll Word Exporter](https://marketplace.atlassian.com/apps/24982/scroll-word-exporter-for-confluence).

Just a thought :)

Cheers,  
Nils


author: Jan
body: You could also attach that document to a page and set the link to the attachment. If you then edit the document from Confluence, it will always have the latest version on the link - and a history available if necessary. With the space permissions and page restrictions you can easily define, who should be able to view and who should have edit rights,


author: Jakub Hanak
body: Hello [@L Sloan](/t5/user/viewprofilepage/user-id/2687128),

as [@Tyler Brown](/t5/user/viewprofilepage/user-id/478549) suggested I would use Google docs or Sharepoint and then provide a link to your page to the original documents, which will be always up to date.

Best regards,

Jakub

comments: author: L Sloan
body: Ok it sounds like I was on the right track I just need to play with the options a bit more.

Thank you both!


author: Jakub Hanak
body: You are welcome.

If you found your answer, please mark the answer as "accepted" so it can possibly help other members of the community in the future.

Have a nice day,

Jakub


author: Tyler Brown
body: Hey L,

Do you use Google Drive?

If so rather than uploading a Word Document you could provide a link to a view only version of your document.

Tyler

comments: author: L Sloan
body: I am using OneDrive. I've tried adding a link but it seems to give editing access and takes them into the document vs. a preview like other Word attachments do.
Editing a table
Asked by Laroi Wright:

How to move an enitre table to a new section?


Answers:
author: Yogesh Mude
body: HI [@Laroi Wright](/t5/user/viewprofilepage/user-id/2686840)

Welcome to the community!

Please have a look at the previous discussion.

<https://community.atlassian.com/t5/Confluence-questions/How-to-move-a-table-within-a-page/qaq-p/35760>
Date picker - Date cannot be edited once the page is saved
Asked by Christophe Paquignon:

Hello,

The date picker was working perfectly till a couple of months ago where the following issue started to occur:

Whenever editing a previously created page, the date cannot be selected and therefore cannot be edited:

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

Please note that typing // in that already saved page while in edit mode displays the following:

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

I checked and adding the date picker by typing // works as expected when creating a new page:

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

After saving that newly created page, the same issue occurs: upon editing it the date picker cannot be selected nor edited as seen below:

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

I tried using Chrome and Mozilla and this also happens to my colleagues.

We use Confluence 6.4.0.

Does anyone else has that issue or know how to fix it?

Thanks in advance!


Answers:
author: Jared Brenner
body: Hi Christophe,

I use Confluence Server 6.12.2 in Chrome 71 x64 and I'm not having any issues selecting, copying, or editing an existing Date Picker date, or adding a new Date Picker date to an existing page.

[This](https://jira.atlassian.com/browse/CONFSERVER-34553) closed bug ticket seems to be for the same issue. Do you have the [Scaffolding Forms \& Templates](https://marketplace.atlassian.com/apps/190/scaffolding-forms-templates?hosting=server&tab=overview) app? Another user experiencing this issue traced it to that app.

Please let us know if you figure it out. Good luck!

comments: author: Christophe Paquignon
body: Thanks for the reply Jared, here is a list of the plugins we have:

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


author: Jared Brenner
body: It may be best to contact Support and let them sort this out. It's possible one of your installed apps is causing the same issue identified in that bug ticket, but it'll take someone with a bit more experience than me to figure that out.


Tags: confluence-server

developer
is there a way to generate an attachment via a global template?
Asked by jill barkan:

For example, when someone creates a new page, we would like a new power point presentation to be created based on a saved attachment or file?


Answers:
author: Shannon S
body: Jill,

It's not possible to generate a Powerpoint Presentation from content in Confluence.

There does appear to be an add-on that can help you with that:

* [Presenter for Confluence](https://marketplace.atlassian.com/apps/1213922/presenter-for-confluence?hosting=server&tab=overview)

In terms of having this trigger during page creation, I don't have any advice on that. Perhaps the vendor of the add-on might have something to suggest.

Regards,

Shannon


Tags: confluence-server

server
Page Edit Restrictions are showing own user even if user has not been added
Asked by Jan:

This is a really strange one to me and I am quite sure that this has not always been this way:

When someone restricts a page for Editing to himself, I can view these restrictions and the restrictions will also show my user, even though I was not added to the restrictions, and I am also not able to edit the page. This is very confusing. I can add myself to the edit restrictions again - then I am able to edit.

Is this a strange behaviour in our instance or standard?


Answers:
author: Suren Raj
body: Hi, Jan.

Based on the description, we can see you have **Add** **restrictions.** It gives you permission to apply page-level [restrictions](https://confluence.atlassian.com/doc/page-restrictions-139414.html) to a page or blog post. You can restrict a page for viewing, or just for editing.

<br />

Can you check if you have the add restriction permission on that space?

\* <https://confluence.atlassian.com/doc/space-permissions-overview-139521.html>

comments: author: Jan
body: Yes sure, if have restriction permissions on that space. Still I would not expect to find myself in the list of edit-users when I have not been added there. And I am also not able to edit that page even though I see myself with edit permission on page level.


Tags: confluence-server

server
Migration and upgrade
Asked by Ericka:

We are currently on the Confluence trial database. We are needing to Migrate it to our SQL server and then perform updates. Is anyone out there familiar with a service that can perform this for us?


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Community!

I know database migrations can often sound complex, mostly because they are. But, while I have problems with medium or large Atlassian systems migrations, "trial to proper database" is usually handled very easily by the stuff Atlassian have built in already - it is usually very easy for a small dataset that hasn't been heavily customised.

Long version: <https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html>

Short version:

* Get empty database in SQL server
* Export trial to xml
* Stop Confluence
* Edit the confluence.cfg.xml in \<confluence home\> to point at the empty database
* Start Confluence
* It should ask you if you have some xml you'd like to import - feed it the export file
* Give it a bit of time to import, and then start using it as before


Tags: confluence-server

server