youngmon/atlassian-qna huggingface dataset:
How to edit existing ConfiForms Entry from URL?
Asked by Dan:

I know that I can pre-populate a ConfiForm from the URL like so:

```
//<my server>/display/<space>/<confluence page>?cf_name=<form>&cf_values=<field1>:<value1>;<field2>:<value2>
```

Is there a similar URL-driven way to pre-populate the form with an existing entry to edit it? In this example value1+value2 would be uniquely validated and guaranteed to return only one entry (or possibly no entries... in which case it would be nice to create a new one).

Thank you!


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Dan](/t5/user/viewprofilepage/user-id/5293201)

Using the same concept, but passing also the **id** of the record will make it an "edit"

Alex

comments: author: Dan
body: I see that I can "edit" an entry by the following:

1. Send the id to the form in my url using something like "cf_values=IDtoUpdate:\<my entry id\>".
2. This prepopulates my IDtoUpdate field
3. Using a "set value" rule I set the "id" value: "id=\[entry.IDtoUpdate\]".
4. This will turn my "Save" into an "Update". But is there a better way?

But my question was more about pre-populating my form with the previously saved info. Let's assume I don't know my previously saved ID. Would the optimal way to do this be via a "lookup and set value", against the same form?

1. Send my value1 and value2 to in the url: "cf_values=key1:value1;key2:value2
2. This prepopulates the key1 and key2 fields with my values
3. Use a "Lookup and set value" rule against the current form and page (by leaving the source form name and page field blank)
4. Lookup filter: key1:\[entry.key1\] AND key2:\[entry.key2\]
5. Set all my fields:
   1. most importantly: id=\[entry.id\]
   2. as well as all my other non-key fields. Essentially a lot of notes and comments about assets that I'm trying to track.
6. Now my form is prepopulated with previously saved info, and ready to make an edit/update instead of saving a new record?

This seems workable - but also hugely inefficient. I'm hoping there is a way to simply tell a form to prepopulate with an existing entry based upon my cf_name and cf_values fields rather than having to make all these steps?

Thanks for all your help. As always :)


author: Alex Medved _ConfiForms_
body: Tis sounds overly complicated...

Not sure why you need all those IDtoUpdate and field definition rules... just set the id field right in the url

```
cf_values=id:<my entry id>
```

Also, to lookup for data in existing records please have a look at this demo

<https://wiki.vertuna.com/display/TEST/Form+to+lookup+and+preset+values+from+existing+records>

Alex


Tags: confiforms

confluence-server

server
Unable to acquire JDBC Connection
Asked by anshul.sehgal:

We were getting below exceptions in logs for few days

- \[security.denormalisedpermissions.impl.DenormalisedPermissionStateManagerImpl\] reloadServiceState reloadServiceState failed: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.jav

- runJob Scheduled job confluence.extra.webdav:contentJobQueueExecutor#contentJobQueueExecutorTrigger jobToBeExecuted failed to run org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:476) ... 24 lines omitted ... Caused by: net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection

- onCronEvent Unable to process records: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:476) ... 27 lines omitted ... at java.base/java.lang.Thread.run(Unknown Source) Caused by: net.sf.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection

And after reboot of the server all exceptions have gone away. What can be the reason of these errors going away suddenly. Any pointers will be helpful


Answers:
author: Shawn Doyle - ReleaseTEAM
body: Try going thru this post.

<https://confluence.atlassian.com/confkb/unable-to-start-due-to-net-sf-hibernate-exception-genericjdbcexception-cannot-open-connection-128843899.html>

However, if Confluence is working and you have just noticed these exceptions in the log, it's likely that Confluence was having issues connecting to the database resolved itself.

comments: author: anshul.sehgal
body: Thanks [@Shawn Doyle - ReleaseTEAM](/t5/user/viewprofilepage/user-id/815120) , Our errors existed for almost 10 days and when we reinstalled confluence on new host, it got resolved, so not able to figure out what got changed during that time which resolved the issue.

Note : There are no database changes done.


Tags: cloud
Confiforms: reset value in multi-row
Asked by Bartosz Dro?d?al:

Hi,

How can i reset value in multi-row?  

I have:  
field1 type dropdown  
field2 type text  
field3 type numeric  
field4 type multirow (field2 and field3 inside)  

I want when hasChanged(dropdown) is true to reset values in smart multi-row.  
Can i do this?


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Bartosz Dro?d?al](/t5/user/viewprofilepage/user-id/5339252)

At the moment you cannot set rules on the fields that are inside the smart multi-row.

Rules can be set only on the fields in the current form (with smart muilti-row there is a sub form)

Alex


Tags: confiforms

confluence-server

server
Whiteboard will not allow space admin/Jira proejct admin to add assignee
Asked by Apryl Harris:

hello,

i am a Jira Admin. when i try to create an issue from a whiteboard, the Assignee field populates for me and i can select an Assignee.

i have a user who created a whiteboard. he's trying to create Jira issues from the whiteboard. he's able to populate all the available fields except the Assignee field (no names show up). he is a space admin and a project admin in the project he's trying to create an issue to (the permission scheme has the correct permissions for his role to be able to create issues and add Assignees in Jira).  

anyone know why the user cannot add the Assignee from the Confluence whiteboard?

<br />

thanks Community!


Answers:
author: Ste Wright
body: Hi [@Apryl Harris](/t5/user/viewprofilepage/user-id/4687328)

I know you mentioned it above, but just double-confirming the user has the permissions "Create Issue" and "Assign Issues" in the permission scheme?

If yes, have you asked another user with the appropriate permissions to try this? What happens?

Ste


Tags: cloud

confluence-cloud
Community answers and posts are not visible
Asked by Igor Medeiros - Modus Create:

Good day fellow community

I just realized that my answers to posts disappeared on page reload.

Could anybody assist me or redirect me to the appropriate support channel?

Thanks,  
Igor Medeiros


Answers:
author: Nic Brough -Adaptavist-
body: Do your posts appear in your profile?

If they do, then you'll find they have been moved to "removed", which I think only moderators can do (I think non-mods can move posts to other publicly visible areas, but I've always had lower-level mod privileges, so "move" has always appeared for me)

If they are totally gone, then either a moderator has deleted them, or they have been flagged as spam by a moderator or a robot. (Moderators rarely delete immediately, we tend to move it to removed or spam filter it, and get a second opinion on whether it should be removed. Spam is auto-deleted after spending a month in there)

The spam robots tend to pick up on

* Real junk posts ("ashdaf" type stuff, or verbatim reposts of existing posts), but they can be a bit over-zealous when a post contains logs or code
* Rapid posts - robots posting faster than a human could type the answers
* Repeated posts of similar or identical things on many conversations
* Posts with links to non-Atlassian sites
* Posts that break the rules include
  * Offensive or derogatory language, or personal attacks (rule summary is "be polite" and "be nice")
  * Necroposts
  * Adverts for apps that do not answer the question with much more than "hey, use our app" (bonus points if it does not link to the app entry in the Atlassian marketplace)
  * Generative AI or large language model AI posts (these are considered spam because they're almost all wrong and don't answer the question or contribute anything useful.

Could your posts be matching any of these?

comments: author: Igor Medeiros - Modus Create
body: Hi Nick,

I use to offer our apps to users here, in cases where we are able to assist.

I also redirect our existing clients to our support portal if they raise questions in the Community.

Even the cases where I redirected clients where removed.  

I'll try to reach out to Atlassian team and see if they can assist me with unblocking.


author: Shawn Doyle - ReleaseTEAM
body: I sometimes see a delay in my posts, nothing over a few minutes.

comments: author: Igor Medeiros - Modus Create
body: Hi Shawn,

Thanks for the reply.

In my case, everything is gone, even the answers I sent days ago.


author: Shawn Doyle - ReleaseTEAM
body: This comment seems to be sticking around.

Is there a date range you can guestimate that your posts vanished? Possibly a glitch in the matrix?


Tags: atlassian-support

cloud

community
Comala workflow export/import
Asked by Marko Turic:

Is it possible to transfer Confluence workflows from one instance to another? I would like to transfer the workflows that I have in the test instance to the production instance.

Is it possible to simply export workflows to a file and then import them into production? Or do I have to write everything manually in production?


Answers:
author: Pauline Hennau
body: Hello [@Marko Turic](/t5/user/viewprofilepage/user-id/5365202) ,

You don't need to use an import/export tool. To transfer your Comala workflow it is a pretty simple procedure actually.

1. Copy the Markup code of your Comala workflow

2. Create a new workflow in your production instance

3. Paste the code you previously copied, in replacement of the Markup code of the newly created workflow

NB: you can find the markup editor here (see picture below) in the Comala editing environment

![2023-11-21 11_47_09-Workflow Builder - NSI - Knowledge Base.png](https://community.atlassian.com/t5/image/serverpage/image-id/292961i839CC0BA3D5806E4/image-dimensions/1113x34?v=v2 "2023-11-21 11_47_09-Workflow Builder - NSI - Knowledge Base.png")

comments: author: Marko Turic
body: [@Pauline Hennau](/t5/user/viewprofilepage/user-id/5367114)   

Thank you for your answer!  

My workflows are pretty big and I had 15+ Workflows.  
I was searching for a way to not do copy-paste because I can make mistake and spend hours searching for it.  

But in the end, I did it with copy-paste.


author: Vickie Scarffe
body: Ha! Of course, use the simple technique! Thanks this worked for me too.


author: Marc - Devoteam
body: Hi [@Marko Turic](/t5/user/viewprofilepage/user-id/5365202)

Welcome to the community.

I don't think this is a possibility in the app. The documentation isn't stating any topic on export/import.

So I will say no.

You could reach out the the vendor directly and ask if this is a function or might it be a feature that you can suggest.


Tags: cloud

confluence-cloud
How to make count of Merged Cell as One in Confluence Table
Asked by Anish Shah:

In the confluence table, as we can see, the pivot is based on the total number of rows.

But if I want to bring the stats based on Task POV into the pivot, how can that be done?

i.e.

```
Complete : 2
In Progress: 1
Pending: 1
Total: 4?
```

![2023-11-17 15_03_59-Q3023G Templates - Interact - Tenerity Confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/292434iEE2BCB62953569F1/image-dimensions/424x400?v=v2 "2023-11-17 15_03_59-Q3023G Templates - Interact - Tenerity Confluence.png")


Answers:
author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Anish Shah](/t5/user/viewprofilepage/user-id/3628484),

For this case you need to count the number of unique tasks, so take the [Table Transformer](https://docs.stiltsoft.com/tfac/dc-server/how-to-use-table-transformer-macro-42241552.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro instead of the Pivot Table macro:

![Fri 9-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/292491iA9A381894E600D57/image-size/large?v=v2&px=999 "Fri 9-1.png")

SELECT 'Status',  
COUNT(DISTINCT 'Task') AS 'Number of Unique Tasks'  
FROM T\*  
GROUP BY 'Status'

![Fri 9-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/292492iEBF5FD7E09193A49/image-size/large?v=v2&px=999 "Fri 9-2.png")


Tags: confluence-server

filter

server

table
Site restore process failed
Asked by alanlu alanlu:

I have everyday backup a confluence 8.4.0 site from a place. It was a zip package file. Now I want to restore Nov 16th's backup in my new deployed confluence 8.4.0. I selected the restore site action in the function "Backup \& Restore" and selected my zip package. The entire zip package is 600+M. When the import reaches 99%, it reports an error with the following message: "Site restore process failed with an error: java.lang.RuntimeException: Unable to restore plugin data: ImportExportException while importing plugin data for : com.atlassian.activeobjects.confluence.spi. activeObjectsBackupRestoreProvider".

Is there a way to look it up? and how can I fix this issue? thank you for get your suggestion!  


Answers:
author: Shawn Doyle - ReleaseTEAM
body: Have you looked at the Confluence log files to see if there are more details on the error?

*Site restore process failed with an error: java.lang.RuntimeException: Unable to restore plugin data: ImportExportException while importing plugin data for : com.atlassian.activeobjects.confluence.spi. activeObjectsBackupRestoreProvider*

This is a fairly generic error message you will need to dig a bit to get something a little more helpful. It's basically just telling you that the backup and restore addon failed.

comments: author: alanlu alanlu
body: I checked log file message and got:"There was an error during import/export with \<unknown plugin\>: Error executing update for SQL statement 'ALTER TABLE A0_9412A1_USER_APP_LINK ADD CONSTRAINT fk_ao_9412a1_user_app_link_user_id FOREIGN KEY (USER_ID) REFERENCES A0_9412A1_A0USER?ID?'"?I looked two pulgins were there with purchase and installation unavailable status by default when I installed a confluence 8.4.0, should I uninstall them them do everyday backup and the backup can be imported and restored to new confluence 8.4.0 site


author: Shawn Doyle - ReleaseTEAM
body: I would try that


author: Rilwan Ahmed
body: Hi [@alanlu alanlu](/t5/user/viewprofilepage/user-id/5366848) ,

Welcome to the community !!

If an XML backup is done from one Confluence instance running on one type of database type, and is then imported into another Confluence instance using a different database type, then chances are the import will fail due to incompatible types.

Workaround is in <https://jira.atlassian.com/browse/CONFSERVER-28272>

2. You can't restore a backup into **an** **earlier version** of Confluence.   
For example, if your XML backup was generated from Confluence 8.3, you can't import it into Confluence 7.19.

comments: author: alanlu alanlu
body: 1. my confluence sites is 8.4.0, my databases is 8.0.26, there are same;

2. confluence 8.4.0 backup and import it another confluence 8.4.0,

thx!


Tags: confluence-server

server
confluence
Asked by Ahmed Mamdouh:

confluence stoped and when i was troubleshoot on the problem i found the filed is locked as below  

![WhatsApp Image 2023-11-15 at 7.53.52 PM.jpeg](/t5/image/serverpage/image-id/292424i4AC078D5F8A768C0/image-size/large?v=v2&px=999 "WhatsApp Image 2023-11-15 at 7.53.52 PM.jpeg")


Answers:
author: Shawn Doyle - ReleaseTEAM
body: It appears you have been infected by ransomware.

<https://www.bleepingcomputer.com/forums/t/780618/c3rb3r-conti-v3-based-ransomware-lock3d-letter-o-l0ck3d-zero-0/>

If you have a security team notify them immediately.


author: Rilwan Ahmed
body: Hi [@Ahmed Mamdouh](/t5/user/viewprofilepage/user-id/5366835) ,

Welcome to the community !!

Please ask your security team to reconfirm if you are affected by any malware

Same issue was reported by other users last year   
1. <https://community.atlassian.com/t5/Confluence-questions/Upgrade-fails-with-quot-1-locked-quot/qaq-p/2048149>  
2. <https://community.atlassian.com/t5/Confluence-questions/Upgrade-fails-with-quot-1-locked-quot/qaq-p/2048149>


Tags: confluence-server

server
my page hasn't appeared
Asked by changhong:

Page unavailable {#toc-hId--411494740}
--------------------------------------

Your Atlassian Cloud site is currently unavailable.  

Please check [Atlassian Status](https://status.atlassian.com/) for known problems.  
If there are no known problems and your page hasn't appeared again in 5-10 minutes then please contact our support team.


Answers:
author: Marc - Devoteam
body: Hi [@changhong](/t5/user/viewprofilepage/user-id/5366637)

When is the last time you used your product?

Official Atlassian statement on Free subscriptions

**Inactive Free products will be deactivated**

If *all* the Jira Cloud products on your site are on a Free plan, your Jira Cloud products will be deactivated after 120 days of inactivity. If any Jira Cloud product on your site is on a paid plan, this doesn't apply to that site.

Activity is simply logging in and viewing any page within a Jira product on your site. For example, if you log in and view a dashboard, report, Jira admin screen, or issue, any of those would count as activity. To keep your site active, log in and view something to restart the 120 days.

If you're a site admin, we'll send you emails to let you know if your site is at risk of being deactivated due to inactivity so you can log in and take action to prevent deactivation.


author: Ollie Guan
body: Hi [@changhong](/t5/user/viewprofilepage/user-id/5366637) ,

Free plan or something else?

You can go to My Product List to see if these sites are unsupported.

<https://my.atlassian.com/product>

![QQ??20231117155725.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/292399iA5352095C21A6229/image-size/large?v=v2&px=999 "QQ??20231117155725.jpg")


Tags: cloud

confluence-cloud
Legacy Editor - Lifespan
Asked by Wayne Jolly:

Hi there,

This was asked prior, but no answer given.

[Solved: Legacy editor lifespan (atlassian.com)](https://community.atlassian.com/t5/Confluence-questions/Legacy-editor-lifespan/qaq-p/2278913)

Is there a time limit to when the Legacy Editor is removed? It has been 4 years+ since the new Editor, so concerned that the Legacy Editor will become EoL.

Due to the lost functionality of the old Editor, we still have a mix between old/new, with the bulk created (and creating) from the Legacy Editor,. When some were converted - the lost functionality i'e panel, and the formatting issues i.e section, include page, expand etc - means complete rewrite.

So anything on the foreseeable future in retiring the Legacy Editor.


Answers:
author: Marc - Devoteam
body: HI [@Wayne Jolly](/t5/user/viewprofilepage/user-id/4085695)

I haven't seen or found any EOL on this topic.

But I think the Legacy Editor will stay active until Atlassian decides to stop using DC installations as well ant they only offer cloud.

As currently migration from server or DC will move all pages to Confluence Cloud, but they will use the legacy editor as the on-prem products don't use the new editor.

But don't quote moe on this, I don't work for Atlassian.


Tags: cloud

confluence-cloud
Unable to edit page after Migration to Cloud - error message in Editor
Asked by Julia Nolte - Explorer World of Travel GmbH:

Our company has migrated to Confluence Cloud. I have succesfully updated one page, but am stuck with all other pages - everytime I open the Editor I receive an error reading

*"Beim Laden des Editors ist ein Problem aufgetreten. Ihre ?nderungen gehen nicht verloren. Aktualisieren Sie die Seite und versuchen Sie es dann erneut."*

*(A problem has occurred while loading the editor. Your changes will not be lost. Refresh the page and then try again.)*

However, after refreshing the page and restarting the browser, the same error keeps occuring. I have tried several browsers too. I am no admin, so cannot check any settings, and I work in a completely different time zone to my company - which obviously doesn\`t help with trouble shooting.

All I could find in the forum is restarting the browser - doesn\`t work for me (tried it for two days now).

When I try to make changes despite the error message and save these, another error message pops up telling me that I have to enter a page title - which is clearly on top of the page already and cannot be amended either.

Does anyone have any ideas? (Please keep in mind that I have no solid background knowledge of Code or even Confluence; I am basically self taught - sorry.)

Thanks for any suggestions!


Answers:
author: Shawn Doyle - ReleaseTEAM
body: There could be multiple causes.

Browser issue: Try a different browser. Try using a browser w/o any plugins, like using incognito mode in chrome.

Marketplace addons: disable addons one by one and see if you are able to edit the pages again

Atlassian bug: There have been issues with special characters causing this problem, most have been fixed over time, it's possible you found a new one. If the first two suggestions don't help, then opening a support ticket may be the best route.


Tags: cloud

confluence-cloud
Confiform Display file name
Asked by Barry Smyth:

I have a form which allows a user to attach a file. However, when I look at the record in table view mode (or edit) and when the file is an image file (PNG in this case) it display the image and not the filename.

How do I ensure that the file name is displayed rather that the image itself?

Thanks in advance


Answers:
author: Alex Medved _ConfiForms_
body: Hi

you can transform it through the asAttachment function getting the file name

myfield.asAttachment.fileName

Alex

comments: author: Barry Smyth
body: Can you give me an example of where in the form I would use that?


author: Alex Medved _ConfiForms_
body: In ConfiForms Field macro, field name parameter (as usual :-))


author: Barry Smyth
body: ok, tried that. And updated the table view the same. Both table view and form view show the filename (instead of the actual image). However, when I click on edit (which also uses the form view) the filename is not displayed (no file chosen).


author: Alex Medved _ConfiForms_
body: Well, of course it will say no file chosen, if you have not chosen any in this update


author: Barry Smyth
body: Not sure I follow you.


Tags: cloud

confluence-cloud