youngmon/atlassian-qna huggingface dataset:
Comala Workflow: labeladded condition, NOT label
Asked by Marya Belanger:

Wondering if there's any way to say "do this when a label is added ++*unless*++ it's one of these labels: ..... "

Let's say I want to {set-message} when a label is added, unless it's label1, label2, or label3.

So I created a workflow parameter, @Excluded Labels@, that is pre-set to label1,label2,label3.

I've tried:

```
{trigger:labeladded | label =! @Excluded Labels@}

? ? {set-message}

? ??@label@ was added

? ? {set-message}

{trigger}
```

But that gives an error when I try to save, that ! can't be in a label name. I've also tried !"@Excluded Labels@" but same error.

I also tried:

```
{trigger:labeladded | @label@ =! @Excluded Labels@}

? ? {set-message}

? ??@label@ was added

? ? {set-message}

{trigger}
```

Trying to compare the value reference of the added label instead. That doesn't give an error but it seems to actually set @label@ equal to the values of @Excluded Labels@.

There must be some negation operator for the label field?


Answers:
author: James Conway
body: Hello [@Marya Belanger](/t5/user/viewprofilepage/user-id/4529218)

You can use the **haslabel** condition with the **labeladded** trigger, however this condition does not accept workflow parameters so you will need to specify the labels. For example:

```
{workflow:name=Example Workflow}
    {state:In Progress}
    {state}
    {state:Approved}
    {state}
    {trigger:labeladded|haslabel=apple,bacon,cheese}
        {set-message}
             the listed label - @label@ - was added
        {set-message}
    {trigger}
    {trigger:labeladded|haslabel=!apple,bacon,cheese}
        {set-message}
            @label@ was added, it is not listed
        {set-message}
    {trigger}
{workflow}
```

You can always contact our friendly Customer Success team at <https://support.comalatech.com> with any questions you have about Comala Document Management or any other Comalatech product.

All the best

James


Tags: comala

condition

confluence-server

label

parameter

server

workflow
WBS Gantt for Jira Share in Confuence Document
Asked by MattWarrillow:

Good Evening,

We have found the WBS Gantt plugin for Jira that works very nicely with Jira Cloud to produce Gantt charts for project managemet based off the Epics and Stories which looks to do everything we need from the Jira side of things.

We now need to be able to share or embedd the chart into a Confluence document that is shared with our client so they are able to get a living update of the state of the project without us having to manually update a Gantt chart application.

I have done some initial Googleing and have found that for self hosted you are able to build a "User Macro"

<https://ricksoft-support.atlassian.net/wiki/spaces/WGCE0914/pages/4037345295/Is+there+a+way+to+display+WBS+Gantt-Chart+for+Jira+on+the+Confluence+page>

However I have found out User Macros can only be installed on the self hosted confluence package.

I have looked into other ways of doing this and it is suggested to use an iFrame for other Gant charts but I cant seem to find a public sharing URL for the WBS Gantt in order to drop this in an iFrame for Confluence.

any help is much appreciated.

Thanks

Matt


Answers:
author: Gabriel Quadros
body: Hello, [@MattWarrillow](/t5/user/viewprofilepage/user-id/2116210)

Thank you for bringing this issue to our attention and creating this Community Question.

We have responded to you directly on the ticket you created in our support platform (WGC-2692).

If you need assistance with our plugins or have any other questions, please, contact us anytime at [**Ricksoft-Support.atlassian.net**](http://Ricksoft-Support.atlassian.net). I will be happy to help.

We wish you a great day!

Kind Regards,  
**Gabriel Quadros \| Support Engineer**   
**Ricksoft Support Team**


author: Fabian Lim
body: Hi [@MattWarrillow](/t5/user/viewprofilepage/user-id/2116210)

I would contact the vendor directly and see if they have options for you. Link: [https://marketplace.atlassian.com/apps/1211768/wbs-gantt-chart-for-jira?tab=support\&hosting=cloud](https://marketplace.atlassian.com/apps/1211768/wbs-gantt-chart-for-jira?tab=support&hosting=cloud)

Thanks


Tags: addon-jp.ricksoft.plugins.wbsgantt-for-jira

cloud

confluence-cloud

jira-cloud
Bad Confluence searchindex query performance
Asked by Marco:

We have a big problem with the performance of our confluence intranet system and suspect that the search index might be the cause:

We see search query times of \~1200ms for very simple search queries like "123" (/dosearchsite.action?cql=siteSearch \~ "123").  
The system is a 15.000 user data center instance with \~5 Mio Content Objects, hosted on AWS EC2 (three c5.4xlarge nodes, each Node with 8 Cores and 16 GB RAM)

We also host a second smaller confluence instance (extranet) that only contains around 175.000 objects (hosted in our own datacenter) und here, the search request times are much faster (200-300ms).

The problem ist that many functions and macros are internally based on search queries / CQL. And therefore, the slow search has a massive impact on the perceived performance of the entire environment so that a quite big amount of our pages that contain index based macros need 10s or more to load.

The question we are now asking ourselves is whether such long query times are actually "normal" for an instance of this size, or whether there must be another cause for this.

It would help us a lot if we could get some comparison values from the community (number ob content objects, mean query times) to be able to estimate how our server performs relative to others.

Or even hints / experience values, how search queries can be made faster?

Thanks,  
Marco


Answers:
author: Marco
body: Quick update:  
In the meantime, I received feedback from an admin of a nearly similar sized confluence (server) environment. There, the times for simple search queries like /dosearchsite.action?cql=siteSearch+\~+"123" are around **200ms** instead of **1200ms**.

Question: Is the search also that fast in your environments?

thanks, Marco


Tags: confluence-server

performance

server
How I can manage the Autosaving in Confluence?
Asked by Amedeo:

Good afternoon everyone,

I would like to know if I can modify the autosaving parameters for the pages created inside the Space where I'm admin.  
The problem is that sometimes I have to write down minutes of meeting that has a long duration (almost 4 hours) and it could be nice if the system automatically saved the page as a draft every X seconds.

Is it possible?

I saw that Confluence as a default "30 seconds" autosaving time; where the "draft version" are stored? I highlight this issue because unfortunately my PC went down during a meeting (while I was writing a minute) and I lost the page.

Is there a solution?

Thank you

Amedeo


Answers:
author: G subramanyam
body: Hi [@Amedeo](/t5/user/viewprofilepage/user-id/4620610) welcome to the Atlassian community.

From your point, "Confluence auto saves every 30 seconds", I believe the same setting can be adjusted if you have access to server.

As a site administrator, you can **set the time interval** at which drafts are saved as follows:

1. If you aren't already there, go to your Confluence Cloud site.

2. Select the settings wheel () in the top right corner to open site settings.

3. Select **Further Configuration** from the sidebar (under **Configuration**).

4. Select **Edit**.

5. Adjust the **Draft Save Interval** to meet your requirements.

6. Select **Save**.

comments: author: Amedeo
body: Good morning [@G subramanyam](/t5/user/viewprofilepage/user-id/3929184) ,

thank you for the answer.

I don't think I have the access to the server, maybe because our Confluence site is administrated by our Company.

As you can see I don't have the wheel in the top-right corner

![confluence.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/167708iA1EA97B669FA336A/image-size/large?v=v2&px=999 "confluence.PNG")

Is there the possibility to know where the draft copies are saved?

Thank you again,

Amedeo


Tags: confluence-server

server
CURL request to attach a file fails - curl: (26) read function returned funny value
Asked by atalwar:

Hi Team,

I'm trying to upload a file to a confluence using the following curl.

```
script {
response = sh(script: "curl -u 'xxxxx@xxxxxx:xxxxxxxxxx' -X POST -H 'X-Atlassian-Token: no-check' -F 'file=@${workspace}/1.txt' https://xxxxx.xxxxxx/wiki/rest/api/content/xxxxxx/child/attachment", returnStdout: true)
echo '=========================Response===================' + response
}
```

The file is placed in the Downloads directory on my laptop. I have changed the permission to 777, so accessing it shouldn't be a problem. However, the curl request seems to fail.

```
curl: (26) read function returned funny value


```

```
ERROR: script returned exit code 26
```


Answers:
author: Thomas Deiler
body: Dear [@atalwar](/t5/user/viewprofilepage/user-id/4616959) ,

have you tried, for debugging, to replace *${workspace}* with a hard-coded path?

BtW: The endpoint

```
https://xxxxx.xxxxxx/wiki/rest/api/content/xxxxxx/child/attachment
```

doesn't look like to fit for cloud (you tagged the question as 'cloud'). It should be

```
https://<name>.atlassian.net/rest/api/content/{id}/child/attachment
```

So long

Thomas


Tags: cloud

confluence-cloud
How to use more parameters in cf_search_formName?
Asked by MB:

Hi

Regarding cf_search_ parameter I found only one page: <https://wiki.vertuna.com/display/CONFIFORMS/Creating+links+to+filter+views+from+request+parameters+-+url>, but there is mentioned only one parameter.

How to combine more parameters from the form? Something like ...?cf_search_myForm=AAA:10\&BBB:myString

or

...?cf_search_myForm=AAA:10\&cf_search_myForm=BBB:myString

Thanks

Miroslav


Answers:
author: Alex Medved _ConfiForms_
body: Hi

You can have any [filtering](https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Filters) expression after your form's prefix

```
?cf_search_myForm=AAA:10 AND BBB:myString
```

Most probably URL encoding the parameter to conform with specs

```
?cf_search_myForm=AAA%3A10%20AND%20BBB%3AmyString
```

PS, you marked this question as "cloud".. but this will work ONLY for server/data center

(as mentioned on <https://wiki.vertuna.com/display/CONFIFORMS/Creating+links+to+filter+views+from+request+parameters+-+url>)

Alex


Tags: cloud

confiforms

confluence-cloud
typing in a specific username in search field gives several results in autocompletion
Asked by Selcuk Tayar:

There is a bug in our Confluence environment regarding the dashboard restriction. If you type in the full name in the search box, the result is given correctly for the corresponding user without several other similar users in the autocompletion. However if you use the same procedure by typing in the specific user name the autocompletion gives several full name results which have the similar first 5 digits of the user name.

Please find attached a screenshot for further visualization.

![Autocompletion Bug.png](/t5/image/serverpage/image-id/167601i32BCB53C2614EC99/image-dimensions/516x285?v=v2 "Autocompletion Bug.png")


Answers:
author: Kishan Sharma
body: Hi [@Selcuk Tayar](/t5/user/viewprofilepage/user-id/4613093) Welcome to the Atlassian Community!

As far as I know this is expected behavior ie if you type in few letters, the search options are populated with matching letters in the names (irrespective of first name/last name). But if you think its a bug, I would suggest [raising a support ticket with Atlassian Support](https://support.atlassian.com/contact/) who can help on this and suggest.

comments: author: Patrick Heidel
body: Hi Kishan i think you are right. The autocompletion is just suggesting that tere are name matchings. IE if you are searching after user ID 123456 you will get 123457 123458 123459 and so on. But the search is 123456 and not 7. Hope you dont get it wrong cause its really weird to explain.   

In my opinion Confluence should look after the input field 123456 and complete it with all characters matching and make suggestions like this 1234561, 1234562 and so on.  

If you agree that this could be a Bug. I would recommend to raise a support ticket via Atlassian Support, too.

Kindest regards

Patrick


author: Kishan Sharma
body: You are right Patrick, that is the case here and i think Atlassian support can give us better answer here or explain the reasoning behind it.


Tags: confluence-server

server
Embedding a comment
Asked by Jim Stewart:

It seems like the only way I can embed a new comment is at the bottom of the page. I see no obvious way to have one embedded directly next to the item I want to comment on as I would in, say, Word. What am I missing here?


Answers:
author: Nic Brough -Adaptavist-
body: Highlight the text you want to comment on, and then hover the cursor over it. You'll get one or more options to click on (depending on settings and apps - it's usually 2 when a Confluence is linked to a Jira).

The one option you should always get is "comment"

comments: author: Jim Stewart
body: Ha! Duh! Ok, thanks.


author: Nic Brough -Adaptavist-
body: No "duh!" - I think it's one of those functions that only seems obvious after you've had it pointed out to you or stumbled across it accidentally.


Tags: cloud

confluence-cloud

report
Database server to server migration
Asked by Dan Manson:

Has anyone migrated a SQL DB from one server to another without reinstalling Confluence? I've seen the [Migrating to Another Database](https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html) with "Step 4. Install Confluence (same version number) in a new location" a step that requires another server since the setup doesn't support two installations on the same machine.

I backed up and restored our SQL DB on another server, updated the clear text connection information in "C:\\Program Files\\Atlassian\\Application Data\\Confluence\\confluence.cfg.xml" Confluence returns error 500


Answers:
author: Dan Manson
body: It was connection data in the server.xml I needed to update the jwt.private.key, and jwt.public.key values.

see <https://jira.atlassian.com/browse/CONFSERVER-45657?src=confmacro>


author: Nic Brough -Adaptavist-
body: Error 500 just means it's not serving, which could be caused by a lot of things.

You'll need to read the application logs to find out what has gone wrong. It's almost always recorded in \<confluence home where the confluence.cfg.xml file is\>/log/atlassian-confluence.log


Tags: confluence-server

server
No longer to edit page after converting to new editing experience
Asked by Lynne Cochrane:

I converted a page I was editing that had numerous changes since the previous published version. Converted as per the Atlassian prompt and previewed to ensure was happy with outcome - everything looked fine. After conversion I was no longer able to edit and get the following message every time I try to do so - **We've lost our connection to you, so we've disabled editing to prevent any issues. You'll be able to edit once we reconnect. Trying to reconnect**

I have now lost around 3 days worth of work as I hadn't published my changes and am unable to either see the changes I made or edit the page to view the changes. I can edit other pages it's only this particular page with the issue manifesting immediately after I converted.

Has anyone had a similar issue ? How can I resolve in order to either edit my page or review the changes have been made since I last published ?


Answers:
author: Jack Brickey
body: I have not tried experienced this. Are others able to edit the page? Have you tried a different browser? Have you logged out and back in?


Tags: cloud

confluence-cloud

edit
After importing space to another instance, there is a problem with templates
Asked by ??????? ?????????:

Hey!  
We've moved space from one Confluence instance to another. There are many templates in this space, which, in turn, have a "Create from template" button inside.  
After importing the space into a new instance, the "Create from template" macro setting disappeared in all templates, that is, the "template name" field became empty.  
What is the cause of this problem, how can I fix it, and can I avoid it when exporting / importing spaces?

Confluence DC 7.13.![5678568965.png](https://community.atlassian.com/t5/image/serverpage/image-id/167596i0AF4132AE9EFBDDD/image-size/large?v=v2&px=999 "5678568965.png")


Answers:
author: ??????? ?????????
body: *** ** * ** ***


Tags: confluence-server

server

template
Will site XML import into the existing Confluence site rewrite/replace everything?
Asked by AppTech Team:

Hi,

I am tasked to decommission one Confluence site and move all 80 spaces to a different site.

Rather then exporting space by space, I want to try site export, but from the description it looks like it will overwrite everything in existing site, instead of merging these 2 sites together. Can someone confirm how this works?

Thank you

Pavel


Answers:
author: Radek Dost?l
body: It will overwrite everything in the destination instance, and if you want to import those 80 spaces right along to the existing ones, then you indeed need to do this one by one.

comments: author: Bill Bailey
body: Just seconding [@Radek Dost?l](/t5/user/viewprofilepage/user-id/715713) answer as being correct.


author: AppTech Team
body: Thanks both of you for the answer/confirmation.

//Pavel


Tags: confluence-server

export

merge

server
Confluence helm chart update
Asked by Stefan Furstenberg:

We've been running Confluence 7.13.0 on our EKS cluster very successfully, however, we'd like to upgrade to 7.14.1 to address CVE-2021-42574

[https://confluence.atlassian.com/security/multiple-products-security-advisory-unrendered-unicode-bidirectional-override-characters-cve-2021-42574-1086419475.html?subid=1541662415\&jobid=105251298\&utm_campaign=multiple-products-advisory_november-2021_EML-11738\&utm_medium=email\&utm_source=alert-email](https://confluence.atlassian.com/security/multiple-products-security-advisory-unrendered-unicode-bidirectional-override-characters-cve-2021-42574-1086419475.html?subid=1541662415&jobid=105251298&utm_campaign=multiple-products-advisory_november-2021_EML-11738&utm_medium=email&utm_source=alert-email)

I see that the [7.14.1-jdk11](https://hub.docker.com/layers/atlassian/confluence-server/7.14.1-jdk11/images/sha256-f31fdabea76b82dba09e3ccddcb02553fc6b8f2b61b4bdebcc278d94dc0fb454?context=explore) image is available, but the charts have not been updated yet. I can overwrite the version but would prefer to stick with the chart versions.

Any idea on when we can expect the helm charts to include the new version? The same goes for Jira.


Answers:
author: Daniel Eads
body: Hi [@Stefan Furstenberg](/t5/user/viewprofilepage/user-id/4619951) , welcome to the Community!

Confluence 7.14.1 is available as a docker image: [Confluence 7.14.1 on docker hub](https://hub.docker.com/layers/atlassian/confluence-server/7.14.1-jdk11/images/sha256-f31fdabea76b82dba09e3ccddcb02553fc6b8f2b61b4bdebcc278d94dc0fb454?context=explore)

Using the [product update guide](https://atlassian.github.io/data-center-helm-charts/userguide/upgrades/PRODUCTS_UPGRADE/) in the helm chart documentation, you can upgrade Confluence directly on the existing helm chart.

We are cutting a release of the helm charts to provision the latest images by default, but you can use the above instructions if you wish to upgrade before the new charts are ready.

Cheers,  
Daniel


Tags: confluence-server

cve-2021-42574

server
Cannot import data backup to Confluence server
Asked by IT-VTVcab:

Hi support team,

I re-installed old version 6.14.1 because server get some error. But I cannot import old data backup before.

**Environment 64bit:**

- Window server 2012 Enterprise

- DB SQL server 2012.

- Confluence 6.14.1 version and license (Confluence server standard)

- DB, App both installed in same server

- Java 1.7 version

**Installation:**

1. Clear old confluence home folder (Backup is done)

2. Create new an empty database.

3. Run confluence 6.14.1.exe as administrator privilege.

4. Select production option and enter license key.

5. Next step screen, connect to database

![wiki1.PNG](/t5/image/serverpage/image-id/167570i53310613DA417FC5/image-dimensions/353x293?v=v2 "wiki1.PNG")

6. Import data using Restore From Backup.

![wiki2.PNG](/t5/image/serverpage/image-id/167571iC0EB7E7131802B35/image-dimensions/379x136?v=v2 "wiki2.PNG")

Select backup zip file (backup from confluence system)

![wiki3.PNG](/t5/image/serverpage/image-id/167572i2A44E1B846384D1D/image-dimensions/399x186?v=v2 "wiki3.PNG")

System still importing... I don't know when it done?

![wiki4.PNG](/t5/image/serverpage/image-id/167573i633379BCC715A3AD/image-dimensions/281x165?v=v2 "wiki4.PNG")

I check atlassian-confluence.log file and got some error:

Parameters  
--------------------------  
caused by: java.lang.IllegalStateException: Cannot call sendError() after the response has been committed  
at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:456)

2021-11-02 16:48:20,733 ERROR \[http-nio-80-exec-1\] \[confluence.util.profiling.ProfilingSiteMeshFilter\] doFilter Application context has not been initialized:  
-- url: /bootstrap/selectsetupstep.action \| traceId: 7ceeda8b8188d603 \| userName: anonymous  
2021-11-02 16:48:20,733 WARN \[http-nio-80-exec-1\] \[confluence.impl.hibernate.ConfluenceHibernateTransactionManager\] doRollback Performing rollback. Transactions:  
-\>\[null\]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #544797612)  
-- url: /bootstrap/selectsetupstep.action \| traceId: 7ceeda8b8188d603 \| userName: anonymous  
2021-11-02 16:48:20,748 ERROR \[http-nio-80-exec-1\] \[atlassian.confluence.servlet.ConfluenceServletDispatcher\] sendError Could not execute action  
-- url: /bootstrap/selectsetupstep.action \| traceId: 7ceeda8b8188d603 \| userName: anonymous  
java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed  
at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:488)  
at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:138)  
at com.atlassian.confluence.web.filter.DebugFilter$LoggingResponseWrapper.sendRedirect(DebugFilter.java:125)


Answers:
author: Max
body: Hi,

Try to restore a backup using the built-in SQL Server tools, for example as described here <https://www.c-sharpcorner.com/UploadFile/8ea152/create-backup-and-restore-database-in-sql-server-2012/>

comments: author: IT-VTVcab
body: Your mean I just backup SQL without xml backup of confluence?


author: Max
body: Yes.


Tags: confluence-server

server