youngmon/atlassian-qna huggingface dataset:
How to make a table in a template that is not static?
Asked by Many Romero:

I want to create a table that can add more rows, because they are not always the same amount of data that I want to fill


Answers:
author: Krisztian Kovacs
body: Hi [@Many Romero](/t5/user/viewprofilepage/user-id/2327623),

how would you control the number of rows of that template table?

I mean, even if you put a table into a confluence template, you can quickly add rows to it.

I guess it would be possible to create a custom user macro that adds a table with a set number of rows.

I'd say the way depends on the end goal. So how would you use this "dynamic table"?

comments: author: Many Romero
body: What I want is to make information templates about projects, each team will fill in some necessary fields and one of them is a table of the members of the team, the problem is that not all teams contain the same number of people.


author: Many Romero
body: [@Krisztian Kovacs](/t5/user/viewprofilepage/user-id/1144675)


author: Krisztian Kovacs
body: That sounds like a scripted solution to me. Though if you can live with it, you could just take the biggest team and put a table in the template that matches the number of people in it.

Otherwise you'd have to have some sort of script that (based on a team name) would create the table for you perhaps pre-populated with team member names and whatnot.

I wonder whether it would be worth the effort though.


Tags: table

template
Is it possible to show the space a task is in?
Asked by Jennifer Hemmens:

Last week, I gave a number of colleagues a general introductory demonstration of Confluence, which unsurprisingly resulted in some questions. One of these was "How can I see which space a task is in?"

Obviously it's possible to limit the task report to a particular space, label, person, et cetera. However, Confluence only uses the page title as the location, meaning you can't see what space that page is actually in.

This doesn't sound extremely problematic, however, I can understand why this would be an issue for my colleagues. We have a standardised set-up for our documentation, so each project space has a "Project plan" page. If a user happens to be working on more than one project simultaneously (this occurs quite often) and has tasks on the "Project plan" page in a number of spaces, they'd like to be able to see which space it concerns on their "Task report" in their personal spaces, or on their profile.

I've looked into it but can't find a simple solution, only workarounds (e.g. space-specific task reports in their personal spaces; changing our documentation set-up to have the project name before the page title, etc.).

Does anyone here know if this is possible?


Answers:
author: Shannon S
body: Hi Jennifer,

It is not possible to show the space a task is in. We previously had a feature request for this but it is closed since it is not in our upcoming roadmap:

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

You can still comment on the request to share your feedback and use case, and it will be seen by the development team.

Regards,

Shannon

comments: author: Jennifer Hemmens
body: I thought it mustn't be possible or I'd have found it already! Thanks for your reply and the link to the feature request.

I do always find the word choice interesting when it comes to issue statuses. I believe I've read an article before in which Atlassian explains its workflow (including statuses), but for those who haven't, using "resolved" when an issue is actually closed could cause confusion...


author: Shannon S
body: Hi Jennifer,

I had the same trouble myself in the past, but I believe in terms of development it's just a slightly different language, since it does seem to include issues that are also simply closed as **Won't Do**.

![Screen Shot 2018-12-06 at 6.07.57 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/39680iA255F1E0C662D307/image-dimensions/356x149?v=v2 "Screen Shot 2018-12-06 at 6.07.57 PM.png")

Regards,

Shannon


Tags: confluence-server

server

task

task-report-macro
Searching in Confluence
Asked by Vincent Demartin:

Hello  
When I use the confluence dynamic search plugins, I find the documents concerning my search criteria.  
If I click on a document, preview opens in the browser, but if I close the document, I do not come back to my search page, but in the confluence page where the document is.  
Is there a solution so that when I close the document, I come back to my search page?  
Thank you

Exemple :

1. Search on test ans click on the doc

![1. Search on test.jpg](/t5/image/serverpage/image-id/39189i522A6D2782EAFB83/image-size/large?v=v2&px=999 "1. Search on test.jpg")

2. Open and close the doc

![2. Click on the doc, open and close.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/39190i41CB063BC43EB823/image-size/large?v=v2&px=999 "2. Click on the doc, open and close.jpg")

3. I return in the page where is the doc but not in the search page

![3. I return in the page where is the doc but not in the search page.jpg](/t5/image/serverpage/image-id/39187i27C825A3DD6018C4/image-size/large?v=v2&px=999 "3. I return in the page where is the doc but not in the search page.jpg")


Answers:
author: Henning van Ackeren
body: Hi, when clicking on an attachment (e.g. a pdf) in the search results, Confluence implicitly navigates first to the page that contains the pdf as attachment and then, in a second step, opens the pdf in preview. When you close the pdf preview, it's still on the containing page. Clicking the back button then in your browser, brings you back to the preview which I find weird.

To avoid that, don't click the preview to close, but just press the back button of your browser, that should bring you directly to the search results.

comments: author: Vincent Demartin
body: Hello Henning,

Yes, it is a solution but not for a lambda user.  
When he closes document he should go back to where he did his search ...  
Especially that here, documents are in another space. The user is lost in his navigation.


author: Henning van Ackeren
body: I agree, and have no other workaround, sorry.


Tags: confluence-server

search

server
Installation Error
Asked by SeungKi Min:

Followings are error messages while I am installing

Cause

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)


Answers:
author: Yogesh Mude
body: HI [@SeungKi Min](/t5/user/viewprofilepage/user-id/2376952)

Welcome to the community!

Could you please have a look at the below KB.

<https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html>

comments: author: SeungKi Min
body: This KB is very useful in this case.

Thank Yogesh.


author: Ralf Thmas
body: this is bullshit. I installed an Confluence that error i got.

Than i reinstalled. Now the Same. But Yesterday everything was working
How to display child macro in 2 column
Asked by Bah026:

I would like to display the list of childs on the first page, but it's a long list, so I want to display them in 2 column


Answers:
author: Krisztian Kovacs
body: HI [@Bah026](/t5/user/viewprofilepage/user-id/1178667),

unfortunately the workaround is quite manual.

If you divide your children display into 2 or more groups you can have two or more macros displaying children of specific lower level pages, if that makes sense.

Alternatively you can add a CSS macro (if you have the scriptrunner addon) or alter the source code of the page (addon) and then you can do some fancy CSS for what the macro renders on the page (this would require a bit of searching around in the developer console to find the proper classes or IDs to reference in your css).

Let me know if any of these ideas look good.

comments: author: Bah026
body: Hi [@Krisztian Kovacs](/t5/user/viewprofilepage/user-id/1144675)Krisz

"Dividing your children to 2 group" what do you mean by that?


author: Krisztian Kovacs
body: I'd identify the child pages of my page (hopefully not more than 4-6 and then show their children. So I'd have 4-6 children display macros for the "main children" pages of my page.

Does that make sense?


author: Bah026
body: Actually, I create a 2 column section each contain children display macro.

With the first one, I can limit the macro to show only the first 4, how I can enforce the Children display macro on the second section to start the children from 5 and above?


author: Krisztian Kovacs
body: That's why I didn't recommend that. You can't (as far as I know).


Tags: confluence-server

server
Can we set the start date and end date to the bars in roadmap??
Asked by Suraj Borge:

I wanted to set the dates to the bars in roadmap so that if in future any date changes then i should not be able to change the roadmap manually but i should be able to just change the dates so that it would get reflected in road map.


Answers:
author: Krisztian Kovacs
body: Hi [@Suraj Borge](/t5/user/viewprofilepage/user-id/2216042),

I'm not sure that's possible. The roadmap macro is quite basic. You might want to look into Big Picture or Portfolio for more robust solutions.

Have you considered those 2 addons? Mind you, they are for Jira mainly as they expect tasks to track progress and time tracking.

comments: author: Suraj Borge
body: Thank You so much
Import a word document gives Error rendering macro 'viewdoc'
Asked by alex:

**Error rendering macro 'viewdoc'**

java.lang.RuntimeException: java.lang.StringIndexOutOfBoundsException: String index out of range: -3

File size is 1036kb, tried both .docx and doc, without success.


Answers:
author: roman
body: Hi [@alex](/t5/user/viewprofilepage/user-id/1144184),

it seems like this is a bug in Confluence with no known workarounds: <https://jira.atlassian.com/browse/CONFSERVER-51645>.

I would suggest adding a comment to the issue above to state your impact on users and workflow while adding the Confluence version you are using.

If you are experiencing this behavior with a handful of Word files, the best approach would be to copy and paste the content into a newly created page to format it manually.

Roman.


Tags: confluence-server

server
confluence unexpected shutdown
Asked by zhangzb:

logs output:

Exception in thread "scheduler_QuartzSchedulerThread" Exception in thread "I/O dispatcher 11" Exception in thread "HttpClient@2115850195-scheduler" 27-Nov-2018 10:14:30.246 WARNING \[ContainerBackgroundProcessor\[StandardEngine\[Standalone\]\]\] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread \[http-nio-8090-exec-34\] (id=\[12900\]) has been active for \[123,810\] milliseconds (since \[11/27/18 10:09 AM\]) to serve the same request for \[<https://docs.homeking365.com/>\] and may be stuck (configured threshold for this StuckThreadDetectionValve is \[60\] seconds). There is/are \[6\] thread(s) in total that are monitored by this Valve and may be stuck. java.lang.Throwable


Answers:
author: Alex Medved _ConfiForms_
body: Looks like your pool for request threads is all occupied serving the requests that are stuck trying to access "<https://docs.homeking365.com/>"

You need to troubleshoot the cause - I suppose you have some plugin that attempts to do synchronous requests to this site... without proper timeouts and gets stuck

comments: author: zhangzb
body: We couldn't find out the reason of the pool for request threads was all occupied...


author: zhangzb
body: This situation has occurred several times recently.


Tags: confluence-server

server
Files in the content by labels macro do not open to view/edit
Asked by Steve Hastings:

Hi there,

Seeking help please good colleagues on the following. Using the Content by Label macro I have a great set of files populating the panel, shown below. BIG PROBLEM is that when I click on a file name it does not open the view/edit screen as it used to, it now opens a Save As box! If I click on the Files \> field it simply takes me back to the files list....wherein I have to scroll to search for the file name. Confluence is acknowledging this as a bug with no fix yet. I'm using Chrome. Has anyone else experienced this one and found a fix please ??? Many thanks, Steve

![file error.PNG](/t5/image/serverpage/image-id/39154i7B67BFD3CFDC5BC8/image-size/large?v=v2&px=999 "file error.PNG")


Answers:
author: Shannon S
body: Hi Steve,

I wasn't able to find the bug you're referring to, but I found two feature requests regarding this. I'm placing these here in case other users have the same issue. This way they can vote on it and we can make sure the requests are seen:

* [CONFCLOUD-57851](https://jira.atlassian.com/browse/CONFCLOUD-57851) *Preview Attachments When Using Content by Label Macro*
* [CONFCLOUD-64381](https://jira.atlassian.com/browse/CONFCLOUD-64381) *Preview attachment instead of download by default*

It seems that this is expected behavior, but please feel free to share the source of the bug ticket that you were able to find as well.

I personally am not aware of any workarounds, so fingers crossed that someone else has encountered this before and was able to work around it. I'll keep an eye out on this thread as well.

Thanks again for your help!

Regards,

Shannon

comments: author: Steve Hastings
body: Thank you Shannon for your great help! Much appreciated. Steve


author: Shannon S
body: Anytime, Steve!

Take care,

Shannon


Tags: cloud

confluence-cloud

content-by-label
My links keep disappearing
Asked by Chris Fuller:

I have a blank page that has a table in it. I've tried a number of times to insert a link to an external system in on of the table cells. I check that it is OK in edit mode, but once I publish the page my link address disappears...can anyone provide me details as to why this might be happening??


Answers:
author: Shannon S
body: Hi Chris,

Could you share with us the format of the link that you're inserting that is disappearing?

Shannon

comments: author: Chris Fuller
body: Hi Shannon  

It seems to be working again today...it may have just been a network glitch, as I was adding links to external systems...and apparently we had proxy network issues yesterday

Thanks for taking the time to respond

Cheers  
Chris


author: Shannon S
body: Hi Chris,

Thank you for letting me know! Happy it seems to be resolved for you.

Take care,

Shannon


Tags: cloud

confluence-cloud
Could not retrieve public key for real-time collaboration service at http://localhost:8091/synchron
Asked by rizwan azhar:

Hi Guys,

Confluence editing is not working, I am seeing below error in logs.

**Could not retrieve public key for real-time collaboration service at http://localhost:8091/synchrony/jwt-key with exception: Connect to localhost:8091 \[localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1\] failed: Connection refused: connect**


Answers:
author: refalm1
body: Try this on for size:

<https://confluence.atlassian.com/confkb/confluence-cannot-connect-to-synchrony-due-to-error-validating-jwt-935899880.html>

comments: author: Alfredo Lagrosa
body: Your link does not work,

Looks like we're off the beaten track {#toc-hId--1179890006}
------------------------------------------------------------

They say that all roads, lead to Rome.?  
But we've lost our way, so let's try going home.

Head to our documentation homepage that does exist.


author: Priya Ayyadevara
body: Any update on this ?

we have the same error
backup and restore problem
Asked by ??:

Moving from a Confluence cloud to a Confluence server.  
space There was a problem while backing up and restoring.  
1. I backed up and recovered Key name "kuk" space, but "kuk" and "op" were restored together.  
2. I think. It seems to be recovered incorrectly. I am trying to delete confluence server's "kuk" and "op" space but it will not be deleted.  
What can I do?


Answers:
author: ??
body: Maybe I think my problem is related this

CONFSERVER-52755


Tags: confluence-server

server
Confluence Data Center AWS Quickstart BastionAutoScalingGroup failed
Asked by George Lewe (Lewe):

Hi there,

I am trying to deploy Confluence Data Center using AWS Quickstart with Atlassian's template, following this guide:

[Confluence Data Center on AWS](https://aws.amazon.com/quickstart/architecture/confluence/)

I selected the option to deploy into a new VPC assuming that it does everything for me and spits out the URL at the end.

The resource deployments started fine. When it came to the LinuxBastionStack, the creation failed with the following error message:
> Embedded stack arn:aws:cloudformation:eu-central-1:547726283998:stack/Confluence-Data-Center-LinuxBastionStack-1DZIOFAAY0VV8/b99c69d0-f54e-11e8-8d76-50a68ae714c6 was not successfully created: The following resource(s) failed to create: \[BastionAutoScalingGroup\].

Is that something I can fix or is it an issue with the Atlassian template?

Best regards,  
George


Answers:
author: Adam Brokes
body: Hi [@George Lewe (Lewe)](/t5/user/viewprofilepage/user-id/176886),

Thank you for reaching out to Atlassian Community and raising this question. I have tested Confluence Quickstart on two separate AWS accounts and I was able to create full stack - VPC + Bastion + Confluence DC.

From your error message, it is not clear what caused **BastionAutoScalingGroup** to fail. Usually, when some AWS resource fails, there are several related error messages that are providing more details about what went wrong. Can you please have a look on the **Events** tab in **CloudFormation Console** for the failed stack and see if there are no additional details about what went wrong? If there is some other error code, can you please add it to this question?

If this is the only message that you can see, we might need to open a support case to help you further while not exposing any of your information on the forums.

You can always try to run the stack again and I recommend reviewing the Parameters sections if you have filled all the required parameters.

Please let me know how you go, we are here to help you move forward :)

--

Adam Brokes

DC Deployments team

comments: author: Phil
body: Hi Adam,   

We have hit the same Issue as described by George was there any solution? We are using the option "Deploy into a new ASI ". We created support case: [CA-1168342](https://getsupport.atlassian.com/servicedesk/customer/portal/35/CA-1168342)  

Best Regards,

Phil


Tags: aws

data-center

linux
Cannot Save page
Asked by yustiantenegar:

after installation, i cant save page, how to solved this problem,

i have read <https://community.atlassian.com/t5/Confluence-questions/Can-t-save-pages/qaq-p/710859>

but my db drive is not full.

![1.PNG](/t5/image/serverpage/image-id/39112iAB3A707D801892F8/image-dimensions/698x354?v=v2 "1.PNG")


Answers:
author: roman
body: Hi [@yustiantenegar](/t5/user/viewprofilepage/user-id/1124296),

this is not necessarily related to a drive being full.

As I can see from the screenshot, Synchrony is having problems saving changes (notice "Can't save changes" next to Publish button). I would suggest starting from this page on how to troubleshoot collaborative editing: <https://confluence.atlassian.com/doc/troubleshooting-collaborative-editing-858772087.html>.

If it doesn't help, a stack trace from the logs is necessary to investigate further.

Roman.
Upgrading to latest release
Asked by Marvin Perez:

Anytime I run my upgrade - I get a message that it completes successfully. splash page and login work find. But I cant access any of the data. I have followed the instructions on your page, but cant determine where the error is happening. ![error1.PNG](/t5/image/serverpage/image-id/39110i78486556A553B8BF/image-size/large?v=v2&px=999 "error1.PNG")


Answers:
author: Ismael Jimoh
body: Hi,

Your error may be related to [gzip compression](https://stackoverflow.com/questions/14039804/error-330-neterr-content-decoding-failed).

Before upgrade, can you check if confluence is compressing data?

I believe this could also be added to your server.xml file(not sure at the moment but give it a go).

If this fails, check your logs if any error is thrown in them.
How to use Confluence to document functionality of an existing product?
Asked by David Lines:

Hi All,

My company recently started using Jira/Confluence and I would like to use Confluence to document the functionality of an ***existing*** product. I would like to do this so our QA team can create a test plan, but also so the existing functionality is captured somewhere. If possible I'd like this to be an extensible document so that it can grow as the product grows. I don't need to link to stories in Jira (yet) since the product is already built. But I will when the product grows and changes.

Any suggestions?

Thanks in advance for your help.

-Dave


Answers:
author: Ismael Jimoh
body: Hi David,

From my experience we do the following:

1. A short summary of what the project is about
2. List out who are the stakeholders.
3. A more detailed description of what the project is about and justification of various decisions.
4. Add a screenshot of the workflow so people can refer to it for easy understanding of the business process.
5. List your schemes(optional but it is useful when you have a large JIRA instance with lots of shared schemes).
6. List any custom functions that happen in your project or issue's life-cyle or business process.

You could create a [confluence blueprint](https://confluence.atlassian.com/doc/blueprints-323982376.html) based on the above to use for documenting each of your projects and in future, users just need to select this blueprint when documenting a new project rather than worrying about how to document new projects.

Hope it helps.


Tags: cloud

confluence-cloud