youngmon/atlassian-qna huggingface dataset:
PocketQuery GoogleChart does not render correctly in Confluence tabs
Asked by Peter Christopher:

I'm having an issue where I'm using PocketQuery to render a Google Chart using a custom template. It works great in Confluence pages by itself.

However, if I try to place the PocketQuery macro inside of a tab control of any kind, it works fine on the first tab but all other tabs it does not render correctly. I've tried different combinations of things to fix it, but it still ends up messed up.

If you set the "load dynamically" option and get the reload button, you can click reload after navigating to the tab and that works fine.

Has anyone else run into this issue and solved it?


Answers:
author: Peter Christopher
body: My colleague was able to find one way for it to work. Using the Tabs Container macro and using the "Lazy Loading" option on the Tabs Page and finally making sure that dynamic loading is turned off on the PocketQuery. All three have to be in place, but that does seems to work.

comments: author: Sven Schatter _Lively Apps_
body: Great to hear that you were able to figure it out! If you don't mind me asking again, I assume you were talking about tab macros from [Content Formatting Macros for Confluence](https://marketplace.atlassian.com/apps/247/content-formatting-macros-for-confluence?hosting=datacenter&tab=overview "Content Formatting Macros for Confluence")? I just want to make sure, as I haven't personally used that app before.

By the way, if you encounter another issue I just wanted to let you know that you can always raise a ticket at [our PocketQuery ServiceDesk](https://help.livelyapps.com/servicedesk/customer/portal/5) as well. :)

Cheers,  
Sven


author: Peter Christopher
body: Yes those are the ones. And good to know about the pocketquery service desk. We have been working a lot with it recently so we might need to reach out at some point. Thanks!


author: Sven Schatter _Lively Apps_
body: Hi [@Peter Christopher](/t5/user/viewprofilepage/user-id/3633974),

When you say "tab control of any kind", what macro are you exactly talking about? It sounds like this tab macro might mess with the HTML that the PocketQuery macro produces which leads to PocketQuery's JavaScript not knowing where to insert the chart.

Cheers,  
Sven

comments: author: Peter Christopher
body: I mean Tab Containers macro or the Local Tabs macro. Stay tuned as we found a solution.


Tags: confluence-server

pocketquery

server
Import Issues into JIRA from a CSV file within Confluence
Asked by Casey Wassom:

Hello, looking to see if anyone has recommendations or potential solutions for allowing general users to create JIRA projects and upload issues into JIRA (via CSV files) all from within Confluence (similar to what is shown on this link -\> <https://bobswift.atlassian.net/wiki/spaces/CCLI/pages/30703792/How+to+allow+users+to+import+Jira+issues+from+Excel+or+CSV>.)

I would just use the solution referenced but I am working in a JIRA server instance and Confluence Cloud instance and cannot use those tools within the Cloud version. My solution needs to be able to have users define variables (to define project to upload, etc), upload a CSV file and then take all this data and populate the JIRA project). Are there any other plug-ins / applications that anyone would recommend to accomplish this task with the mixed environment I am working in? Thanks!


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Casey Wassom](/t5/user/viewprofilepage/user-id/3992918),

We can recommend you to use our app - [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview).

The [Table from CSV](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+from+CSV+macro) macro will help your users to create Confluence tables from .csv and .tsv Jira files. You'll be also able to filter your Confluence tables, make pivots and create charts.

comments: author: Casey Wassom
body: [@Katerina Kovriga {Stiltsoft}](/t5/user/viewprofilepage/user-id/1464746) thanks for responding. I looked into your solution and it doesn't appear to be what I am looking for. I clarified my question to be more specific. Thanks!


Tags: cloud
Looking for Detailed User Documentation on "Insert More Content"
Asked by Craig Senior:

I'm looking for user documentation on the page editing function **Insert more content** . Without creating a sandbox page, I'd like to know what each content type does and how to use it. Looking at it now, it looks like the term changes, mid-stream, from **content** to **macro**, so I might be looking for documentation on macros.


Answers:
author: Davin Studer
body: The "+" menu in the tool bar is a collection of page editing features and macros that Atlassian includes in the editor, but that don't really fit in the editor bar. My hunch is they were put there to save space as to try and put them all in the editor bar would make the bar really long and possibly have issues on smaller screens.

As for macros ... this is how I explain macros to my users. You can think of macros are really cool things that Confluence can do. All sorts of cool things. It's really just as simple as that. It sounds complicated but really they are just features of the editor that allow you to create compelling content easily. Confluence has a bunch of built-in macros but they also have a marketplace where you can purchase apps to extend the editing experience and add more macros. Some examples of some pretty common macro uses that I have seen in our environment would be the Word, Excel, Powerpoint, and PDF macros. The macros allow you to take and attached document of those document types and display them on a Confluence page as if the content were really on the page. It's not. It's still in the PDF/DOC/XLS/PPT but you can render it directly to the page.

Another example would be the panel macro. It allows you to create a outlined panel on your page that has a title bar and a body section to put content into. Below are some screenshots of what some of these macros look like in edit and in view mode. Also, one thing to note is at the bottom of the "+" menu there is a link to the macro browser that shows you a list of all the macros installed on your system with descriptions about what they do.

**Panel Macro**

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

**Word Macro**

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

comments: author: Craig Senior
body: Thanks Davin. I was about to say that I'm after one layer of detail lower, but your example of **Panel** turns out to be exactly what I needed, among others.


author: Davin Studer
body: I'm glad it helped.


author: Craig Senior
body: I did wind up creating a Sandbox page and adding one of every content type and macro, a one-time investment that I hope will payoff with on-going efficiencies, not having to wonder what to pick.


Tags: confluence-server

server
Confluence does not load Open API's
Asked by Harshal Chaudhari:

I was using Open API's to show swagger and it was working as expected, not sure but suddenly getting the below errors in web (using chrome Browser)

1/ "Refused to apply style from '<https://confluence-open-api.herokuapp.com/vendor-b64c7d.css>' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled."

2/ jquery.js:2580 Error while parsing the 'sandbox' attribute: 'allow-storage-access-by-user-activation' is an invalid sandbox flag.

3/ GET <https://confluence-open-api.herokuapp.com/vendor-b64c7d.js> net::ERR_ABORTED 404 (Not Found)


Answers:
author: Scott
body: We are the vendors for Open API Documentation for Confluence, and sorry to hear that you are experiencing difficulties with the app.

The two assets that you mentioned (vendor-b64c7d.css and vendor-b64c7d.js) are from an earlier release of our app; so it may be the case that your browser has cached an older copy of the app's HTML template.

Recommend that you clear your browser's cache and try again, or try refreshing the page without cache using CTRL+F5 or CTRL+SHIFT+R (Windows/Linux) or CMD+SHIFT+R (Mac)

For reference, the current asset versions (as at July 3, 2020) are vendor-21c04f-{css,js}.

Hope this helps.


Tags: cloud
Searching for a word while editing a page
Asked by Meric Ayman:

What are we doing:

- editing a confluence page

- press ctrl+f

- searching for a word

- going through the results with ENTER or Next

Expected reaction:

- Confluence highlights the searched words and scrolls automatically to the next one if there are words down the page

What really happens:

the words which can be seen without scrolling are highlighted in yellow.

For more results down the page, we have to manually scroll down.

Why isn't the page automatically scrolling down?


Answers:
author: Meric Ayman
body: Thank you Davin.

I think I have found the problem. Looks like it is a 3rd party Theme app.

comments: author: Shannon S
body: Hi Meric,

Thank you for letting us know you were able to narrow down the issue. Is there a specific app that was causing this? It may be useful to anyone in the future who experiences the same issue.

Shannon


author: Davin Studer
body: Do you know what versions of Confluence you are using? I have a 6.15.6 and a 7.6.0 environment and I was unable to replicate that behavior in either environment. In both enthronements I test Confluences find functionality and the browser's built-in find functionality. In both instances the page auto-scrolled to the appropriate spot.
Table of Contents Macro doesn't show
Asked by Eveline Bosman:

I'm working on a page in Confluence Cloud and have added the Table of Content Macro on the top of the page. However, when I publish the page, it just says 'extension' where the table should be (see screenshots).

![screen 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/101478i67824B09599A49F4/image-dimensions/483x197?v=v2 "screen 1.png")

![screen 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/101477i5F4A1241C30EC2E2/image-dimensions/503x201?v=v2 "screen 2.png")

Thank you in advance for any help!


Answers:
author: Jack Brickey
body: Hi [@Eveline Bosman](/t5/user/viewprofilepage/user-id/3973330) , I realize this is an old post but I wanted to check in to see if you were still experiencing this issue and if so maybe you could explain a bit more about what's going on so that I might assist. I haven't seen this specific issue happen with the TOC.


Tags: cloud

table-of-contents
How to share one page into different pages?
Asked by Luca Ramassa:

Hi everyone, I need your help :D is it possible to share one page into other pages?  

For example:

-Page 1

- Page 1 (child)

- Page 2

- Page 1 (child)

In this way, I can share one page with other teams member and keep them always updated.

I already tried to make a copy of the page but in this way, if I edit the main page, the copied page doesn't save the new data. Thank you for your help! :)


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi Luca,

Please, try the Include Page macro.

comments: author: Luca Ramassa
body: Hi Andrey,

Yeah, it works! Thank you very much


Tags: cloud
Crowd SSO not working for Confluence
Asked by P:

Hi,

I've setup Crowd integration and also enabled SSO for the following applications:

jira

bitbucket

bamboo

confluence

following this documentation:

<https://confluence.atlassian.com/crowd/adding-an-application-18579591.html>

They are all on the same domain.

All work as intended except for confluence. The authentication part of it works, but the SSO does not work. I'm not able to find any errors that may help me troubleshoot this, and was hoping the community can help lead me in the right direction.

I've updated the seraph-config.xml and the crowd.properties file.

Please let me know if there is a particular log file I should look into, or if there is anything else you can think of.


Answers:
author: P
body: Bump

comments: author: tjhkuijpers
body: same issue here, did you find a solution?


author: Mirko Sch?fer (Seibert Solutions)
body: And exactly the same here...


author: P
body: Another thing I'm noticing that may be a clue is that, if I'm logged in to confluence and all the other apps.. and logout of confluence it logs me out of the other apps. Then when I log in to jira i can connect to bamboo and bitbucket, but confluence it still asks for my credentials.


Tags: crowd

sso
Annoyoing notifications (bug?)
Asked by Marek Zielonkowski:

I am working all day with Confluence and I get a lot of this notifications:

"Session expired":

![2020-07-02_14-24.png](/t5/image/serverpage/image-id/101448i64DBB3EB8D5C4CA2/image-size/large?v=v2&px=999 "2020-07-02_14-24.png")

And "Something went wrong"

![2020-07-02_14-25.png](/t5/image/serverpage/image-id/101450i2D2D98E700B25014/image-size/large?v=v2&px=999 "2020-07-02_14-25.png")

Additionally the Page Tree does not load up....


Answers:
author: Shannon S
body: Hello [@Marek Zielonkowski](/t5/user/viewprofilepage/user-id/1542943) and [@Geza Kukoda](/t5/user/viewprofilepage/user-id/2393377),

I noticed this issue as well, and it appears to be a recent bug:

* [CONFCLOUD-70359](https://jira.atlassian.com/browse/CONFCLOUD-70359) *Session expired while viewing Confluence pages*

A few other users were having the same issue, which I replied to below:

* *[Session expiration](https://community.atlassian.com/t5/Confluence-questions/Session-expiration/qaq-p/1421710)*

It looks like this is a common issue right now, so you can subscribe to the bug above to receive updates when it's been resolved. If a workaround is made available, you can contact your site admin to raise a ticket with Support in order to apply it.

Let me know if you have any questions about that.

Shannon


author: Geza Kukoda
body: Same happening here.

Latest Chrome with MacOS and Win10 too.


Tags: cloud
Cannot get Confluence License from Portal
Asked by RPizzutillo:

I need to get my Confluence license. I upgraded from 7.4 to 7.6 and it says it cant start because there is no license present, therefore I cannot get my server ID to plug into the licensing portal to retrive it.


Answers:
author: RPizzutillo
body: To anyone else who has this issue. Open you backup and view the confluence.cfg.xml

Your server ID is in there.....


author: Davin Studer
body: You can manually get your licenses at <https://my.atlassian.com> if you need them.

comments: author: RPizzutillo
body: Yes, you can, but it asks for the server id which you can get by logging in as admin. But my problem is, the server isn't even starting because of the license, so i cant login is admin. And my license IS valid. Vicious loop......

License Inconsistency: Confluence support and upgrades for your current license have expired.  
You'll need to supply a valid license key. Confluence can't start without this.  
If you have a new license, please enter it on this page and restart.

Learn more

To get your Server ID:

1. Log in as a Confluence administrator
2. Click on the Settings icon and choose **General configuration**
3. Click on the **License Details** link (under '*Administration*')
4. Your Server ID is listed in the **Server ID** field

Support Expires 11/25/2020
How can I use filters in Confluence Cloud rest API
Asked by webmethods-integration:

Hi

The below-mentioned URL gives all the watchers for a particular page/content

<https://developer.atlassian.com/cloud/confluence/rest/#api-api-content-id-notification-child-created-get>

But I want to filter those records based on AccountId or filter record that matches specific accountId.

So is there any way to achieve this. If yes please let me know.

Regards

Kuldeep Kushwaha


Answers:
author: Diego
body: Hello [@webmethods-integration](/t5/user/viewprofilepage/user-id/3192373) !

As I understand, you need to sort the WatchArray array that is a result of the request to get the list of page watches.

As we can see here, the request returned value is a json array:
> * [++***\[Confluence Cloud Developer\] Content Watches - Get watches for page***++](https://developer.atlassian.com/cloud/confluence/rest/api-group-content-watches/#api-api-content-id-notification-child-created-get)

As far as I understand, REST does not allow us to do this. What you can try to do is to order the returned json array.

There are some articles about it on online forums:
> * [++***\[C# Corner\] Sort JSON Object Array Based On A Key Attribute In JavaScript***++](https://www.c-sharpcorner.com/UploadFile/fc34aa/sort-json-object-array-based-on-a-key-attribute-in-javascrip/)

I also believe that you will find very qualified resources in our sister community, the Developer Community:
> * ++***[\[Atlassian Developer Community\] Confluence Development](https://community.developer.atlassian.com/c/Confluence)***++

Let us hear from you!


Tags: cloud

confluence-cloud
Page Property report tables - back in 2000
Asked by C?t?lin Mihacea:

Hello,

Any reason why we would go back in 20 years with the Page Property Report?

Thanks,

Catalin


Answers:
author: Nic Brough -Adaptavist-
body: That's not a question we can answer for you. Would any of your users want to?

comments: author: C?t?lin Mihacea
body: That is fine. We've opened a case for the latest cloud version.


Tags: cloud
Error fetching page properties report data
Asked by Admin:

The Page Properties Report that *was* working is now broken, returning:  

*error fetching page properties report data*

It is fine in the preview, but errors when published, it was working yesterday and isn't now, I've tried recreating the table, but this doesn't fix it.

Help please!


Answers:
author: Juan Felipe Cardona
body: It is working correctly again in my instance.


author: Jimmy M
body: A temporary workaround that worked for me was to remove any input from the "Sort by" option. However when doing this it reveals a new issue where the columns in the table are no longer ordered in the sequence you input them in "Columns to show".


Tags: cloud
User Macro: How to display User Profile Avatar
Asked by Robin Taylor:

Hello! First post here :)

I?ve written a Macro that allows to pick a User and to display further information (position, hobbies, mobile number...). The information is afterwards displayed in a profile card. The profile card was made by piecing together different AUI elements. Besides the $param sections everything else is HTML / CSS.

It actually works great and looks good, except for the Profile Avatar, which is a cheap inclusion of the Profile Picture Macro.

     <ac:structured-macro ac:name="profile-picture">  <ac:parameter ac:name="User">    $paramUsername  </ac:parameter></ac:structured-macro>

This is handy because I don?t have to give up on the "follow" feature etc. thats available by mouseover, but I don?t quite understand how I can manipulate the picture format (increase size, round edges...).

How would you go about including the Avatar of the chosen User?

Thanks in advance for your input on this matter!

Cheers, Robin


Answers:
author: Davin Studer
body: This is probably how I would do it. You could wrap the profile picture macro in a div with a class of your choosing. Then you can also add styles in the user macro to style the picture and over-ride any existing styles you do not want.

One thing to note below I am adding the style in via JavaScript on purpose. There is an odd behavior that I have found that if you put a style element into a user macro the top nav bar will no longer float at the top of the page when you scroll. It's odd and I don't know why it happens. However, if you add the style in via script after page load that issue doesn't manifest.

    <script type="text/javascript">
    //<![CDATA[

    //The styles to add.
    var style = `
    <style type="text/css">
    .myProfilePicture {
     /* Insert your styles here */
    }
    </style>`;

    //Insert the styles into the page on ready
    AJS.toInit(function(){
        AJS.$('header').append(style);
    });

    //]]>
    </script>

    <div class="myProfilePicture">
        <ac:structured-macro ac:name="profile-picture">        <ac:parameter ac:name="User">            $paramUsername        </ac:parameter>    </ac:structured-macro>
    </div>


Tags: api

confluence-server

css

development

html

server

user-macro
Creating custom link type between Confluence and Jira
Asked by frida_ferencz:

Hi All,

I'm currently building out a platform between Jira and Confluence for Risk Management. Action items such as control gaps, risk events are tracked on Jira, and regulatory requirements, control frameworks etc are stored on Confluence.

There is a requirement to link between the two platforms ie a risk event could be breaching a regulation, or new framework could be the evidence that a control gap is closed.

**My question is can I customize link types between the two platforms, similarly to how I am able to create custom link types on Jira?**

Eg. on Jira I can use existing link types like blocks, relates to or I could create new one eg. "evidenced by". However when linking Jiras to a Confluence page, there doesn't seem to be a way to select what the link type is (is defaults to "Wiki Page"

Has anyone figured out a way to customize these link types or is that not possible to do?

Thanks in advance for any input.

Reka


Answers:
author: Daniel Fietta
body: Hi [@frida_ferencz](/t5/user/viewprofilepage/user-id/3952472),

Have you tried this add-on: [Page Linker for Confluence](https://marketplace.atlassian.com/apps/1217628/page-linker-for-confluence?hosting=server&tab=overview)

Sound like this could match your requirements and it is free.

Cheers,  
Dan  
[STAGIL](https://www.stagil.com/)


Tags: confluence-server

issue-link

jira

link

server
Hierarchy automation from initiatives in Jira
Asked by David Rotella Morales:

Hi all,

As for initiatives in Jira, I am just wondering how the hierarchy is automatically updated in Confluence at the time you change the initiative status in Jira?

Thank you in advance!

Best,

David


Answers:
author: Shannon S
body: Hello David,

Thank you for raising this with us. Issues from Jira are displayed in Confluence using a [Jira issues macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-jira-issues-macro/). If you have a page in Confluence displaying your data from Advanced Roadmaps, it's likely using one of these macros.

Any hierarchical changes you make to your issues on the Jira side will be stored in a field within Jira. For Advanced Roadmaps, the **Parent link** field becomes activated, which is where this data is kept.

So, if there's certain information you want to display in Confluence from Jira, you just want to make sure to edit the Jira Issues Macro configuration to display this. You can also use JQL search queries or filters from Jira within this macro to display the information you require. This will be updated real-time when you make changes in Jira.

I hope this helps, but if you have any questions, please let me know.

Take care,

Shannon


Tags: advanced-roadmaps

cloud