youngmon/atlassian-qna huggingface dataset:
PostgreSQL versioncomment update
Asked by Petr Spiller:

Hi,

I'm in desperate need of retaining attachment comment when uploading a new attachment version. I'm brave enough to mess with the database so I went to *content* table, changed the *versioncomment* value of the new inserted row and much to my despair the change was not propagated to the client. Moreover, the original attachment comment was back once I uploaded a new attachment version from the client. Any tips how to change the version commemt outside the client?

Edit: I suppose there is some kind of caching involved. It took about an hour to show the changed comment in client. Is there a way around this?

Edit2: I have found the Content cache needs to be flushed. I have set the cache size to 1 item and now it seems to be working. However, I'm not sure if there are some unforeseen consequences when limiting the content cache in such manner.

Petr


Answers:
author: Nic Brough -Adaptavist-
body: Do not alter the database directly. As you say, there are caching issues, but it's not just the cache you need to worry about, and data may be written back destroying your change. Your cache change may also cause problems, although it won't corrupt data.

If you insist on doing this with SQL, then you must have Confluence shut down when you do it.

A better option would be to write an add-on that can support your changes. I would lean towards a Script Runner REST endpoint though.


Tags: attachment

sql
Creating Jira issues in confluence with mandatory fields
Asked by Juan du Toit:

Good Day,

I read an answer here: <https://community.atlassian.com/t5/Confluence-questions/How-can-I-create-Multiple-Jira-issues-from-a-table-in-Confluence/qaq-p/250092>

But I would like to know where I can see what fields are not supported when creating issues from Confluence.

Fields I made mandatory upon creation is: Epic Link and Team (From JIRA Portfolio)

These fields do not appear when creating issues from Confluence. Is there a workaround without any dev involved?

JIRA v7.3.2

Confluence v6.0.2

Kind Regards,

Juan


Answers:
author: Yulia Ploshevsky
body: Hi, I'm interested to find a solution for that as well


author: Sevgi Cakmak
body: Any updates on this?


Tags: server
Confluence LOGs me out although timeout set to 4500 minutes
Asked by mlevy5722:

I am trying to get teh confleunce timeout as big as 3 days for any session.

It is NOT working..... not suer why....

I did change the timeout # in file:

/opt/atlassian/confluence/conf/web.xml

to:

-----------------------

\<!-- You can set the default session timeout (in minutes) for all newly --\>  
\<session-timeout\>4500\</session-timeout\>

-----------------------

I did stop the confleucne BEFORE the change

and I did re-start it after the change was made.

So now my sesssion should be on fro at lest 3 days or so.

BUT I move away from my laptop for about few mn, not sure exacyly how long, could be 3 or 5 mn, then when I come back, click on 1 link and then confluence rediercts me to the LOGIN page.

What the H...k should I do to get this timeout REAALLY extended???

Any other place where this timeout has to be changed?

THANK YOU!!!


Answers:
author: Reinhard Piltz
body: The entry is made in the ... /confluence/ WEB_INF/ web.xml in the system directory.

Your web.xml is not the right one

\<session-config\>  
\<session-timeout\>4500\</session-timeout\>  
\<tracking-mode\>COOKIE\</tracking-mode\>  
\</session-config\>

comments: author: Reinhard Piltz
body: The default entry is:  
\<Session-timeout\>60\</ session-timeout\>


author: mlevy5722
body: Thank you very much for the answer.

This is exactly what the pronlem was.

Just not sure what the other timeout is for?....


Tags: timeout

web.xml
change the maximum heap for Synchrony
Asked by ????? ???????:

Where do you want to insert the ' synchrony memory max ' option?


Answers:
author: Reinhard Piltz
body: <https://confluence.atlassian.com/doc/configuring-system-properties-168002854.html>  

comments: author: Reinhard Piltz
body: synchrony.memory.max


author: ????? ???????
body: I read manual before asking a question. Catalina_opt passes parameters to JVM. Java doesn't understand this option. Confluence not working, I've tried different options for setting the option, the answer is always "Unrecognized VM option".


author: Reinhard Piltz
body: Hi Vadim Drosdov,

Is your Confluence application server based on Linux or Windows?  
If Windows is based, is the service or .bat file started?  
If the service is, see Setting Properties for Windows Services via Command Line. (Point 4)  
Set the entry: -Dsynchrony.memory.max=2g

Start on Windows with bat file  
The following entry in the setenv.bat

set CATALINA_OPTS=-Dsynchrony.memory.max=2g %CATALINA_OPTS%


author: Reinhard Piltz
body: If Linux is based:  
The following entry in the setenv.sh

CATALINA_OPTS="-Dsynchrony.memory.max=2g ${CATALINA_OPTS}"
Restricted Publishing
Asked by Stephanie Robichaud:

I am looking for a way to manage a group in a specific way. I would like my group to review a set of documents and to submit a review. I'm looking to have them write their reviews in the same table (so at the end, everything is already compiled) but am trying to come up with a way in which they will not be able to see other reviews that were input. I feel like if I could give people permission to edit but not publish this should accomplish that but I do not see that as an option in permissions.

If there is a way to do this could someone walk me through the process?


Answers:
author: Boris Berenberg - Atlas Authority
body: I would create a space they all have access to. Then create sub pages for each user, and restrict it so only you and them can see it. Then create a Template for the space that they can all use for reports.

comments: author: Davin Studer
body: To add to that ... using the page properties macro on the individual user pages and the page properties report macro on another page you could roll all the reviews up into one table.
View Page in middle of workflow
Asked by Alexander levy:

Hello,

I have certain documents that when updated, go through an approval workflow. However, while the document is going through the approval workflow process, I would also like the document visible (before the changes were made). how is this possible?


Answers:
author: Aron Gombas _Midori_
body: I think you can do that with Comala Publishing and using two spaces.

So keep maintain the content in a secure space and use the approvals and workflows in this space, and then publish the changes to another space that is configured as visible for a wider set of users.


author: Alexander levy
body: Hi, I am using comala workflows...


author: Steven F Behnke
body: Can you indicate what plugin you use for workflow? Your question should be tagged with that plugin so you can hopefully be supported.
Confluence for Requirements
Asked by aadams:

I'm evaluating requirements tools for possible purchase, and Confluence is one I'm looking into.

Confluence is one I'm considering. Here are our needs. How does Confluence fit with them?

**Identifier**

Each requirement must have a unique identifier.

**Single Database**

Multiple (all?) requirements kept in a single database.

**Relationships Between Requirements**

Many-to-many relationships between requirements

**Requirements Traceability Matrix**

Able to generate an RTM, both top-down and bottom-up

**Types of Requirements**

Supports defining varying classes of requirement (i.e. Enterprise, System, Operational, Interface) with varying fields for each class (i.e. ID, Name, Description, Notes)

**Reporting Capability**

* Standard Reports (customizable)
* RTM reports
* SQL support (including hierarchical queries)

**Workflow**

There should be a capability to establish a workflow for generation and approval of requirements.

**Baselining**

There should be the capability to baseline requirements -- for instance, tag a set of requirements as being for a specific release.

**Rollback**

There should be a capability to roll back requirements.


Answers:
author: aadams
body: Thanks to you both.

Looks like our customer will be providing us with a Jira installation next week (for certain values of "next week") so I'll be able to explore it.


author: Thomas Schlegel
body: Yes, as [@Davin Studer](/t5/user/viewprofilepage/user-id/781467) said, this is definitely a description of Jira. Most of your requirements can be fulfilled with Jira.


author: Davin Studer
body: Based on your description above it sounds more like what you want is JIRA rather than Confluence. Or possibly Jira + Confluence. JIRA is Atlassian project/ticket/issue management system and can do what you are asking above. Confluence is their documentation platform. Since they are both made by Atlassian they work very well together and can actually talk to each other. So, you could create a Confluence page and list your requirements and create JIRA issues for each requirement. The confluence page will have links directly to the JIRA issues (requirements) and as the issues as worked the Confluence page automatically updates to reflect the changes in JIRA.


Tags: requirement
Why different software version of confluence for 2 different subscriptions?
Asked by Francesca Bugli:

hi,

I'd like to understand how the version of confluence is updated for a cloud licence.

is there a way a client can chose to stay with an old version or it updates automatically?

Actually i have access to different confluence sites and the software version are drammatically different.

thanks

Regards

Francesca


Answers:
author: Davin Studer
body: The cloud version is hosted by Atlassian and is updated by them. As such it is also a bit more limited in what it can do. For instance, most of the add-ons in the market are not available for the cloud version. Also some more advanced features such as user macros, custom HTML, custom CSS, etc. are not available. The pricing model here is a subscription fee per month.

The software version is hosted by the customer on your server(s). It would be hard for them to have a subscription fee for the product that is on your own servers, so instead for this, there is just a flat fee and annual maintenance fee. Also, you have access to all the advanced feature that I mentioned above that are unavailable in the cloud version. This version is updated on your own update schedule.
#1 being appended to usernames in Confluence
Asked by Randy Erbacci:

We're using LDAP for authentication in Confluence 5.9.5. Recently when contacted by a user for not having his usual permission, I see that there are two accounts associated to his name in the user directory. One of his account appears to be his normal username and the other one is his normal username but is appended by a "#1". Any idea of how this happened and how to prevent it? BTW, I'm not an expert on LDAP. Thanks.


Answers:
author: mfabris
body: Hi Randy

I had this too in the past, without using LDAP. I am 99.9% sure the username with the "#1" appeared after two colleagues created the same identical username with the same identical email address.

Getting rid of it is also a pain, as you have to do it directly on the db. Especially if both "clone" users have been used to comment/create pages.

I suppose your user had the account created twice; or may be the user was already there before connecting to the LDAP directory, and after the connection it got duplicated. I suggest you to go to the audit log (admin/uaditlogging) and search by username, may be you get more info

I hope it helps

best

comments: author: Randy Erbacci
body: Hi Mirco, thanks for the info. I'll check the audit log to see if it provides more information.


author: Shannon S
body: Hi Randy,

This can happen if your Unique User ID Attribute isn't set correctly. You can find this under **General \> Users \& Security \> User Directories** . Open your LDAP setup and under **User Schema Settings**, you will find it.

Review [Connecting to an LDAP Directory](https://confluence.atlassian.com/conf59/connecting-to-an-ldap-directory-792499463.html):
> User Unique ID Attribute - The attribute used as a unique immutable identifier for user objects. This is used to track username changes and is optional. If this attribute is not set (or is set to an invalid value), user renames will not be detected --- they will be interpreted as a user deletion then a new user addition.
>
> This should normally point to a UUID value. Standards-compliant LDAP servers will implement this as 'entryUUID' according to RFC 4530. This setting exists because it is known under different names on some servers, e.g. 'objectGUID' in Microsoft Active Directory.

Let us know if you have any questions or trouble!

Kind Regards,  
Shannon

comments: author: Randy Erbacci
body: Hi Shannon, thanks for your reply. We are using the Microsoft Active Directory and I checked our Unique ID Attribute and it's set to 'objectGUID' so I think we're good there. I'll keep digging around it's only happened once (so far).

Thanks again.

-Randy


author: Shannon S
body: Thank you for letting me know, Randy!

Hoping you'll be able to find something to help you out with Mirco's information. :) If you find anything and need further help just let us know!

Kind Regards,  
Shannon
Comments auto-collapse in Confluence
Asked by Dmitry Antonov:

Is there a way to make Confluence page comments auto-collapsible like in JIRA? I mean not collapsed by default but to collapse older comments automatically, while latest remain visible.


Answers:
author: Shannon S
body: Hello Dmitry,

We have a feature request for this:

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

That is, to say, that comments in Confluence should act like they do in JIRA, as you have mentioned.

We have another feature, similar to your request regarding collapsing older comments, but I would still recommend following the first one I mentioned since it has more votes and views. Nonetheless, here is that more similar request:

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

Let us know if you have any questions about this.

Kind Regards,  
Shannon

comments: author: Ian
body: Hi [@Shannon S](/t5/user/viewprofilepage/user-id/510046) What is the status of auto-collapsing comments?


author: Shannon S
body: Hi Ian,

Any updates will be public on the cases I linked above. I see both are currently in "Gathering Interest". If you watch the cases, you will be emailed directly when there are any changes.

Thank you for your understanding!

Regards,

Shannon


Tags: comment
All pages disappear after reorder
Asked by Dave Gafni:

I'm the only user (so far) on an instance of Confluence. I reordered some of my pages to create a heirarchy. After doing so, all my pages disappeared from the Pages list.

Here are the pages in the Reorder Pages view:

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

And when I go to Pages, this is what I see:

![pages-list.png](/t5/image/serverpage/image-id/5701i2EF751E6E6931586/image-size/large?v=v2&px=999 "pages-list.png")


Answers:
author: Thomas Schlegel
body: Hi Dave,

your pages are not under the home page. This is "PM Integration" (you can see that from the icon).

Put your pages under the home page and you will see them again in your pages overview.

comments: author: Dave Gafni
body: Thanks Thomas. I didn't understand the 'home page' concept. I thought that's what the 'Overview' was.

I went ahead and did that, but now my 'Overview' template page is gone. I see everything that is listed under the home page, but when I click on Overview I get a blank page.

Not sure I understand the point of having an Overview as well as a Home Page. Still trying to get a handle on this beast! :)
TOC-Makro shows entries that do not exist on the page
Asked by Sabine Bamboschek-Keller:

I use the toc-makro on nearly every page in a big confluence space.  
Mostly it works as expected, but on several pages I get empty entries in the table of contents (at the end).  
I tried to create the page new, I tried to change headings to standard and back to heading and some more things - no effect.  
Does anybody have or had this problem and know a solution?  
Thanks in advance!


Answers:
author: Thomas Schlegel
body: Hi Sabine,

there must be a heading at the end of the page.

Maybe you have a blank line that is formatted as heading?

Please have a look at the storage format of the page. Is there anything unusual at the end of the page?

comments: author: Sabine Bamboschek-Keller
body: Hi Thomas, that was what I checked first. There is definitivly no blank line formatted as heading...  
And it concerns severeal pages that were created from different people.  
I\`m very confused about that - therefor I asked this question...


author: Thomas Schlegel
body: Do you have the [Confluence Source Editor App](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview) ?

With that app, you can view and edit the sources of your page directly. In some cases, this is very helpful, e.g. to find and repair problems.


author: Sabine Bamboschek-Keller
body: Sorry, I don\`t have the APP and unfortunately I work in an environment that doesn\`t allow to download APPs....


author: Thomas Schlegel
body: Another idea:

do you include excerpts from other pages?

Maybe there are headings in these included parts.


Tags: table-of-contents
How can I view my administrator page?
Asked by ando:

My Administrator's overview page is not working.

At the page, Page, blog, space tool functions are working fine, but after clicking overview icon, the page does not appear as below.

Please help me! how can I resolve this.?_

\*I am logging in as an administrator.

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


Answers:
author: Shannon S
body: Hello Ando,

I believe I am looking at the same page as you:

https://\<your-instance\>.atlassian.net/wiki/spaces/\~\<yourname\>/overview

I'm able to load the page itself, however. Are you able to edit the overview page and remove the content temporarily to see if it is perhaps being caused by a macro on that page?

Does this occur on all browsers or only certain ones?

Kind Regards,  
Shannon

comments: author: ando
body: Thank you for your help.

This only happens with my Chrome.

\>Are you able to edit the overview page?

No. After clicking edit button, a circle is rolling on the center of the browser and there is no responce.

![cie3.png](https://community.atlassian.com/t5/image/serverpage/image-id/5767iD47DA303296E1DAC/image-size/large?v=v2&px=999 "cie3.png")And as I posted previously, edit buttons on my confluence pages barely appears and I cannot them.

I would like to know the root cause of these issues. I am facing these after the new UI is released. It worsk fine with IE though.


author: Shannon S
body: Thank you!

I tested with Chrome and wasn't able to replicate with that, so can you have a look at the Network tab of Developer tools and let us know what shows up in red when you try to open or edit the page?

That will help us understand what is blocking you.

Additionally, can you confirm you do not have the same problem when logged in via an incognito window and with all add-ons disabled?

Kind Regards,  
Shannon


author: ando
body: Hi Shannon,

This is finally solved.

It turns out that the cause of the issue was my chrome plugin AdBlock 3.15.0. After reinstalling it to the upper version, there is no issue anymore.

Thank you very much for your help.

m(__)m

comments: author: Shannon S
body: Ando,

Thank you for confirming! Glad you were able to resolve. :)

Take care and have a pleasant week!  

Kind Regards,  
Shannon


Tags: administration
Projects not displayed while Creating jira issues from highlighting confluence text
Asked by Rilwan Ahmed:

I am using confluence 5.10.4 and jira software 7.2.7.

In the view page mode in confluenc;  
When selecting text on a page and clicking on Create JIRA Issue, the functionality does not work correctly and does not display proper projects in dropdown list after selecting JIRA instance.  
Also when selecting other JIRA instance, projects in dropdow list do not change and are static.

But in edit-page mode;  
When selecting JIRA instance in JIRA macro, projects in the list are displayed without issues


Answers:
author: AnnWorley
body: It sounds like you are running into this bug:

[Creating JIRA issues from Confluence is not updating the project list based on the selected JIRA instance selection](https://jira.atlassian.com/browse/CONFSERVER-44977)

The workaround .jar file attached to the ticket probably won't work with Confluence 5.10.x, but the browser workaround in the comments section may help until your team upgrades to a fixed version:
> 1) I use Chrome, not sure if it works same in other browsers.  
> 2) Get to the point where you select the JIRA instance. Select the one you want to work with.  
> 3) Press F5 (Refresh).   
> 4) The page refreshes.   
> 5) Reselect the text you want to create issues from.  
> 6) The correct JIRA instance is now the default and you can pick from projects on that instance.


Tags: jira
Link to heading doesn?t work anymore?
Asked by Juliana Corbellini:

Some weeks ago, if I clicked on a title of the content table, I used to get a complete url with the head title inclueded, now I just get the ulr of the page. Did it change?


Answers:
author: Juliana Corbellini
body: Hi, Shannon.

Yes, clicking a link of a Table of Contents macro before used to give me an url as if I had an anchor. Did it change?

Thanks!

comments: author: Shannon S
body: Hi Juliana,

I'm testing this on my copy of Confluence which is the current version. I've created anchors on all the headings, and then inserted a Table of Contents macro at the top.

When I click on one of the links, it changes the URL to match the anchor that is already on the page. Is this the behavior you're referring to? It appears to still be accurate.

![Screen Shot 2017-09-07 at 3.02.38 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/5762i2709AC4FD9FD66BF/image-dimensions/472x359?v=v2 "Screen Shot 2017-09-07 at 3.02.38 PM.png")

Could you let me know what version of Confluence you were running before and after it occurred? Did you make any changes to the page?

Kind Regards,  
Shannon


author: Juliana Corbellini
body: Exactly, Shannon.

For me, it doesn?t worl. As you can see in the pic bellow, I?ve just clicked on "Status", from Table of Contents, I was redirected to the header, but the url didn?t change: ![link_head.png](https://community.atlassian.com/t5/image/serverpage/image-id/5765iAD1D27110A218B7D/image-size/large?v=v2&px=999 "link_head.png")

T


author: Juliana Corbellini
body: Thanks!


author: Shannon S
body: Hi Juliana,

Thank you for that. I see you are actually on Cloud and using the New Look, so this change is due to that and is expected.

The example I was showing you is how it works in Confluence Server which is a different platform now.

Can you let me know why you might require the URL to change when clicking on the anchor? Perhaps I can help with a workaround for that.

Kind Regards,  
Shannon


author: Juliana Corbellini
body: Hi, Shannon.

That?s the way I used to copy the url to create links (from address bar).

For new links, I can copy the url using "copy link" option of mouse right-click. It works.

The problem is that "old links", copied from the url address bar doesn?t work anymore. Any idea?

Thanks again.

Juliana


author: Shannon S
body: I do know the formatting has changed with the New Look, so this is likely why the old links aren't working.

Are you able to compare the old with the new and determine how the old ones should be reformatted?

Kind Regards,  
Shannon


author: Shannon S
body: Hi Juliana,

Can you clarify for us which features you're referring to? Are you clicking a link in a Table of Contents macro, or do you have Anchors set up?

If you have any screenshots of the problem you're able to share with us, please do.

Kind Regards,  
Shannon


Tags: link