youngmon/atlassian-qna huggingface dataset:
yaml code block macro - add language
Asked by Adnan Siddiqui:

The link below lists yaml as one of the code blocks, but its not listed in our instance. I also dont see an option to add via configure code block macro. Any ideas how can we get it added? I am a site admin and have full rights.

<https://confluence.atlassian.com/doc/code-block-macro-139390.html>


Answers:
author: Stephen Deutsch
body: I'm guessing you are on Confluence Cloud? YAML syntax highlighting was added to Confluence Server version 6.7, but doesn't appear to be added in Cloud yet, and in Cloud there is no option to add new highlighting rules.

However, you could install the [Better Code Macro](https://marketplace.atlassian.com/plugins/com.atlassian.connect.better-code-macro.prod/cloud/overview) Marketplace app, which has many more syntax highlighting options and which is free (and directly from Atlassian).

comments: author: Adnan Siddiqui
body: thanks this helped.


author: Manu
body: Unfortunately, "Better Code Macro" is now '*hidden from public view because it no longer meets the requirements for Atlassian Marketplace*'.


author: Stephen Deutsch
body: You're right. Atlassian are removing apps from the Marketplace without any Terms of Service, but seems strange that they would remove their own app.

I also checked the regular code macro, in case they enabled YAML support, but apparently they still don't support it as of today.


author: Eric Horne
body: Not supporting YAML in the code block on hosted confluence seems like a poor choice. What can we do to get Atlassian to add YAML?


author: Alexander Stohr
body: Not solved for me.  
Me-too wants a solution - and i am indifferent if Atlassian or free plug in will solve this for me.


author: Alexander Stohr
body: The current state of "Better Code Macro" is "unsupported" - but it still looks available to me. I might be on error.


author: Nar Kumar C. - Narva Software
body: You can use [Code Syntax Highlighter](https://marketplace.atlassian.com/apps/1219685/code-syntax-highlighter) from Marketplace: <https://marketplace.atlassian.com/apps/1219685/code-syntax-highlighter>

It works similar ways as code macro but supports almost all programming languages and text formats in use including YAML.


Tags: yaml
Confluence plugin Roadmap Planner bug with dates
Asked by Samuel Barkoci:

Hello,

One user is experiencing a bug with the Confluence plugin- Roadmap planner

The bug is on this page.

<https://confluence.corp.netsuite.com/display/TEAMPDP/18.2+Sub-Task+Planning+Meeting>

If you look at this planner that I'm trying to build, you see that the "New Bar" items are scheduled for the week of March 19, and the item in the 4th column is schedule for March 7-19. The red marker ("Phase 2 Due") is on March 7.

However, if you go to edit the macro, you'll see that the "New Bar" items are scheduled for the week of March 26, and the item in the 4th column is scheduled for March 14-26. The red marker ("Phase 2 Due") is on March 14.

The way it looks in "Edit" mode is correct, but the way it looks on Confluence is incorrect. So, I cannot make the macro do what I want. I cannot fix this no matter what I do. I've used this macro before and it worked perfectly; I don't know why I can't use it anymore now.

The one I used before still looks correct.

Would just like to add that other confluence users have experienced this bug before:

<https://jira.atlassian.com/browse/CONFSERVER-39023>

I saw another thread where they claimed to have fixed it in the latest version of the plug-in but we already have that version.

Any help will be appreciated. User can be reached at rlefuel@netsuite.com

Kind regards

Samuel


Answers:
author: Brad Lackey
body: I'm having almost the exact same issue, but it's pulling my dates in instead of pushing them out. I can place bars further into the future and they don't get moved. But anything around the marker time period gets moved...whether the marker is there or not...which makes it more odd. I submitted this issue just now so hopefully they'll take a look at it. I just found this macro and was excited to implement it, but now I can't.

![Roadmap_edit mode.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/15500i13D61E9423268232/image-size/large?v=v2&px=999 "Roadmap_edit mode.JPG")![Roadmap_published.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/15501i90239F85C6946F0D/image-size/large?v=v2&px=999 "Roadmap_published.JPG")


Tags: advanced-roadmaps

app
Interact javascript with form fields
Asked by Marcos Calleja:

Hi,

I have a confiforms form with several fields and I need to use javascript to get the value of the fields, do something with its value, split for example, and set the new value to another field.

At this point I can get the value as follows:

\<script\>  
var str = '\[entry.myfield\]';  
var arr = str.split(" ");   
var text = "";  
var i;  
for (i = 0; i \< arr.length; i++) {  
text += arr\[i\] + ","  
}

// this line is just what I need, but doesn't work  
'\[entry.otherField\]' = text;  
\</script\>

I've also tried something like this:

AJS.toInit(function(){  
var str = '\[entry.anyField\]';  
var arr = str.split(" ");  
var text = "";  
var i;

for (i = 0; i \< arr.length; i++) {  
text += arr\[i\] + ","  
}

// This doesn't work too  
AJS.$('#i_otherField').val(text);  
});

Thanks in advance


Answers:
author: Alex Medved _ConfiForms_
body: Have a look at these examples:

<https://wiki.vertuna.com/display/TEST/Using+ConfiForms+Field+Definition+rules+with+JavaScript+action+to+get+and+set+field+values>

<https://wiki.vertuna.com/display/TEST/Change+field+label+with+Field+Definition+rule+and+JavaScript>

The examples based on the fact that javascript function are called with the parameters as is shown here: <https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Field+Definition+Rules>


author: aijaz-ipa
body: Looking for an answer too.


author: Paul Ward
body: don't have an answer, but need to do the same thing!


Tags: confiforms
Export to PDF random empty pages
Asked by Amy Williford:

We house our policies and procedures in Confluence. I am under a time crunch to download specific policies as pdfs (about 130 of them). During the export to pdf, random pages will have the body of the page stripped out. I've searched the source code, the html, the styling, the pdf...there is no pattern and no obvious cause. It happens when I export one page and when I export 50 pages. Any ideas as to what the cause would be?

Thanks!


Answers:
author: kennyngkk
body: Hi Amy,

Sorry to hear that you are facing an issue when it comes to export. This can be caused by multiple reasons. As I am not able to view your environment, However, lets try to narrow down the root cause and we may know what can be the issue.

1. Enable safe mode
   * This Might because by some external plugin that you have install that can be causing the issue.
     * Follow the attach document to enable safe mode
       * <https://confluence.atlassian.com/upm/disabling-and-enabling-add-ons-273875716.html>
2. Include the argument
   * Include the argument "-Dpdf.render.memory.guard.disabled=true" into your setenv.
     1. Shut down Confluence
     2. Go to \<Confluence-Install\>/bin/setenv.sh(linux) or setenv.nat(window)
     3. Include the argumenet -Dpdf.render.memory.guard.disabled=true
     4. Save the file
     5. Start Confluence.
3. Do let us know what are the field that you can see is missing from the PDF. Let us know if is a data in a macro data is missing. Or just pure text is missing.

Do let us know, with the above information. I believe that we can get closes to the root cause :)
Migration self hosted Jira Software and Confluence to Atlassian Cloud
Asked by Denis Hoehne:

Currently we operate a self hosted Jira Software and Confluence. Confluence users are also managed in Jira Software with an own role.

Now we plan to migrate to a Atlassian cloud subscription. What's the procedure to acchieve this so that all existing tickets, workflows, users, confluence pages... are completely migrated.

Best case is that we can acchieve that users can proceed working with a new URL (Atlassian cloud) instead of local URL and no other changes.  

Thanks,

Denis


Answers:
author: Nic Brough -Adaptavist-
body: Have a read through

<https://confluence.atlassian.com/jirakb/migrating-from-jira-server-to-jira-cloud-779160826.html>

and

<https://confluence.atlassian.com/confcloud/migrate-from-confluence-server-to-cloud-724765529.html>

comments: author: Denis Hoehne
body: Hi Nic,

I have seen this. But this only decribes how to backup/restore the content. Are there also workflows etc. integrated?

How can I migrate the permissions?

How can I migrate the combined user management in Jira Software instead of own users in Confluence?

That's more what my question is about.

Thanks,  
Denis


author: Nic Brough -Adaptavist-
body: They both import everything, barring the config stuff named on those pages.


Tags: jira-software
Suppress blank records from being displayed in Page Properties Report Macro
Asked by Adrian Speich:

Hi,

I have a Page Properties Macro on various pages with the same table on each page.

On some pages the table contains data, on others it does not. The pages are linked to a Page Properties Report which returns a record where the table contains data, and just the page title on an otherwise blank row where it does not.

Is it possible to only return records where the Page Properties Report table is populated, and not return a row where the Page Properties Report table is blank?

Thanks


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

It is only possible to filter out this rows with [Table Filter](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) macro: add a [dropdown](https://docs.stiltsoft.com/display/TableFilter/Managing+Dropdown+Filters?src=contextnavpagetreemode) [reversed](https://docs.stiltsoft.com/display/TableFilter/Managing+Reversed+Filters) filter with -Empty- value for the column and [hide the filtration pane](https://docs.stiltsoft.com/display/TableFilter/Managing+Filtration+Parameters#ManagingFiltrationParameters-HidingtheFiltrationPane) if needed.

comments: author: Adrian Speich
body: Thanks. It's a not a problem which justifies purchasing a plugin at this stage but good to know.


author: Hartmut Leister
body: very nice, since we're already using this plugin, that helps us.

There's one caveat, however:

Since **filtering is only done after aggregation of the Page Properties Report** , you **might end up with multiple (potentially) empty Page Property Report Pages** if the Page Propery Report contains more than 30 pages (before applying the table filter).

You can use a **workaround** to **increase "Number of items to display"** to get a single page Page Property Report, which can then be filtered using the Table Filter macro.

see <https://confluence.atlassian.com/doc/page-properties-report-macro-186089616.html>
Adding a Label to a Template in Confluence
Asked by Chris Hill:

I am a very new user to Confluence and am creating some templates to be used by our team.

Last week I created a template and attached labels to it without any problem.

However, I am now trying to do the same on a new template but the label icon is not visible anymore in the template edit mode (or anywhere else). It is not next to the file tree up the top of the page.

Has something changed or am I going completely mad.

I am using Confluence Cloud and using either Safari \& Chrome (and have checked Firefox)


Answers:
author: Thomas Schlegel
body: Hi Chris,

this seems to be a general problem, another user is also reporting this:

<https://community.atlassian.com/t5/Confluence-questions/Label-option-NOT-available-for-template-anymore/qaq-p/719325>

and I'm experiencing the same behaviour.

[@Shannon S](/t5/user/viewprofilepage/user-id/510046) - Could you please have a look at this?

comments: author: Shannon S
body: Hi Thomas, thank you for bringing me here. :)

I've found this is a known bug:

* [CONFCLOUD-58971](https://jira.atlassian.com/browse/CONFCLOUD-58971)

At this time there isn't a workaround, but I would recommend keeping an eye on that for any updates.

Let me know if you have any questions about this.

Regards,

Shannon


author: Debra Graham
body: I've also reported a problem with adding labels to a template: <https://community.atlassian.com/t5/Confluence-questions/Problem-in-adding-labels-to-a-template-blueprint/qaq-p/1470054>


author: Mykenna Cepek
body: Please consider also casting a vote for related request: [CONFCLOUD-38181](https://jira.atlassian.com/browse/CONFCLOUD-38181)
group dosn't exist or not visible error while adding user through project level in GIT server
Asked by sai thota:

configured Gerrit on Centos7 able to add the user in server. while providing access to project

throwing "group username doesn't exist or not visible


Answers:
author: AnnWorley
body: Hi! I am not clear from your post which Atlassian product you are using. ([Gerrit](https://en.wikipedia.org/wiki/Gerrit_(software)) is not made by Atlassian.) Please let us know what we can help with related to Atlassian products. Cheers, Ann
The Excel macro is not honoring row and column limits
Asked by Adaptive Staff:

The Excel macro has settings to limit how many rows and columns are rendered in the finished display. If a spreadsheet is rendered that has anything in a column or row it is rendered regardless of the limitations. Example:

A sheet is uploaded that has visible data in 15 columns and 60 rows with formulas to display data in the remaining rows up to row 500. The macro is configured to display 10 columns and 60 rows.

Once the page is saved all 15 columns and 500 rows are displayed; why?


Answers:
author: HD Nguyen
body: I had the exact same issue as described by Rick. This is how I got it to work.

1. Update Macro as needed.
2. Go to the Attachment page of the Confluence page, Delete the Excel file.
3. Click on the breadcrumb to the Confluence page. The macro should display an error.
4. Drag the Excel file onto the page to upload. The macro should automatically refresh as expected.

comments: author: vanessa-roberts
body: Thanks, this worked for me.


author: Krizsan, Roland
body: Thanks, it works.

I have tried it a different way, I didn't delete the excel file, just opened to edit with excel (companion app needed), and uploaded after a save (without any change). It works too.


author: M_GruenKerr
body: Worked for me!


author: Achim Haag
body: Works in 7.13.1


author: John Corwith
body: In 7.19.5 you still can't change the rows/columns without deleting the file, making the change and reattaching the file. But the latter does work in this version. Thank you for the tip. Too bad Atlassian can't be bothered to fix it.


author: Thomas de Gruchy
body: Thank you for this, finally a solution that works! (7.19.5)   

This was driving me absolutely crazy, wish it was more intuitive.


author: dror.atariah
body: And the prize for the "Most Intuitive and Straightforward User Experience" goes to setting the number of rows to be displayed. Thanks [HD Nguyen](https://community.atlassian.com/t5/user/viewprofilepage/user-id/376038). your suggestion still works in June 2024...


author: Rick Mortensen
body: Update to the original question; the problem appears to only be an issue when attempting to change the settings for an already established Excel macro. For instance:

1. Upload a spreadsheet

2. Insert a macro displaying 50 rows and 12 columns

3. Update macro to display 60 rows and 12 columns

Notice that the number of displayed rows doesn't change. I tried this with Chrome, Firefox, and IE; no difference. I also see that it doesn't matter if the macro is deleted, the page saved without the macro, and a new macro inserted with the new settings. Once a macro is established on a given page it cannot be changed to display a different number of rows or columns (increasing or decreasing the number doesn't matter).
Message 'you do not have access to portals' for Confluence user
Asked by Julia Butz:

I have added new users to a Confluence space, but they get the following error message when trying to log in('You do not have access to portals.'): ![Error_message_confluence.jpg](/t5/image/serverpage/image-id/14020i7E4100DD32F11BE6/image-size/large?v=v2&px=999 "Error_message_confluence.jpg")

It seems to have nothing to do with permission, since they can enter and edit the space as intended when they plug in a URL of the space directly into their browser as a workaround.

From the URL it seems like they automatically get redirected by the system to some kind of servicedesk portal (I can replicate the situation via Administration/User management/Login as user). I?ve tried to adapt the landing page like it is described here: <https://confluence.atlassian.com/doc/configuring-the-site-home-page-138140.html>, but that didn?t help.

Does anyone have an idea how this problem can be solved?

Thanks a lot in advance


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

It looks like you're running into an existing bug, which can be found here:

\* [ID-6349 - Some users with access to](https://jira.atlassian.com/browse/ID-6349)only[Confluence are not being redirected to Confluence](https://jira.atlassian.com/browse/ID-6349)

Please be sure to watch it, so that you are notified when this is fixed in a future release. For your reference, you can find our policy on how we prioritize bug fixes \[here\|<https://confluence.atlassian.com/display/Support/Atlassian+Bug+Fixing+Policy>\].

There are some possible workarounds, as you can see below:
> \* Click on the "Application Navigator" and select Confluence. User will be redirected to Confluence as a logged in user immediately. (If redirected to JIRA Dashboard)  
> \* Navigate to \<instance-name\>.atlassian.net/wiki (If redirected to Customer Portal)
How to limit Confluence search to pages by default?
Asked by Marco Peters:

By default Confluence searches through all content, pages, attachments, blogs, etc. The search result page allows the user to limit search results to for example Confluence pages only.

I'm looking for an option to change the default behavior of the Confluence search box. When the users searches through content the default behavior should be that the results are limited to pages (for example) only.

Using the search result page, the user can decide to widen the search to all content (or to pages and attachments).

It is important that it should be a system (or space) setting. A user should not have to take additional actions to apply limitations.


Answers:
author: Shannon S
body: Hi Marco,

It's not currently possible to adjust the default behavior of Confluence Quick Search, but we do have a feature request for it:

* [CONFSERVER-5338](https://jira.atlassian.com/browse/CONFSERVER-5338)

This feature would allow you to specify the default search scope of the Quick Search in Confluence.

In the meantime, you could use the LiveSearch Macro in order to specify the scope of search.

Let me know if you have any questions.

Regards,

Shannon
is it possible to insert a search bar widget within an image box?
Asked by Jonathan Sixsmith:

is it possible to insert a search bar widget within an image box?

thanks,

Jon


Answers:
author: Shannon S
body: Jonathan,

Can you let me know what you mean by image box? We have a [Livesearch macro](https://confluence.atlassian.com/doc/livesearch-macro-163415902.html) you could use but I don't know if it will work with the image box you're referring to.

Regards,

Shannon


Tags: search
Test Case Pass % (Confluence)
Asked by serdarswan:

Hello guys, i need help with this (Test Case Pass %) it does not consider the percentage, what i should to do with this issue?

<https://ibb.co/m0pJ1H> - screenshot


Answers:
author: Shannon S
body: Hi Serda,

From your screenshot it appears you're having the problem on Jira and not Confluence, so I will be moving your case over to the Jira queue.

Could you please let me know what plugin you're using for testing so I can make sure to get the attention of the developer of that particular add-on? Jira doesn't do this natively but other add-ons do, such as Zephyr, so I want to be sure to label your question properly.

Regards,

Shannon


Tags: jira-core

jira-software
Pages not contaning information
Asked by Muthanna S. Ajith:

Hi,

I am not able to view a page on confluence. The screenshot of the message is attached. The page link is,

<https://fleet.alm.accenture.com/thedockwiki/display/OpsTeam/calendar/26bcb6f1-b6b0-45b8-88d4-0514f712692b?calendarName=Ops%20Team%20Calendar>

![Capture1.JPG](/t5/image/serverpage/image-id/14007i41CF0F3DA1FF4A2B/image-size/large?v=v2&px=999 "Capture1.JPG")

Thanks,

Muthanna


Answers:
author: Muthanna S. Ajith
body: Thanks for the reply. But, what if the person who gave me the link isn't sure about how to do it? Is there a way to figure it out?

Thanks,

Muthanna


author: Nic Brough -Adaptavist-
body: You'll need to ask whoever gave you the link for access to it, and to check that it is there.
Sharepoint feed in Confluence
Asked by Nadja Agreiter:

Hello everyone,

since two weeks I'm trying to embed a SharePoint RSS feed on a Confluence-Page. I'm using the RRS-feed-macro, but the following error message appears:

"Not found <https://www.companyname.de/allgemein/meldewesen/_layouts/15/listfeed.aspx>\[...\] - Page not allowed."

I already added the exact URL and the URL from the Homepage to the Confluence-whitelist, but had no success.

Any ideas?

Greedings, Nadja


Answers:
author: Shannon S
body: Nadja,

Does your Sharepoint site require a login to view the data? I'm curious if that would be causing the issue. Otherwise, you can check your Confluence Server logs for more details about why it might not be working.

Regards,

Shannon


Tags: feed

rss

sharepoint
Regarding confluence license
Asked by Varsha Kumari:

We have one instance of confluence running with 10 user license.

There was a plan to setup new confluence hence we purchased 50 user license for new confluence .

But as per the current scenario the new confluence installation need is no more .

Can we merge 50 user new confluence license with the existing 10 user license.

10 user existing + 50 user new = 60 user license ( Can it possible ?


Answers:
author: Thomas Schlegel
body: Hi Varsha,

no, you can't merge two licenses into one. I think, you can use the 50 user license in your 10-user-installation (so you have 50 licensed users, not 60), but then, your additional apps (if you have any) have to be upgraded also.

comments: author: Varsha Kumari
body: Hi Thomas ,

Thanks for your quick response.

I got your point . As per your reply team has decided to update the existing confluence license with 50 user .

As per the atlassian portal for the new instance license we have to provide the server ID the it will generate the license , hence I have provided the existing confluence server id and got the key .

Now the issue is as per senior management decision we have to do the new confluence installation .

So can I update the server id of new confluence in atlassian portal ?

Please provide your view.


author: Varsha Kumari
body: Still waiting for response


author: Thomas Schlegel
body: Hi Varsha,

sorry, I haven't seen your second question. Do you keep your Confluence database and just do a new installation of the application server? Then the server ID stays the same, since it is hold in the database. You don't need a new server ID.


author: Varsha Kumari
body: Hi Thomas ,

Since I have updated the serverId of the running confluence instance for the new license . But i have done the new instance confluence installation with new database .

So can i update the new serverId of new instance in my.atlassian.com/products/index ? so that the license can be mapped to the new serverID.


author: Thomas Schlegel
body: Hi Varsha,

Since this is becoming a licensing problem now, I think, you should ask Atlassian support directly regarding this question:

<https://support.atlassian.com/contact/#/>

Thank you