youngmon/atlassian-qna huggingface dataset:
Questions about the excel macro
Asked by Anna Antretter:

Hi,

I uploaded an Excel file on a page. The file is displayed using the Excel macro.

Now I want to create a second page and show the same Excel file without upload the file again, but with fewer columns.  
After limiting the columns, nothing happened. The Excel stayed the same.  
Is it possible to display an Excel file on another page, or does it always copy the file from the original file?

Second problem is that if I restrict the page permissions, means a certain group of people may only view the page, then the people can not see the Excel and get error message.

Thanks for helping,

Anna


Answers:
author: Fabienne Gerhard
body: Hi [@Anna Antretter](/t5/user/viewprofilepage/user-id/1860958) welcome to community

I could totally reproduce your problem (looked great on the first step, after returning to page all columns were shown again) - I'm sorry but I don't think that this will be fixed cause view file macros are not supported anymore (for over a year now) -\> [https://jira.atlassian.com/browse/CONFSERVER-39829](https://jira.atlassian.com/browse/CONFSERVER-39829?)

You are right depending restrictions.

Maybe have a look on addons which may help you [https://marketplace.atlassian.com/search?product=confluence\&query=excel](https://marketplace.atlassian.com/search?product=confluence&query=excel?)

comments: author: Anna Antretter
body: Hi [@Fabienne Gerhard](/t5/user/viewprofilepage/user-id/971720),

thanks for your quick answer!

It's sad to hear that this will not be fixed...

Thanks for the recommendations, I'll have a look at it.


author: Fabienne Gerhard
body: You're welcome [@Anna Antretter](/t5/user/viewprofilepage/user-id/1860958) - I'm also sad about that.

If you find a good solution - would be awesome if you share it with us (or me ;) )


author: Fabienne Gerhard
body: Interesting news for you, too

Support is coming back

<https://jira.atlassian.com/browse/CONFSERVER-39829%C2%A0>


author: Andrey Khaneev _StiltSoft_
body: Maybe you could try to hide some columns of the Excel macro with [Table Filter](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview) macro [Hide Columns](https://docs.stiltsoft.com/display/TableFilter/Managing+Look+of+the+Table+and+Filtration+Pane#ManagingLookoftheTableandFiltrationPane-HidingTableColumns) filter.

comments: author: Anna Antretter
body: Thank you for the hint!

We will try the free version and will see how it works.


author: Andrey Khaneev _StiltSoft_
body: The free version (1.5.2) is quite old and has only two filter types: single select and free text. But you can get free evaluation license and see if it is useful for you.


Tags: confluence-server

server
how to attach multiple images and files to create page in confluence rest api
Asked by Vidya Shevale:

I am writing rest api in confluence to create page

and also want to attach images in it

but image is not showing in page

my php curl is as below

public function create_content(){  
$qbody = file_get_contents("php://input");  
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "http://localhost:8090/rest/api/content/");  
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);  
curl_setopt($ch, CURLOPT_POSTFIELDS, $qbody);  
curl_setopt($ch, CURLOPT_POST, 1);  
curl_setopt($ch, CURLOPT_USERPWD, "admin" . ":" . "Abc@1234");

$headers = array();  
$headers\[\] = "Content-Type: application/json";  
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);  
if (curl_errno($ch)) {  
echo 'Error:' . curl_error($ch);  
}  
curl_close ($ch);  
print_r($result);  
}

and sending request in raw

i am sending image using base64 format and my html tags also not working


Answers:
author: Thomas Deiler
body: Dear [@Vidya Shevale](/t5/user/viewprofilepage/user-id/2057399),

afaik you cannot attach files/images to a page that does not exist or in other words, first create a page and then attach the files.

And you do not need to send the files base64 encoded - this will do curl for you.

Hope that helps. If not, please give me more details of what you exactly do.

So long

Thomas

comments: author: antony terrence
body: [@Thomas Deiler](/t5/user/viewprofilepage/user-id/484715) The fact that you are creating a new page, shouldn't it allow you to upload attachments with along with the new page data? Won't it be much better than having to make two calls to complete a page creation? Images are essentially page data, For the image macro to work, the attachments should be present. Until the attachments are uploaded, the new page is incomplete. So Atlassian should have allowed users to upload attachments along with the page data. But it's unfortunate we have to do two calls to complete a page.


author: Thomas Deiler
body: Dear [@antony terrence](/t5/user/viewprofilepage/user-id/441493) ,

you are right. Please open a suggestion at <https://jira.atlassian.com> for your requested feature.

So long

Thomas
Copy link from one space to another - feature/bug?
Asked by Mia Decoy:

Hi,

We are creating a manual in Confluence and we would like to copy link from different spaces info this manual so that you can click on the link in the manual and get to the space where the info originally is documented.

But sometimes when we copy one link from one space to another, it doesn?t work.

For ex, we would like that [Metadata definitions#Kivra](https://stralfors-wiki.atlassian.net/wiki/spaces/CD/pages/43450561/Metadata+definitions#Metadatadefinitions-Kivra) should take you direct to the headline of Kivra.

Is it so that you cannot copy links between Spaces/Instances? Or are we doing something wrong :)?

BR  
Mia Decoy  
Postnord Str?lfors Admin


Answers:
author: Fabienne Gerhard
body: Hi [@Mia Decoy](/t5/user/viewprofilepage/user-id/2140331) welcome to community!

do you copy the links from Browser, which would be a copied URL and not the link.

There is a much more comfortable way when you just insert a link -\> see [documentation here](https://confluence.atlassian.com/doc/links-776656293.html). Confluence helps you create links that should definitly work.

What you mentioned with the heading would be [Link to a heading on a page](https://confluence.atlassian.com/doc/links-776656293.html#Links-Linktospecifictypesofcontent).

comments: author: Mia Decoy
body: Hi,

Thank you, and thank you for your quick help! We will try that.  
What we did was that we right clicked on the link and then "Copy link"   

Tank you once again!


author: Fabienne Gerhard
body: No problem - hope it helps!
Can I reorder the columns of a jira two dimentional diagram?
Asked by Georg Nauerz:

I inserted a two dimentional jira diagram showing the status of issues over the sprints.

Project = (project name) AND issuetype = story

What is strange? The order of the status (columns) doesn?t match the order in jira on the agile board.

Any ideas?

Thanks,

Georg


Answers:
author: Vero Rivas
body: Hi [@Georg Nauerz](/t5/user/viewprofilepage/user-id/1597600)

Have you managed to solve your incident?

Cheers


Tags: confluence-server

diagram

server
how to create Tabs in confluence 5.10.7
Asked by Vallatharasu M:

I have to create tabs in a confluence page to display different content. My confluence version is 5.10.7. Could someone help how I can do ?


Answers:
author: Thomas Buchhorn
body: I think you need plugins to be able to do that.

Here are some plugins which support creating tabs:

Composition Tabs \& Page Layout

<https://marketplace.atlassian.com/apps/245/composition-tabs-page-layout>

Navitabs

<https://marketplace.atlassian.com/apps/28632/navitabs-tabs-for-confluence>


author: Fabienne Gerhard
body: Hi [@Vallatharasu M](/t5/user/viewprofilepage/user-id/2140416) - welcome to community.

Could you please specify a little bit more what you want to do - for what you need it? Why you want to display the content on one page and not on different pages.

Best regards

comments: author: Vallatharasu M
body: For example, I have an excel file which has multiple sheets and I want to display the content in the page. Instead of creating separate page for each sheet, I would like to show in same page as each sheet as tab


author: Fabienne Gerhard
body: Hi [@Vallatharasu M](/t5/user/viewprofilepage/user-id/2140416) - Excel might be a problem - formerly you could choose which tab site/tab and cells were shown with the Excel macro. But as it is not supported anymore I don't think that's able anymore. The view file macro won't give you this options....

Sorry - I can feel with you!


author: Thomas Buchhorn
body: Mabye this plugin solves your needs?

Excel for Confluence: [https://marketplace.atlassian.com/apps/216/excel-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/216/excel-for-confluence?hosting=server&tab=overview)

Or check other plugis on the marketplace.
Confluence query created and lastModified datetime filter
Asked by Shreeniwas Sovani:

I'm trying to retrieve spaces modified after some date-time value using confluence query. But what I observed that the results are filtered only by date and not by time. Below is the cql query that I've executed using search API:

***/search?cql=(type=space and lastModified \> "2018-08-06 10:10")***

For the above cql query results are filtered only by the date value(2018-08-06) and not by the time value(10:10). I've refereed the CQL date formats mentioned [here](https://developer.atlassian.com/cloud/confluence/cql-fields/).

Is this the expected behavior? Or is there any other way to filter results by date-time.


Answers:
author: Rambabu Patina _Appfire_
body: Hi [@Shreeniwas Sovani](/t5/user/viewprofilepage/user-id/1787505),

Does the provided search API return any results?

The supported content types for the field [type](https://developer.atlassian.com/server/confluence/cql-field-reference/#type) is:

* page
* blogpost
* comment
* attachment

> Note: An advanced search (CQL) allows you to use structured queries to search for **content** in Confluence

I think for your requirement you can use ***/search?cql=(space.type=global and lastModified \> "2018-08-06 10:10")***to retrieve the list of contents which is modified after the specified time. Please try it and let us know how it goes.

Thanks,  
Ram.

comments: author: Shreeniwas Sovani
body: Hi [@Rambabu Patina _Appfire_](/t5/user/viewprofilepage/user-id/1168698),

We do get the spaces in the result with the cql query mentioned in the question. The only problem is that the results are not filtered by date-time value provided in query and they are filtered by only date.

The same behavior I've observed for page and blogpost objects as well.

The query that you have suggested to use gives me all space contents(pages,blogposts) and not just the spaces. Also the results are not filtered by date-time value provided.


Tags: cloud

confluence-cloud
How to expand the children of a clicked page on the sidebar tree?
Asked by Frank Boisvert:

When someone clicks a page in the tree in my sidebar, i'd like that page to expand (in the tree) and show that pages children. So far I can't figure that out. I know how to do pagetree:startDepth=2, but nothing else i've found seems to offer that function.


Answers:
author: Frank Boisvert
body: Appanrelty this is the default functionality of the page tree... if you don't have startDepth on, which I did. Got it sorted out.

Would be nice if we could have both.
How can you specify the sections of a page to use with Content Zone macro?
Asked by Brian Schussler:

I added the TOC Zone Macro to my page, but I don't see any way to select the sections of the page to build the TOC from.  

The official document pages doesn't explain to how to select page sections, nor is there any GUI from the macro to select the page sections  

Below is the structure of my page and how I'd like it to look.

Note: there is no common text in any of the Heading or subheadings that can act as a filter or perform any kind of match.

<br />

Thanks in advance for any assistance.  

<br />

Heading 1  

\<Want TOC for heading 1 items here\>  

Subheading 1.1  
Sub heading 1.1 one paragraph(s)  
Subheading 1.2  
Sub heading 1.2 one paragraph(s)  
Subheading 1.3  
Sub heading 1.3 one paragraph(s)  
Subheading 1.4  
Sub heading 1.4 one paragraph(s)  

<br />

Heading 2  

\<Want TOC for heading 2 items here\>  

Subheading 2.1  
Sub heading 1.1 one paragraph(s)  
Subheading 2.2  
Sub heading 2.2 one paragraph(s)  
Subheading 2.3  
Sub heading 1.3 one paragraph(s)  
Subheading 2.4  
Sub heading 2.4 one paragraph(s)  


Answers:
author: Brian Schussler
body: The macro document page is completely misleading. It says your can "mark out a section (zone) within the page from which to create a table of contents".

How it really works is to copy your content into the macro and delete it from its original location. There is no way to "mark" existing content.
How do I programatically get the content of a page?
Asked by Brian Sung:

I'm trying to create a user macro that will search a page's contents and replace certain keywords with whatever is passed into the body of the user macro. Figured I would need to be able to parse the page's contents, but I'm not sure how this is done. Any help would be appreciated!


Answers:
author: Bill Bailey
body: You may be able to try $content which gains you access to [ContentEntityObject](https://docs.atlassian.com/atlassian-confluence/6.6.0/index.html?com/atlassian/confluence/core/ContentEntityObject.html), so something like this may work.

    $content.https://docs.atlassian.com/atlassian-confluence/6.6.0/com/atlassian/confluence/core/ContentEntityObject.html#getContainerContent--()

The other method that might be easier is to just wrap all the content you want search with your macro, that basically all of the content is accessible via $body. Then you are free do all your substitutions and render as you see fit.

comments: author: Brian Sung
body: Thank you Bill, this is exactly what I needed!


Tags: atl-adm
Upgraded to version Jira (7.12.3) and JIRA Service Desk Application v3.15.3 - Confluence
Asked by Louise Suggs:

Upgraded to version Jira (7.12.3) and JIRA Service Desk Application v3.15.3 now our connection to Confluence is no longer working.


Answers:
author: Shannon S
body: Hi Louise,

Can you let us know which problems you're experiencing with your connection to Confluence?

Have you seen any error messages? If so, can you share those with us?

What do your Confluence and Jira server logs say when you try to access the other via the connection?

Regards,

Shannon

comments: author: Louise Suggs
body: java.lang.IllegalArgumentException: Illegal character in scheme name at index 0:


author: Shannon S
body: Hi Louise,

I don't believe that's message is related to the issue.

We're going to need more information in order to help you troubleshoot the issue.

1. Can you please explain all the issues you're currently experiencing that lead you to know that the connection isn't working?
2. When you go to Application Links in Jira, what do you see regarding the Confluence instance? Same question for Confluence, what do you see in Application Links regarding Jira?
3. For your error messages in your logs, we need the full stack trace, starting with the error message and ending with the line that says "caused by". You can tail both logs and trigger the error you're experiencing, and you should have the full set of messages that are causing the issue.
4. If you can also tell us which steps you took to upgrade Jira, it will help.
5. Finally, can you tell us, is Jira and Confluence on separate servers, or the same server?

Regards,

Shannon


author: Louise Suggs
body: That is the exact error that appears under "Network Error":

Network error {#toc-hId-1846123095}
-----------------------------------

We couldn't connect to Knowledge Base at h_______________. This might have been caused by a network error or another configuration error.

    java.lang.IllegalArgumentException: Illegal character in scheme name at index 0:  https:



author: Shannon S
body: Hi Louise,

Understood. However, that message is a bit vague and it doesn't really give us an idea of what the problem is.

As soon as you've had a chance to review the rest of the information I requested, please feel free to share it, and we can continue from there! Thank you for your help.

Regards,

Shannon


Tags: confluence-server

jira

jira-service-desk

server
Best tool/practice for documenting UI specifications/requirements?
Asked by JACOB STAMM:

I'd like to document the various form fields for a page in an application onto a Confluence page --- things like the field name, its ID attribute, validation rules, etc. This is easy enough to do in a simple table, but I'd also like to document more complicated things, like the conditions under when certain fields are hidden/shown.

For example, perhaps a Zip Code field only appears or is only required if the Country field further up the page has the value "USA" selected.

What is the best way for modeling UI/UX requirements like this in Confluence?


Answers:
author: JACOB STAMM
body: Anyone have any insight? I'm sure I'm far from the first person looking to document form validation rules and user flow in Confluence.

comments: author: Michelle Rau HP
body: I realize this thread is old, but I have some questions about this too. I do have a few ideas but I'm sure you've found something Jacob.


Tags: user-interface
How do I invite more people to my space?
Asked by Steven Poling Jr.:

It says to type their name, but nothing auto populates and it won't accept an email address...


Answers:
author: Shannon S
body: Steven,

Are you trying to invite the users to join your Cloud instance, or are you trying to share a Space with them?

Are they existing users already on the instance? Can you show me where you are doing this exactly?

Regards,

Shannon

comments: author: Steven Poling Jr.
body: I"m using the free trial version right now. Maybe it's not supported? Basically, I can't figure out any way to invite more people to my group.

For my immediate needs, I'm really only trying to invite a couple more people to the group.


author: Shannon S
body: Steven,

There's not a difference between the trial version and the paid version. The only thing is that you have a period of time where you don't have to pay yet while you test it out.

So, you're trying to add users to groups? Are they already on the instance itself? Are you able to send us any screenshots so we can see what you're trying to do exactly?

Regards,

Shannon


author: Steven Poling Jr.
body: When I click share, it asks me to type an email address. No matter what I type, it says "No Matches found" and won't let me send an email invitation even if I type out the full email address.


author: Shannon S
body: Steven,

[Is this what you're trying to do?](https://confluence.atlassian.com/confcloud/share-a-page-or-blog-post-724765345.html)

I ask, because earlier you said you were trying to invite users and later you also mentioned adding users to groups.

These are three separate actions. Please clarify with us exactly what you need to do. Providing a screenshot will help.

If you need to share a page, once you start typing it checks the database against your existing licensed Confluence users. If it doesn't match then you can still type in an email address.

However, if the page you're trying to share isn't public then the person you're sharing with won't be able to view the page. That's just something to keep in mind.

If you continue to have issues please feel free to [contact support](https://support.atlassian.com/contact) and they can help you out.

Regards,

Shannon


Tags: cloud

confluence-cloud
The three kb articles I just created dont show in the search results
Asked by Daren Chung:

I moved a Confluence Knowledge space under my company's Customer Support Space. I then created three new how-to articles complete with tags. From the Knowledge space, I can locate the articles by tag, but when I search for the articles using similar terms in the articles. not one of them shows in the search results. What am I doing wrong?


Answers:
author: Daren Chung
body: The problem was that the search was restricted to a specific space key that my articles were not created under. Editing the search button on the KB home page and changing the "Restrict to this space key" value to the space key in which the articles are located and saving fixed the problem. Now it is not restricted and finds my articles. Note: Restricting the articles to the space key in which the articles are created will help isolate articles only found in that space as will restricting it to specific tags such as "kb-how-to-article".


author: Bharath Kumar Kappala
body: Hi Daren,

Check and see if you have made any page restriction on the new 3 pages that you created, if yes then remove all the restriction and you will be able to see them in the search results on the service desk portal.

Thanks

Bharath

comments: author: Daren Chung
body: Just so I am doing this right and as expected, where would one look for this? I did not note any restrictions on the page, when viewing the page information and the restrictions. That said, I am only making these available internally and not for my Service Desk yet.
In Confluence page, insert Jira issue only works when displayed as table
Asked by Diego de Antonio - IST:

Hello,

In a Confluence page, when inserting a Jira Issue/Filter macro, if the display option is

"Display as Single Issue" after saving it will display the error

"Error Rendering macro 'jira'

- Application link with Jira is working without any problems in both ways.

- Preview mode works! (If instead of saving you preview the macro works fine)

- Selecting the display option "Display as table" also works (both in preview and saved).

Any ideas as to what may be causing this?

Confluence 6.12.0

Jira 7.12.1


Answers:
author: Brant Schroeder
body: We have the same versions of JIRA \& Confluence and I can not recreate the issue. What are your logs producing when the error occurs?

comments: author: AlfonsoP
body: Thank you Brant, we found out the issue has to do with the migration from Confluence Cloud version. If we delete the macro and create it again it works. To solve the problem will create again the macros for all documents. We were hoping to find a better solution, but this work around is good enough for us.


Tags: macro
Remote Custom Backup Path
Asked by Matthias Flesch?tz:

Hi there,

I've activated the custom backup path feature.  
I also let the confluence service run as a domain user with rights as a service and full rights on the local confluence home dir.

I wanted to put a UNC path of a remote storage (\\\\1.2.3.4\\backup_share\\backup_confluence\\ as a custom backup path, but confluence always brings up "can not be found".

Is there no way to directly backup on a remote server?

Thanks,  
Matthias


Answers:
author: JP _AC Bielefeld Leader_
body: Hi Matthias,

not sure, but you might want to check the Windows user rights (not directory or file rights).

JP

comments: author: Matthias Flesch?tz
body: Doh! Just forgot to give these share access rights to the service user :-/


author: Bobby Scharmann
body: I had this same issue and specifically I had to go to the services and look at the account used to execute the service and make sure that user had read/write access to said folder.


Tags: backup

confluence-server

server